summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-06 09:11:39 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-06 09:11:39 +0100
commit12774274782f461523593c2bfd99c914e949efd3 (patch)
tree6960ea0572c44775a44f5f62eea372647d3a54be
parent8511615e1faba426be9df3857f34992e6024d8c1 (diff)
use correct memtest86plus path in script/roms
the previous change makes memtest.bin get cached in elf/ but the path was being prefixed with src/ by script/roms do away with the prefix Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xscript/roms4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/roms b/script/roms
index edf49e15..f6c322e1 100755
--- a/script/roms
+++ b/script/roms
@@ -215,7 +215,7 @@ build_payloads()
[ -f "$cbfstool" ] || x_ ./update trees -b coreboot utils $tree
mt86bin="elf/memtest86plus/memtest.bin"
- [ "$payload_memtest" != "y" ] || [ -f "src/$mt86bin" ] || \
+ [ "$payload_memtest" != "y" ] || [ -f "$mt86bin" ] || \
x_ ./update trees -b memtest86plus
[ "$payload_seabios" = "y" ] && x_ ./update trees -b seabios
@@ -283,7 +283,7 @@ build_roms()
x_ cp "$_cbrom" "$cbrom"
[ "$payload_memtest" != "y" ] || x_ "$cbfstool" "$cbrom" add-payload \
- -f "src/$mt86bin" -n img/memtest -c lzma
+ -f "$mt86bin" -n img/memtest -c lzma
[ "$payload_seabios" = "y" ] && build_seabios_roms
[ "$payload_grub" != "y" ] || x_ build_grub_roms "$cbrom" "grub"
[ "$payload_uboot" = "y" ] || return 0