Commit 6755c1ab authored by Louis's avatar Louis Committed by Natanael Copa

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
......@@ -165,7 +165,7 @@ build_grub_cfg() {
grub_gen_earlyconf() {
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
EOF
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment