diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-13 06:48:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-13 06:48:54 +0000 |
commit | 36f07b2cc8d50f3cf91bf6fc65651581f9cee4c5 (patch) | |
tree | 10e746ce4465669fa8cbeb44f054a702afb45436 | |
parent | cbf0eb9f7d9fedc513d529a192013436115604cc (diff) | |
download | alpine-conf-36f07b2cc8d50f3cf91bf6fc65651581f9cee4c5.zip |
setup-disk: simplify grub config generation
remove variable that is not needed
-rw-r--r-- | setup-disk.in | 3 |
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 |