diff options
author | Eric Hameleers <alien@slackware.com> | 2018-03-12 13:29:53 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-03-12 13:29:53 +0100 |
commit | 56c44066b77b2fdc53e7a0e0aa14a4ad1cc7e464 (patch) | |
tree | 494b5240c965d8b2f7fdcaa86f1041ca7d79aba4 | |
parent | 4be3c81a947f4da32dd16ec783bfdc10249508bf (diff) | |
download | liveslak-56c44066b77b2fdc53e7a0e0aa14a4ad1cc7e464.tar.gz liveslak-56c44066b77b2fdc53e7a0e0aa14a4ad1cc7e464.tar.xz |
Remove unneeded firmware files to reduce the XFCE ISO size
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 358f9f9..529328f 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -474,6 +474,10 @@ function install_pkgs() { # And these are not needed for a simple XFCE ISO: 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/modules/*/kernel/drivers/infiniband + rm -rf "$2"/lib/modules/*/kernel/drivers/net/ethernet/{netronome,qlogic} # Get rid of useless documentation: rm -rf "$2"/usr/share/ghostscript/*/doc/ # We don't need tests or examples: |