From a438dc666f276314b4cb1902daedca0cb5927520 Mon Sep 17 00:00:00 2001 From: fdupoux Date: Sat, 25 Jan 2020 13:56:36 +0000 Subject: [PATCH] Removed static library files in /usr/lib (reduces the ISO image by 27MB) --- airootfs/root/customize_airootfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/airootfs/root/customize_airootfs.sh b/airootfs/root/customize_airootfs.sh index 6140be1..b99ffce 100755 --- a/airootfs/root/customize_airootfs.sh +++ b/airootfs/root/customize_airootfs.sh @@ -46,6 +46,7 @@ ln -s /usr/bin/busybox /usr/bin/strings # Cleanup find /usr/lib -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete +find /usr/lib -type f,l -name '*.a' -delete rm -rf /usr/share/gtk-doc /usr/share/doc /usr/share/keepassxc/docs/*.pdf rm -rf /usr/share/gir* rm -rf /usr/include