Update chroot_build.sh

This commit is contained in:
Marcos Tischer Vallim 2024-09-08 15:16:01 -03:00 committed by GitHub
parent 3d2f41d29d
commit 5465b3633d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 2 deletions

View File

@ -217,8 +217,10 @@ menuentry "Check disc for defects" {
initrd /casper/initrd
}
menuentry "Test memory Memtest86+ (BIOS)" {
linux16 /install/memtest86+
grub_platform
if [ "\$grub_platform" = "efi" ]; then
menuentry 'UEFI Firmware Settings' {
fwsetup
}
menuentry "Test memory Memtest86 (UEFI, long load time)" {
@ -228,6 +230,11 @@ menuentry "Test memory Memtest86 (UEFI, long load time)" {
loopback loop /install/memtest86
chainloader (loop,gpt1)/efi/boot/BOOTX64.efi
}
else
menuentry "Test memory Memtest86+ (BIOS)" {
linux16 /install/memtest86+
}
fi
EOF
# generate manifest