diff options
author | Leah Rowe <leah@libreboot.org> | 2024-11-21 18:34:08 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-11-21 18:34:08 +0000 |
commit | eea9fc40975a674c9a0c089a9c5f09598d29a80f (patch) | |
tree | b13bd742ae72057e95e034fa4f03c8be69b6d4a0 /include/rom.sh | |
parent | f312e6026f926450a3d2fff29803c78099e8c3f8 (diff) |
rom.sh: unset displaymode on normal initmode
Otherwise, you get "normal_normal" in the image name.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r-- | include/rom.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rom.sh b/include/rom.sh index c6cb2f5a..db6ce01d 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -94,6 +94,7 @@ mkcorebootbin() $dry x_ cp "$srcdir/build/coreboot.rom" "$tmprom" initmode="${defconfig##*/}"; displaymode="${initmode##*_}" + [ "$displaymode" = "$initmode" ] && displaymode="" # "normal" config initmode="${initmode%%_*}" cbfstool="elf/cbfstool/$tree/cbfstool" |