mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
roms: remind the user about gkb files
nowadays, we don't insert GRUB keymaps automatically, for sake of efficiency; without one, the default is US QWERTY. a user will only want one keymap in particular, so this is more efficient. in practise, they're either building from source anyway, or using the inject scripts which compile cbfstool anyway, so the user will already have cbfstool. also output this message from the inject script. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -7,6 +7,8 @@ export LC_COLLATE=C
|
||||
export LC_ALL=C
|
||||
|
||||
_ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
|
||||
kbnotice="Insert a .gkb file from config/data/grub/keymap/ as keymap.gkb \
|
||||
if you want a custom keymap in GRUB; use cbfstool from elf/cbfstool."
|
||||
|
||||
tmpdir_was_set="y"
|
||||
cbdir="src/coreboot/default"
|
||||
|
||||
+2
-1
@@ -261,7 +261,8 @@ vendor_inject()
|
||||
inject_vendorfiles
|
||||
[ "$nukemode" = "nuke" ] && return 0
|
||||
printf "Friendly reminder (this is *not* an error message):\n"
|
||||
printf "Please ensure that the files were inserted correctly.\n"
|
||||
printf "Please ensure that the files were inserted correctly. ALSO:\n"
|
||||
printf "%s\n" "$kbnotice"
|
||||
}
|
||||
|
||||
check_board()
|
||||
|
||||
+3
-2
@@ -43,9 +43,10 @@ main()
|
||||
&& targets="$targets, $x"; continue
|
||||
done
|
||||
|
||||
[ -z "$targets" ] && $err "No ROM images were compiled"
|
||||
# [ -z "$targets" ] && $err "No ROM images were compiled"
|
||||
printf "Check these ROM directories in bin/: %s\n" "${targets#, }"
|
||||
printf "DO NOT flash images from elf/ - please use bin/ instead.\n"
|
||||
printf "DO NOT flash images from elf/ - use bin/ instead. ALSO:\n"
|
||||
printf "%s\n" "$kbnotice"
|
||||
}
|
||||
|
||||
mkserprog()
|
||||
|
||||
Reference in New Issue
Block a user