live-build/scripts/build
Lyndon Brown d7883ec32b config: improve BIOS/EFI bootloader selection handling
the design choice from when EFI support was introduced was to change
`--bootloader` to `--bootloaders`, with users specifying their selection
of BIOS and EFI bootloaders together. at this time there were not even any
decent validation checks being performed, and invalid combinations could
cause some chaos.

since then proper validation was put in place, including checking that
only a single instance of each of BIOS and EFI bootloaders exists in the
selection.

here we tweak things such that we stick with the same option, but we split
the selection up such that we store the BIOS and EFI selections separately
within the saved config file, and offer it up to scripts to help simplify
those scripts.

we must however retain support for splitting from the combined option,
both because we still use it in the combined option, and for backwards
compatibility with older saved configs.

Gbp-Dch: Short
2020-05-04 21:40:13 +01:00
..
binary chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
binary_checksums config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
binary_chroot stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_disk disk_info: obey new UTC timestamp control 2020-05-03 23:20:39 +01:00
binary_grub-efi config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_grub-legacy config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_grub-pc config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_hdd config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_includes config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_iso config: fix stale live-build version in iso-preparer 2020-05-03 23:20:39 +01:00
binary_linux-image rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_loadlin rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_loopback_cfg grub2: fix duplicate live entries 2020-05-01 22:02:31 +01:00
binary_manifest config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
binary_memtest rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_netboot config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_onie config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_package-lists rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_rootfs rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_syslinux config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_tar config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_win32-loader rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_zsync config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
bootstrap bootstrap_archives: remove useless param 2020-04-23 09:38:02 +00:00
bootstrap_archives bootstrap_archives: remove useless param 2020-04-23 09:38:02 +00:00
bootstrap_cache adjust action arg consumption order 2020-05-03 01:31:47 +01:00
bootstrap_debootstrap tidy up Echo_breakage() 2020-05-02 13:06:17 +01:00
build extend config validation to all build components 2020-05-04 13:26:19 +01:00
chroot chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
chroot_apt adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_archives archives: output actual error for bad pass param 2020-05-03 01:31:47 +01:00
chroot_cache adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_debianchroot adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_devpts adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_dpkg adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_firmware firmware: robustify and simplify archive area checking 2020-04-23 15:46:43 +02:00
chroot_hacks config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
chroot_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_hostname adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_hosts adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_includes stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_install-packages stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_interactive stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_linux-image stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_package-lists rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
chroot_prep improve stagefiles encapsulation 2020-05-02 14:49:45 +01:00
chroot_preseed stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_proc adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_resolv adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_selinuxfs adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_sysfs adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_sysv-rc adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_tmpfs adjust action arg consumption order 2020-05-03 01:31:47 +01:00
clean get rid of a couple of useless variables 2020-05-04 13:21:12 +01:00
config config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
efi-image amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
grub-cpmodules amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
installer_debian-installer config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
installer_preseed strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
source chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
source_checksums config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
source_debian config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
source_disk disk_info: obey new UTC timestamp control 2020-05-03 23:20:39 +01:00
source_hdd config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
source_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_iso config: fix stale live-build version in iso-preparer 2020-05-03 23:20:39 +01:00
source_live stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_tar config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00