summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-27 12:35:58 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-04-27 12:37:37 +0200
commit5d6574552ff8fdf9623f4c0319097778f8523289 (patch)
tree3009b45ddc91f2ae55bb6ad99d69410471989a5f /functions/defaults.sh
parent10a6e8e5792704ba4b04eada0966bdcb724e9fb5 (diff)
downloadvyos-live-build-5d6574552ff8fdf9623f4c0319097778f8523289.tar.gz
vyos-live-build-5d6574552ff8fdf9623f4c0319097778f8523289.zip
Add support for making ext[234] or btrfs hdd images bootable with extlinux (Closes: #745816)
extlinux configuration for the bootable image is installed to /boot/extlinux, matching the extlinux-install script in Debian. From the configuration point of view it's still called "syslinux", the same as the rest of the syslinux family (pxelinux, isolinux etc.)
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 92f006797..b1c22e2ad 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1061,12 +1061,12 @@ Check_defaults ()
if [ "${LB_BOOTLOADER}" = "syslinux" ]
then
- # syslinux + fat
+ # syslinux + fat or ntfs, or extlinux + ext[234] or btrfs
case "${LB_BINARY_FILESYSTEM}" in
- fat*|ntfs)
+ fat*|ntfs|ext[234]|btrfs)
;;
*)
- Echo_warning "You have selected values of LB_BOOTLOADER and LB_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT and NTFS filesystems."
+ Echo_warning "You have selected values of LB_BOOTLOADER and LB_BINARY_FILESYSTEM which are incompatible - the syslinux family only support FAT, NTFS, ext[234] or btrfs filesystems."
;;
esac
fi