From: Aurelien Jarno Date: Mon, 28 Aug 2017 08:24:04 +0000 (+0200) Subject: setup-dchroot: only keep 2 old chroots X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=64b5ba2bba3df0f6c7a60af916d28219248ea856;p=mirror%2Fdsa-puppet.git setup-dchroot: only keep 2 old chroots Since the switch to gcc-7 as default compiler, the chroots are much bigger. Only keep the two last ones to save space. Signed-off-by: Aurelien Jarno --- diff --git a/modules/schroot/files/setup-dchroot b/modules/schroot/files/setup-dchroot index dec0e3625..a3187dd5f 100755 --- a/modules/schroot/files/setup-dchroot +++ b/modules/schroot/files/setup-dchroot @@ -395,7 +395,7 @@ cleanup+=("rm -f $tartmp") chmod 0755 "$rootdir" tar caf "$tartmp" . if ! [ -z "$keep" ]; then - savelog -l -c 4 "$target" + savelog -l -c 2 "$target" fi mv "$tartmp" "$target" )