Skip to content

Commit

Permalink
Update chroot_build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mvallim authored Sep 8, 2024
1 parent 3d2f41d commit 5465b36
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/chroot_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)" {
Expand All @@ -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
Expand Down

0 comments on commit 5465b36

Please sign in to comment.