From 28fbb5cd9d12f092f48f0757beba58d4dd6b0baf Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 10:42:27 +0000 Subject: Add Packages list to mirror --- iso/mkiso.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'iso') diff --git a/iso/mkiso.sh b/iso/mkiso.sh index 6fe2914..ed071e6 100755 --- a/iso/mkiso.sh +++ b/iso/mkiso.sh @@ -7,7 +7,7 @@ SYSLINUX_VER=6.04-pre1 TO_MIRROR="file:///var/lib/xib/repo" -XI_ARGS="-yv" +XI_ARGS="-yq" WORKDIR=/tmp/xiiso @@ -50,7 +50,8 @@ agetty_options="--autologin root --noclear" EOF xichroot $chroot rc-update add networkmanager - + [ -d "$chroot/var/lib/xipkg/mirror" ] && rm -rf "$chroot/var/lib/xipkg/mirror" + return 0 } build_initramfs () { @@ -121,8 +122,8 @@ EOF build_iso () { local name=${1:-netinst} - mksquashfs $chroot $isoroot/filesystem.squashfs -noappend -no-progress -e "/proc/*" -e "/dev/*" -e "/sys/*" - xorrisofs -output ${name}.iso \ + mksquashfs $chroot $isoroot/filesystem.squashfs -noappend -no-progress -wildcards -e 'proc/*' 'dev/*' 'sys/*' + xorrisofs -output ${ISO_NAME}-${name}.iso \ -joliet \ -rational-rock \ -sysid LINUX \ -- cgit v1.2.1