commit 544905e2ccc9b5f5a04705c20df7bb607436065e
parent 3234f721bf8b79dd5a5be31f24e36c5d34524836
Author: sin <sin@2f30.org>
Date: Fri, 6 Sep 2013 12:42:24 +0100
Strip all executables by default
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/stage0 b/stage0
@@ -32,6 +32,9 @@ for pkg in $pkglist; do
./build pkgs/$pkg
done
+# Strip all executables
+find $root/bin -executable -type f -exec strip {} \; &>/dev/null
+
pushd $root
find . | cpio --quiet -H newc -o | gzip -9 -n > ../rootfs.img
popd