diff options
author | Daniel Baumann <daniel@debian.org> | 2009-01-11 17:05:30 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:39 +0100 |
commit | 4185bfed45d1ec5bb7bd65536ee1e8ace12539bf (patch) | |
tree | 9c1ada5300ad0d035019b7903acfe973e73de965 /hooks | |
parent | 425d51e38b63e3e55558d95e56518a4a53c01a26 (diff) | |
download | vyos-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')
-rwxr-xr-x | hooks/minimal | 8 | ||||
-rwxr-xr-x | hooks/stripped | 8 |
2 files changed, 0 insertions, 16 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 diff --git a/hooks/stripped b/hooks/stripped index e4811f49a..629c79df8 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 |