summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-27 20:55:44 +0200
committer Eric Hameleers <alien@slackware.com>2018-06-27 20:55:44 +0200
commitd3093b95531241283889129b6a5e04594b1ead3d (patch)
tree7f39e517fa343f271e225fab745a4daebefee1f1 /make_slackware_live.sh
parentee5b5b8c0983ce07e58cebdbdcba78e1a1859ffa (diff)
downloadliveslak-d3093b95531241283889129b6a5e04594b1ead3d.tar.gz
liveslak-d3093b95531241283889129b6a5e04594b1ead3d.tar.xz
XFCE: keep the ISO size below 700 MB while adding required packages
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 6497cd3..c03de4f 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -460,6 +460,8 @@ function install_pkgs() {
# Remove residual bloat:
rm -rf "${2}"/usr/doc/*/html
rm -f "${2}"/usr/doc/*/*.{html,css,xml,pdf,db,gz,bz2,xz,txt,TXT}
+ # This will remove more bloat but won't touch the license texts:
+ find "${2}"/usr/doc/ -type f -size +50k |xargs rm -f
# Remove info pages:
rm -rf "$2"/usr/info
fi
@@ -482,7 +484,9 @@ function install_pkgs() {
rm -rf "$2"/usr/lib${DIRSUFFIX}/lib{LLVM,clang,lldb}*.a
# 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}
+ rm -f "$2"/usr/bin/{c-index-test,clang-check,clang-import-test,clang-include-fixer,clang-offload-bundler,clang-order-fields,clang-refactor,clang-query,clang-rename,clang-reorder-fields,clang-tidy,clangd,lldb-server,lldb-test}
+ rm -rf "$2"/usr/lib${DIRSUFFIX}/guile/*/ccache/*
+ rm -rf "$2"/usr/share/icons/HighContrast
# Nor these datacenter NIC firmwares and drivers:
rm -rf "$2"/lib/firmware/{bnx*,cxgb4,libertas,liquidio,mellanox,netronome,qed}
rm -rf "$2"/lib/modules/*/kernel/drivers/infiniband