Skip to content

Commit cacc3b7

Browse files
committed
bootable: grub: use the bootable's id for each grub "board"
- otherwise they're all "generic" Signed-off-by: Ricardo Pardini <[email protected]>
1 parent aaed42f commit cacc3b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bash/bootable/grub.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/usr/bin/env bash
22

33
function list_bootable_grub() {
4+
: "${bootable_info['BOOTABLE_ID']:?"bootable_info['BOOTABLE_ID'] is unset"}"
45
declare -g -A bootable_boards=()
5-
bootable_boards["generic"]="NOT=used" # A single, generic "board" for all grub bootables
6+
declare board_name="${bootable_info['BOOTABLE_ID']}-generic"
7+
bootable_boards["${board_name}"]="NOT=used" # A single, generic "board" for all grub bootables
68
}
79

810
function build_bootable_grub() {

0 commit comments

Comments
 (0)