From c74352c21a8ece4fc5c4e33afb13947b1ff82e44 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 15 Jan 2023 16:03:30 +0000 Subject: Fix mkiso to create bootstrap --- scripts/mkiso.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.1