Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"