summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-09-04 21:32:03 +0200
committer Eric Hameleers <alien@slackware.com>2018-09-04 21:32:03 +0200
commit0f8b5cc6f83090f8c08b5e54b63956ae330e7eaf (patch)
tree8808854385022e2315da4166dbb5b11234ec860f /make_slackware_live.sh
parentf1049072873fdb3cdb3c42975164695ecb1d9f78 (diff)
downloadliveslak-0f8b5cc6f83090f8c08b5e54b63956ae330e7eaf.tar.gz
liveslak-0f8b5cc6f83090f8c08b5e54b63956ae330e7eaf.tar.xz
XFCE: some more pruning of large files to keep ISO size below 703 MB
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh22
1 files changed, 20 insertions, 2 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index e035c3d..a546069 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -497,10 +497,9 @@ 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-change-namespace,clang-check,clang-func-mapping,clang-import-test,clang-include-fixer,clang-offload-bundler,clang-order-fields,clang-refactor,clang-query,clang-rename,clang-reorder-fields,clang-tidy,clangd,find-all-symbols,lldb-server,lldb-test,modularize}
+ rm -rf "$2"/usr/lib${DIRSUFFIX}/d3d
rm -rf "$2"/usr/lib${DIRSUFFIX}/guile/*/ccache/*
rm -rf "$2"/usr/share/icons/HighContrast
- # Depends on Qt:
- rm -f /usr/bin/wpa_gui /usr/share/applications/wpa_gui.desktop
# 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
@@ -508,6 +507,25 @@ function install_pkgs() {
# Old wireless cards that eat space:
rm -rf "$2"/lib/firmware/mrvl
rm -rf "$2"/lib/modules/*/kernel/drivers/net/wireless/marvell
+ # Mediatek ARM firmware:
+ rm -rf "$2"/lib/firmware/vpu*.bin
+ # Not needed:
+ rm -rf "$2"/boot/System.map*
+ # Depends on Qt:
+ rm -f /usr/bin/wpa_gui /usr/share/applications/wpa_gui.desktop
+ # Replace 3.2 MB splash with a symlink to a 33 kB file:
+ if [ -e "$2"/usr/share/gimp/2.0/images/gimp-splash.png -a ! -L "$2"/usr/share/gimp/2.0/images/gimp-splash.png ]; then
+ rm -rf "$2"/usr/share/gimp/2.0/images/gimp-splash.png
+ ln -sf wilber.png "$2"/usr/share/gimp/2.0/images/gimp-splash.png
+ fi
+ # Replace big watch cursors with simpler ones:
+ if [ -e "$2"/usr/share/icons/Adwaita/cursors/watch -a ! -L "$2"/usr/share/icons/Adwaita/cursors/watch ]; then
+ rm -rf "$2"/usr/share/icons/Adwaita/cursors/{watch,left_ptr_watch}
+ ln -sf left_ptr "$2"/usr/share/icons/Adwaita/cursors/watch
+ ln -sf left_ptr "$2"/usr/share/icons/Adwaita/cursors/left_ptr_watch
+ fi
+ # Remove 9+ MB of brushes:
+ rm -rf "$2"/usr/share/gimp/2.0/brushes/Fun
# Get rid of useless documentation:
rm -rf "$2"/usr/share/ghostscript/*/doc/
# We don't need tests or examples: