lib/grub2: Support Debian-style grub.cfg path
authorFelix Krull <f_krull@gmx.de>
Wed, 29 Aug 2018 18:23:03 +0000 (20:23 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 4 Sep 2018 20:47:46 +0000 (20:47 +0000)
commit74bdf7e173f2849dd19e8f74ee8596d30b51a320
tree74d9b67ea0927e114b6b834e2609e15e381fa79a
parent630b7864020163757fdcc68cb5ef66b3ad568d48
lib/grub2: Support Debian-style grub.cfg path

Debian and Debian-derived systems have their GRUB configuration file in
/boot/grub/grub.cfg, rather than /boot/grub2/grub.cfg. Detecting this
file is necessary to correctly generate GRUB boot configuration on
Debian systems.

Closes: #1714
Approved by: cgwalters
src/libostree/ostree-bootloader-grub2.c