diff options
author | davidovski <david@davidovski.xyz> | 2023-01-15 16:03:30 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-01-15 16:03:30 +0000 |
commit | c74352c21a8ece4fc5c4e33afb13947b1ff82e44 (patch) | |
tree | 3558c1f9859bcd3c8c9d7ab3668d8ba29aca3ea3 | |
parent | fe1bbc2dcb3494a2160a1bea094f314da0eb3076 (diff) |
Fix mkiso to create bootstrap
-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 |