update stripping and update rootfs.txt

This commit is contained in:
wt
2024-12-06 00:11:52 +07:00
parent eb538f5ff4
commit 0607b2d222
6 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ dropbear() {
make DESTDIR=$rootfspath install
check $? "Installing to rootfs dropbear"
rm -rv $rootfspath/usr/include $rootfspath/usr/share/man $rootfspath/usr/lib/{pkgconfig,libz.a}
${CROSS_COMPILE}-strip $rootfspath/usr/bin/*
${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/bin/*
mkdir -pv $build/rootfs/etc/dropbear
# check $? "Installing to rootfs zlib"
}