summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-disk.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 9731254..a5c0553 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -307,14 +307,13 @@ setup_grub() {
fi
# setup GRUB config
- local kernel=vmlinuz-$KERNEL_FLAVOR
# all_video is needed to remove the video error on boot
cat > "$mnt"/boot/grub/grub.cfg <<- EOF
set timeout=2
insmod all_video
menuentry "Alpine Linux" {
- linux /boot/$kernel modules=$modules root=$root $kernel_opts
+ linux /boot/vmlinuz-$KERNEL_FLAVOR modules=$modules root=$root $kernel_opts
initrd /boot/initramfs-$KERNEL_FLAVOR
}
EOF