diff options
author | davidovski <david@davidovski.xyz> | 2023-02-02 10:42:27 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-02-02 10:42:27 +0000 |
commit | 28fbb5cd9d12f092f48f0757beba58d4dd6b0baf (patch) | |
tree | 4c82235d3d123779b364f1532159fc112f63aa81 /iso | |
parent | b91c09c1221f10214db638660b1eda60438354c3 (diff) |
Diffstat (limited to 'iso')
-rwxr-xr-x | iso/mkiso.sh | 9 |
1 files changed, 5 insertions, 4 deletions
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 \ |