diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2023-01-26 14:57:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2023-01-26 15:07:22 +0000 |
commit | 3c563344e98c9ac187d56d2600de0a37b3967373 (patch) | |
tree | dd0cca5884aa3ba2e0126a086ef9dd673dd8b53e /setup-disk.in | |
parent | d1ea67deddf4acc10792d78648571715388063a3 (diff) | |
download | alpine-conf-3c563344e98c9ac187d56d2600de0a37b3967373.zip |
setup-disk: accept any bootfs with BOOTLOADER=none
Dont be picky if we don't install any bootloader. This is useful for
rootfs on virtiofs for example.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10499
Diffstat (limited to 'setup-disk.in')
-rw-r--r-- | setup-disk.in | 2 |
1 files changed, 1 insertions, 1 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 |