From 06fc92be0dde11a9e6856cf3a411a4cf7113be69 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 29 Sep 2014 13:07:22 +0200 Subject: d-i build: cleanup after pdebuild --- bin/d-i_build.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/d-i_build.sh') 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 -- cgit v1.2.3-54-g00ecf