diff options
author | Richard Yao <ryao@gentoo.org> | 2015-08-15 16:36:48 -0400 |
---|---|---|
committer | Richard Yao <ryao@gentoo.org> | 2015-08-25 18:16:21 -0400 |
commit | 1a15b80c8f987cce08cf588f0fae4ccda5a08374 (patch) | |
tree | acb0c43ba10d494ca16b63b04e882a411bf723d4 /gen_bootloader.sh | |
parent | kernel config parts of bug #557278 fix (diff) | |
download | genkernel-1a15b80c8f987cce08cf588f0fae4ccda5a08374.tar.gz genkernel-1a15b80c8f987cce08cf588f0fae4ccda5a08374.tar.bz2 genkernel-1a15b80c8f987cce08cf588f0fae4ccda5a08374.zip |
Prefer /boot/grub/grub.cfg
Gentoo migrated to /boot/grub/grub.cfg about 18 months ago. Preferring
/boot/grub2/grub.cfg will cause us to update the wrong config file.
Continue supporting the old location should users run old versions
versions.
Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'gen_bootloader.sh')
-rwxr-xr-x | gen_bootloader.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_bootloader.sh b/gen_bootloader.sh index b9ec14d..90c3f9b 100755 --- a/gen_bootloader.sh +++ b/gen_bootloader.sh @@ -34,8 +34,8 @@ set_bootloader_grub_read_device_map() { set_bootloader_grub2() { local GRUB_CONF for candidate in \ - "${BOOTDIR}/grub2/grub.cfg" \ "${BOOTDIR}/grub/grub.cfg" \ + "${BOOTDIR}/grub2/grub.cfg" \ ; do if [[ -e "${candidate}" ]]; then GRUB_CONF=${candidate} |