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:
24d5316
)
run apt-get clean in new chroot tarballs
author
Peter Palfrader
<peter@palfrader.org>
Tue, 11 Jun 2013 20:01:46 +0000
(22:01 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 11 Jun 2013 20:01:46 +0000
(22:01 +0200)
modules/porterbox/files/setup-dchroot
patch
|
blob
|
history
diff --git
a/modules/porterbox/files/setup-dchroot
b/modules/porterbox/files/setup-dchroot
index
5050b6c
..
78405ff
100755
(executable)
--- a/
modules/porterbox/files/setup-dchroot
+++ b/
modules/porterbox/files/setup-dchroot
@@
-257,6
+257,7
@@
chmod +x "$rootdir/usr/local/sbin/policy-rc.d"
[ -z "$ubuntu" ] && chroot "$rootdir" apt-get install -y --force-yes --no-install-recommends locales-all
chroot "$rootdir" apt-get install -y --force-yes --no-install-recommends zsh build-essential less vim fakeroot devscripts gdb
rm -f "$rootdir/etc/apt/sources.list" "$rootdir/etc/apt/sources.list.d/*"
+chroot "$rootdir" apt-get clean
umount "$rootdir/sys" || true
tartmp=$(tempfile --directory "$basedir" --suffix=".tar.gz")