commit edf232c412167a5151105f645a76d6dfc24a1a16
parent ebae2ac6944a6fa61934d066b1a56e650a0862bf
Author: sin <sin@2f30.org>
Date: Mon, 19 Aug 2013 18:18:05 +0100
Strip binaries
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/suckless-initramfs b/suckless-initramfs
@@ -23,6 +23,7 @@ cd -
tar xzf mksh-R47.tgz
cd mksh
CC=musl-gcc LDFLAGS+=-static CPPFLAGS+=-DMKSH_NOPWNAM sh Build.sh
+strip mksh
cd -
# Create dir hierarchy
@@ -37,9 +38,11 @@ echo 'root:x:0:root' > initramfs/etc/group
# Install sbase + ubase + mksh
for i in $(find sbase/ -not -iwholename "*.git*" -perm 755); do
+ strip "$i"
cp "$i" initramfs/bin
done
for i in $(find ubase/ -not -iwholename "*.git*" -perm 755); do
+ strip "$i"
cp "$i" initramfs/bin
done
cp mksh/mksh initramfs/bin/mksh