summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x1_makerootfs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/1_makerootfs.sh b/1_makerootfs.sh
index eb2d365..e9f732c 100755
--- a/1_makerootfs.sh
+++ b/1_makerootfs.sh
@@ -188,6 +188,9 @@ if [ -n "$aptitude_install_custom" ]; then
./chroot.sh temp aptitude install -y --without-recommends $aptitude_install_custom
fi
+# Empty package cache
+./chroot.sh temp aptitude clean
+
# ifupdown temporarily installs a dir, but cannot replace with symlink later due to rad-only rootfs
for context in network resolvconf; do
if [ -d "$targettemp/etc/$context/run" ] && [ ! -L "$targettemp/etc/$context/run" ]; then