aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-04-07 18:54:36 -0700
committerMatt Turner <mattst88@gentoo.org>2020-08-12 14:54:06 -0700
commit0a27a7a39a7d6944618009f8027fb09a22244c34 (patch)
tree167277ffb2bb39f2343fffa0cb36e455947ffb91 /examples
parentstagebase: Extend cleanup logic to more directories (diff)
downloadcatalyst-0a27a7a39a7d6944618009f8027fb09a22244c34.tar.gz
catalyst-0a27a7a39a7d6944618009f8027fb09a22244c34.tar.bz2
catalyst-0a27a7a39a7d6944618009f8027fb09a22244c34.zip
targets: Use GRUB for BIOS boot
grub-mkrescue produces an ISO that is bootable from EFI as well as from the BIOS, so isolinux isn't necessary to accomplish that. The benefits are that (1) we reduce the number of dependencies required to make the ISO, (2) the same GRUB set up works for EFI and BIOS systems, and (3) grub-mkrescue replaces a whole lot of code that we no longer need to maintain. This patch has the side effect of removing the F[2-7] help texts and the memtest86+ option, since those were done via isolinux. I feel okay removing those since isolinux was only used on BIOS systems and not on EFI, so none of those things were available to the vast majority of our users. It also has the side-effect of removing Fedora's signed UEFI shim (sys-boot/shim) which could be used to add a hash for the live CD's grub binary so that you could install under Secure Boot. That doesn't offer any protection, and the author of the code indicated to me that the value in offering this feature is that it allows installation on systems with broken firmware under which important hardware (like the NVMe drive) isn't exposed unless using Secure Boot. After quite a bit of searching the internet, I can't find any mentions of this being a problem. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/livecd-stage2_template.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/livecd-stage2_template.spec b/examples/livecd-stage2_template.spec
index a296cfa1..56bda84a 100644
--- a/examples/livecd-stage2_template.spec
+++ b/examples/livecd-stage2_template.spec
@@ -94,10 +94,9 @@ livecd/fstype:
livecd/fsops:
# The cdtar is essentially the bootloader for the CD. It also holds the main
-# configuration for the bootloader. On x86/amd64, it also can include a small
-# memory testing application, called memtest86+.
+# configuration for the bootloader.
# example:
-# livecd/cdtar: /usr/share/catalyst/livecd/cdtar/isolinux-2.13-memtest86+-cdtar.tar.bz2
+# livecd/cdtar: /usr/share/catalyst/livecd/cdtar/[...].cdtar.tar.bz2
livecd/cdtar:
# This is the full path and filename to the ISO image that the livecd-stage2