diff options
Diffstat (limited to 'scripts/mkiso.sh')
-rwxr-xr-x | scripts/mkiso.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/mkiso.sh b/scripts/mkiso.sh index cc1d4ec..264b802 100755 --- a/scripts/mkiso.sh +++ b/scripts/mkiso.sh @@ -12,10 +12,8 @@ isoroot=/tmp/iso iso_pkgs="linux linux-firmware base dracut grub bash xipkg squashfs-tools lvm2 cryptsetup networkmanager stty" create_basesystem () { - mkdir -p "$chroot" - xi $XI_ARGS sync - [ ! -d "$chroot" ] && xi -r "$chroot" bootstrap + xi $XI_ARGS -r "$chroot" bootstrap xi $XI_ARGS -r "$chroot" install "$iso_pkgs" cat > $chroot/etc/resolv.conf << EOF |