diff options
-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: |