diff options
author | Eric Hameleers <alien@slackware.com> | 2018-03-15 21:22:38 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-03-15 21:22:38 +0100 |
commit | 88a5bf94c6c23bd80d8952cf64e4224f8d398f1e (patch) | |
tree | 9bc5fb7e6319b263d3696acebb8a979feda9d120 | |
parent | 724b166c98bc5a9036319702d2a2217f7edf21e1 (diff) | |
download | liveslak-88a5bf94c6c23bd80d8952cf64e4224f8d398f1e.tar.gz liveslak-88a5bf94c6c23bd80d8952cf64e4224f8d398f1e.tar.xz |
XFCE: more tricks to reduce ISO size.
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index b6b0acf..40d1ae9 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -475,9 +475,12 @@ function install_pkgs() { rm -rf "$2"/usr/lib${DIRSUFFIX}/clang/*/lib/linux/*.a{,.syms} rm -f "$2"/usr/bin/{c-index-test,clang-check,clang-import-test,clang-include-fixer,clang-offload-bundler,clang-order-fields,clang-query,clang-rename,clang-tidy} # Nor these datacenter NIC firmwares and drivers: - rm -rf "$2"/lib/firmware/{liquidio,netronome,qed} + rm -rf "$2"/lib/firmware/{bnx*,cxgb4,libertas,liquidio,mellanox,netronome,qed} rm -rf "$2"/lib/modules/*/kernel/drivers/infiniband - rm -rf "$2"/lib/modules/*/kernel/drivers/net/ethernet/{netronome,qlogic} + rm -rf "$2"/lib/modules/*/kernel/drivers/net/ethernet/{broadcom/bnx*,chelsio,mellanox,netronome,qlogic} + # Old wireless cards that eat space: + rm -rf "$2"/lib/firmware/mrvl + rm -rf "$2"/lib/modules/*/kernel/drivers/net/wireless/marvell # Get rid of useless documentation: rm -rf "$2"/usr/share/ghostscript/*/doc/ # We don't need tests or examples: |