Skip to content

Commit

Permalink
gen_bootloader.sh: handle grub2 -multislot as per #591598
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Sep 4, 2016
1 parent 55f3f71 commit fb7249e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_bootloader.sh
Expand Up @@ -50,7 +50,7 @@ set_bootloader_grub2() {

print_info 1 "You can customize Grub2 parameters in /etc/default/grub."
print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..."
grub2-mkconfig -o "${GRUB_CONF}"
grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null || grub-mkconfig -o "${GRUB_CONF}" 2> /dev/null || gen_die "grub-mkconfig failed"
[ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}"
}

Expand Down

0 comments on commit fb7249e

Please sign in to comment.