diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-15 23:31:26 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-15 23:31:26 +0100 |
commit | 817004e151a1c8a70150011ba78bdbd390ecb776 (patch) | |
tree | 333a1aedb5320c86830fcd53c36857ef03b2af9b | |
parent | 0812d532123b5a039b0bf674393f06eb17f72854 (diff) |
roms: don't use x_ to call build_grub_roms
build_grub_roms never returns a non-zero value
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | script/roms | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/roms b/script/roms index e2caacef..57657cad 100755 --- a/script/roms +++ b/script/roms @@ -213,7 +213,7 @@ build_roms() [ "$payload_memtest" != "y" ] || cbfs "$cbrom" "$mt86bin" img/memtest [ "$payload_seabios" = "y" ] && build_seabios_roms - [ "$payload_grub" != "y" ] || x_ build_grub_roms "$cbrom" "grub" + [ "$payload_grub" != "y" ] || build_grub_roms "$cbrom" "grub" [ "$payload_uboot" = "y" ] || return 0 x_ cp "$_cbrom" "$cbrom" build_uboot_roms @@ -224,7 +224,7 @@ build_seabios_roms() if [ "$payload_seabios_withgrub" = "y" ]; then t="$(mktemp -t coreboot_rom.XXXXXXXXXX)" x_ cp "$cbrom" "$t" - x_ build_grub_roms "$t" "seabios_withgrub" + build_grub_roms "$t" "seabios_withgrub" else t="$(mkSeabiosRom "$cbrom" "fallback/payload")" || \ $err "build_seabios_roms: cannot build tmprom" |