diff options
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 \ |