Commit 36f07b2c authored by Natanael Copa's avatar Natanael Copa

setup-disk: simplify grub config generation

remove variable that is not needed
parent cbf0eb9f
......@@ -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
......
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