diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index 6dfd9db8a9864e28769c1f607b35e0b90389ec48..f6cad827747c506b475f17936ad49312d40673d2 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
 }