Update cleanup_rootfs.sh

This commit is contained in:
wt committed 2026-02-26 13:43:41 +07:00
1 parent 446ae02775
commit 5da3185a36
1 file changed
+3
+3
View File
@@ -13,6 +13,9 @@ cleanup_rootfs() {
rm -rv $rootfspath/usr/include
rm -rv $rootfspath/usr/share/man
rm -rv $rootfspath/usr/lib/pkgconfig
rm -rv $rootfspath/usr/share/doc
rm -rv $rootfspath/usr/share/info
rm -rv $rootfspath/usr/share/bash-completion
fi
STRIP_FILES=$(file --mime-type $(find $rootfspath -type f) | grep "application/x-executable\|application/x-sharedlib\|application/x-pie-executable" | sed 's/:.*$//')
# echo $STRIP_FILES