From eb132d7838edde848733efd99f5a870fa7419e4d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 2 Oct 2022 13:30:12 +0200 Subject: cleaning up unnecessary stuff from ISO --- iso/mkarchiso486 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'iso') 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" -- cgit v1.2.3-70-g09d2