Merge branch 'cleanup-gcclibs' into 'master'

Remove large gcc-libs libraries (libgphobos and libgfortran)

See merge request fdupoux/sysresccd-src!56
This commit is contained in:
Francois Dupoux 2020-07-04 13:11:41 +00:00
commit 063f25da02

View file

@ -50,7 +50,7 @@ ln -sf /usr/bin/busybox /usr/local/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/lib/libgo.*
rm -rf /usr/lib/{libgo.*,libgphobos.*,libgfortran.*}
rm -rf /usr/share/gtk-doc /usr/share/doc /usr/share/keepassxc/docs/*.pdf
rm -rf /usr/share/keepassxc/translations
rm -rf /usr/share/gir*