[augeas-devel] [PATCH] lenses/grub.aug: Add alternate locations for UEFI grub 1 config file.

Richard W.M. Jones rjones at redhat.com
Wed Nov 2 15:01:19 UTC 2016


The path looks like "/boot/efi/EFI/redhat/grub.conf", with "redhat"
substituted for other vendors.
---
 lenses/grub.aug | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lenses/grub.aug b/lenses/grub.aug
index c52d16c..b50a71a 100644
--- a/lenses/grub.aug
+++ b/lenses/grub.aug
@@ -289,5 +289,6 @@ module Grub =
     let filter = incl "/boot/grub/grub.conf"
                . incl "/boot/grub/menu.lst"
                . incl "/etc/grub.conf"
+               . incl "/boot/efi/EFI/*/grub.conf"
 
     let xfm = transform lns filter
-- 
2.7.4




More information about the augeas-devel mailing list