diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-29 13:07:22 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-29 13:07:22 +0200 |
commit | 06fc92be0dde11a9e6856cf3a411a4cf7113be69 (patch) | |
tree | eb08d901265f467e3ee74da31cf74c30877657b8 | |
parent | bc4ceab175028a11b21e378e77bd15eab5573c46 (diff) | |
download | jenkins.debian.net-06fc92be0dde11a9e6856cf3a411a4cf7113be69.tar.xz |
d-i build: cleanup after pdebuild
-rwxr-xr-x | bin/d-i_build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index 8685f8f5..692faa1f 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -56,6 +56,8 @@ pdebuild_package() { # NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" + SOURCE=$(grep "^Source: " debian/control |cut -d " " -f2) + sudo dcmd rm /var/cache/pbuilder/result/${SOURCE}_*changes } init_workspace |