diff options
-rw-r--r-- | setup-disk.in | 2 | ||||
-rwxr-xr-x | tests/setup_disk_test | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/setup-disk.in b/setup-disk.in index 90c9c2d..9258df2 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -539,7 +539,7 @@ install_mounted_root() { mnt_boot="$mnt"/boot fi boot_fs=$(find_mount_fs "$mnt_boot") - if ! supported_boot_fs "$boot_fs"; then + if [ "$BOOTLOADER" != none ] && ! supported_boot_fs "$boot_fs"; then [ -z "$FORCE_BOOTFS" ] && return 1 echo "Continuing at your own risk." fi diff --git a/tests/setup_disk_test b/tests/setup_disk_test index 0331700..7418c89 100755 --- a/tests/setup_disk_test +++ b/tests/setup_disk_test @@ -292,8 +292,7 @@ setup_disk_install_mounted_root_bootloader_none_body() { mkdir -p target/boot \ sys/firmware/efi - fake_mount "/dev/vda2 $PWD/target ext4 rw,noatime,data=ordered 0 0" - fake_mount "/dev/vda1 $PWD/target/boot vfat rw,relatime,fmask=0022 0 0" + fake_mount "/dev/vda2 $PWD/target virtiofs rw,noatime,data=ordered 0 0" BOOTLOADER=none atf_check -s exit:0 \ -o not-match:"grub" \ |