projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3713a6a
)
setup-dchroot: only keep 2 old chroots
author
Aurelien Jarno
<aurelien@aurel32.net>
Mon, 28 Aug 2017 08:24:04 +0000
(10:24 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Mon, 28 Aug 2017 08:25:14 +0000
(10:25 +0200)
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 <aurelien@aurel32.net>
modules/schroot/files/setup-dchroot
patch
|
blob
|
history
diff --git
a/modules/schroot/files/setup-dchroot
b/modules/schroot/files/setup-dchroot
index
dec0e36
..
a3187dd
100755
(executable)
--- 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"
)