summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-25 14:50:38 +0100
committerDaniel Baumann <daniel@debian.org>2010-11-25 14:50:38 +0100
commit886c51b83be30e829671e01d6345ffb0d952e1bf (patch)
tree18d946053b8a00dc4682431ead12e44e0dd49395
parentb30003aa558cab6052fd46b2ea813cee1d38f452 (diff)
downloadvyos-live-build-886c51b83be30e829671e01d6345ffb0d952e1bf.tar.gz
vyos-live-build-886c51b83be30e829671e01d6345ffb0d952e1bf.zip
Adding warning about non-usefullnes of the stripped hook.
-rwxr-xr-xhooks/stripped9
1 files changed, 9 insertions, 0 deletions
diff --git a/hooks/stripped b/hooks/stripped
index ac895da45..154e7be86 100755
--- a/hooks/stripped
+++ b/hooks/stripped
@@ -10,6 +10,15 @@
set -e
+# WARNING: Using this hook will result in a stripped system, means,
+# it may very well be possible that other packages are depending
+# on certain files that get removed here.
+# Therefore, this hooks is merely an inspiration for what could be
+# removed and not a generic nor recommendet solution to get the
+# image filesize down. In any event, using this hook can lead to
+# unforseen bugs and breakages in other packages and you should
+# be prepared to find and fix it for your own images.
+
# Removing unused packages
for PACKAGE in apt-utils aptitude man-db manpages info wget dselect
do