summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-25 14:50:38 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:36 +0100
commit32590cfdc7c6f81bc5349a812c6ef68c2dc7b4ea (patch)
tree18d946053b8a00dc4682431ead12e44e0dd49395
parent3ac5181486e58afc830bccfe35fc91a8a0a3960e (diff)
downloadvyos-live-build-32590cfdc7c6f81bc5349a812c6ef68c2dc7b4ea.tar.gz
vyos-live-build-32590cfdc7c6f81bc5349a812c6ef68c2dc7b4ea.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