From 5ef183d2f2c1ec1faac1e55ed1c9061c48e74d20 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 14 Oct 2014 11:04:13 +0200 Subject: d-i: cleanup after manual pdbuild --- bin/d-i_manual.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/d-i_manual.sh') diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh index 47680f85..ab1c895c 100755 --- a/bin/d-i_manual.sh +++ b/bin/d-i_manual.sh @@ -34,6 +34,9 @@ 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 cd .. } -- cgit v1.2.3-70-g09d2