diff --git a/scripts/cleanup_rootfs.sh b/scripts/cleanup_rootfs.sh index 16a5ab6..388dd04 100755 --- a/scripts/cleanup_rootfs.sh +++ b/scripts/cleanup_rootfs.sh @@ -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