diff options
Diffstat (limited to 'bin/d-i_manual.sh')
-rwxr-xr-x | bin/d-i_manual.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh index fa014e50..6c9c7e22 100755 --- a/bin/d-i_manual.sh +++ b/bin/d-i_manual.sh @@ -21,6 +21,10 @@ init_workspace() { pdebuild_package() { # + # only used to build the installation-guide package + # + SOURCE=installation-guide + # # prepare build # if [ -f /var/cache/pbuilder/base.tgz ] ; then @@ -35,9 +39,12 @@ pdebuild_package() { cd manual NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" - # cleanup - SOURCE=$(grep "^Source: " debian/control |cut -d " " -f2) - sudo dcmd rm /var/cache/pbuilder/result/${SOURCE}_*changes + # + # publish and cleanup + # + CHANGES=$(ls /var/cache/pbuilder/result/${SOURCE}_*changes) + publish_changes_to_userContent $CHANGES debian-boot "svn-r$SVN_REVISION" + sudo dcmd rm $CHANGES cd .. } |