Skip to content
Snippets Groups Projects
Commit 6755c1ab authored by Louis's avatar Louis Committed by Natanael Copa
Browse files

scripts/mkimg.base.sh: Fix label to search (grub)

Alpine ISO are labelled with ${profile_abbrev:-$PROFILE} but grub was only
searching for $PROFILE when booting and failed to its rescue shell.
parent c8ea0823
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ build_grub_cfg() { ...@@ -165,7 +165,7 @@ build_grub_cfg() {
grub_gen_earlyconf() { grub_gen_earlyconf() {
cat <<- EOF cat <<- EOF
search --no-floppy --set=root --label "alpine-$PROFILE $RELEASE $ARCH" search --no-floppy --set=root --label "alpine-${profile_abbrev:-$PROFILE} $RELEASE $ARCH"
set prefix=(\$root)/boot/grub set prefix=(\$root)/boot/grub
EOF EOF
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment