aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.base.sh
diff options
context:
space:
mode:
authorLouis <louis@losynix.net>2018-09-28 13:52:12 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-10-04 06:16:09 +0000
commit6755c1ab2f4a2bc5841d61a28bc6a98cee149713 (patch)
tree2eb1cd906622eaa5c934a359cfa2dfdade3b2472 /scripts/mkimg.base.sh
parentc8ea082360e18e1c838126462fa1f4030ad5740b (diff)
downloadaports-6755c1ab2f4a2bc5841d61a28bc6a98cee149713.tar.bz2
aports-6755c1ab2f4a2bc5841d61a28bc6a98cee149713.tar.xz
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.
Diffstat (limited to 'scripts/mkimg.base.sh')
-rwxr-xr-xscripts/mkimg.base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index 6dfd9db8a9..f6cad82774 100755
--- a/scripts/mkimg.base.sh
+++ b/scripts/mkimg.base.sh
@@ -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
}