summaryrefslogtreecommitdiff
path: root/resources/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-xresources/scripts/build/boot/roms_helper8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index 77cc9f15..a4d5ff32 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -347,6 +347,14 @@ make_grubrom_from_keymap() {
"${cbfstool_path}" "${tmprom}" add -f "${grubcfg}" -n grub.cfg -t raw
"${cbfstool_path}" "${tmprom}" add -f "${grubtestcfg}" -n grubtest.cfg -t raw
+ backgroundfile="background1280x800.png"
+ if [ "${board}" = "x60" ] || [ "${board}" = "t60_intelgpu" ]; then
+ # TODO: don't hardcode this check. do it in board.cfg per board
+ backgroundfile="background1024x768.png"
+ fi
+ backgroundfile="resources/grub/background/${backgroundfile}"
+ "${cbfstool_path}" "${tmprom}" add -f ${backgroundfile} -n background.png -t raw
+
printf "%s\n" "${tmprom}"
}