summaryrefslogtreecommitdiff
path: root/hooks/minimal
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-11 17:05:30 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:39 +0100
commit4185bfed45d1ec5bb7bd65536ee1e8ace12539bf (patch)
tree9c1ada5300ad0d035019b7903acfe973e73de965 /hooks/minimal
parent425d51e38b63e3e55558d95e56518a4a53c01a26 (diff)
downloadvyos-live-build-4185bfed45d1ec5bb7bd65536ee1e8ace12539bf.tar.gz
vyos-live-build-4185bfed45d1ec5bb7bd65536ee1e8ace12539bf.zip
Moving removal of apt packages lists from minimal and stripped hook to lh_chroot_sources, thanks to Ben Armstrong <synrg@debian.org>.
Diffstat (limited to 'hooks/minimal')
-rwxr-xr-xhooks/minimal8
1 files changed, 0 insertions, 8 deletions
diff --git a/hooks/minimal b/hooks/minimal
index ff02ddc37..2562ef246 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -25,14 +25,6 @@ find . -name *~ -print0 | xargs -0 rm -f
rm -rf /var/cache/man/*
-# Cleaning apt lists
-rm -rf /var/lib/apt/lists
-mkdir -p /var/lib/apt/lists/partial
-
-# Cleaning apt cache
-rm -rf /var/cache/apt
-mkdir -p /var/cache/apt/archives/partial
-
# Truncating logs
for FILE in $(find /var/log/ -type f)
do