summaryrefslogtreecommitdiff
path: root/scripts/mkiso.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-01-15 16:03:30 +0000
committerdavidovski <david@davidovski.xyz>2023-01-15 16:03:30 +0000
commitc74352c21a8ece4fc5c4e33afb13947b1ff82e44 (patch)
tree3558c1f9859bcd3c8c9d7ab3668d8ba29aca3ea3 /scripts/mkiso.sh
parentfe1bbc2dcb3494a2160a1bea094f314da0eb3076 (diff)
Fix mkiso to create bootstrap
Diffstat (limited to 'scripts/mkiso.sh')
-rwxr-xr-xscripts/mkiso.sh4
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