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:17:29 +0100
commitc588c0fcbedde2ba43b41480bb16b8d3ed488b78 (patch)
tree2692d9e33040477982a582940be9f06245deab16
parent1459914e2f8675d2ebec4875cb702a097f6887fe (diff)
downloadvyos-live-build-c588c0fcbedde2ba43b41480bb16b8d3ed488b78.tar.gz
vyos-live-build-c588c0fcbedde2ba43b41480bb16b8d3ed488b78.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