Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/iso/mkarchiso486
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-02 13:30:12 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-02 13:30:12 +0200
commiteb132d7838edde848733efd99f5a870fa7419e4d (patch)
tree6b57ea5fd5806cd3a0abbd87b04954cd7492d78b /iso/mkarchiso486
parentcccd423817f5dee7e126774cde7db378aad97b1d (diff)
cleaning up unnecessary stuff from ISO
Diffstat (limited to 'iso/mkarchiso486')
-rwxr-xr-xiso/mkarchiso4866
1 files changed, 6 insertions, 0 deletions
diff --git a/iso/mkarchiso486 b/iso/mkarchiso486
index 183de45..e93af06 100755
--- a/iso/mkarchiso486
+++ b/iso/mkarchiso486
@@ -35,6 +35,12 @@ pacstrap -C "$BASE/pacman-i486.conf" -G -M "$ROOTFS" base linux
echo "Cleaning up root filesystem to fit to an ISO.."
rm -rf "$ROOTFS/var/cache/pacman/pkg/"*
+rm -rf "$ROOTFS/usr/include/"
+rm -rf "$ROOTFS/usr/lib/"*.a
+rm -rf "$ROOTFS/usr/share/man/"
+rm -rf "$ROOTFS/usr/share/info/"
+rm -rf "$ROOTFS/usr/share/locale/"
+rm -rf "$ROOTFS/usr/share/i18/locales/"
echo "Patching pacman.conf and mirrorlist on the ISO.."
sed -i 's/^Architecture.*=.*/Architecture = i486/' "$ROOTFS/etc/pacman.conf"