summaryrefslogtreecommitdiff
path: root/hooks/stripped
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/stripped
parent425d51e38b63e3e55558d95e56518a4a53c01a26 (diff)
downloadlive-build-4185bfed45d1ec5bb7bd65536ee1e8ace12539bf.zip
live-build-4185bfed45d1ec5bb7bd65536ee1e8ace12539bf.tar.gz
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/stripped')
-rwxr-xr-xhooks/stripped8
1 files changed, 0 insertions, 8 deletions
diff --git a/hooks/stripped b/hooks/stripped
index e4811f4..629c79d 100755
--- a/hooks/stripped
+++ b/hooks/stripped
@@ -35,14 +35,6 @@ rm -rf /usr/share/linda/*
rm -rf /usr/share/zoneinfo/*
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