pentoo-updater: grub2

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-07-19 14:29:54 -04:00
parent 58d44bcc69
commit 9a2e1261f6
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -91,7 +91,7 @@ update_kernel() {
ln -s "linux-${bestkern}" /usr/src/linux
fi
#then we set genkernel options as needed
genkernelopts="--no-mrproper --disklabel --microcode --compress-initramfs-type=xz --bootloader=grub"
genkernelopts="--no-mrproper --disklabel --microcode --compress-initramfs-type=xz --bootloader=grub2"
if grep -q btrfs /etc/fstab || grep -q btrfs /proc/cmdline; then
genkernelopts="${genkernelopts} --btrfs"
fi