]> TLD Linux GIT Repositories - packages/grub2.git/blob - tld-sysconfdir.patch
- updated for 2.02-beta3
[packages/grub2.git] / tld-sysconfdir.patch
1 diff -ur grub-2.02-beta3.orig/util/grub.d/README grub-2.02-beta3/util/grub.d/README
2 --- grub-2.02-beta3.orig/util/grub.d/README     2016-02-28 02:07:41.000000000 +0000
3 +++ grub-2.02-beta3/util/grub.d/README  2016-03-21 07:42:22.370768000 +0000
4 @@ -8,4 +8,4 @@
5  The number namespace in-between is configurable by system installer and/or
6  administrator.  For example, you can add an entry to boot another OS as
7  01_otheros, 11_otheros, etc, depending on the position you want it to occupy in
8 -the menu; and then adjust the default setting via /etc/default/grub.
9 +the menu; and then adjust the default setting via /etc/sysconfig/grub.
10 diff -ur grub-2.02-beta3.orig/util/grub-mkconfig.in grub-2.02-beta3/util/grub-mkconfig.in
11 --- grub-2.02-beta3.orig/util/grub-mkconfig.in  2016-02-28 02:07:41.000000000 +0000
12 +++ grub-2.02-beta3/util/grub-mkconfig.in       2016-03-21 07:42:22.369768000 +0000
13 @@ -147,8 +147,8 @@
14      GRUB_FS="$(stat -f --printf=%T / || echo unknown)"
15  fi
16  
17 -if test -f ${sysconfdir}/default/grub ; then
18 -  . ${sysconfdir}/default/grub
19 +if test -f ${sysconfdir}/sysconfig/grub ; then
20 +  . ${sysconfdir}/sysconfig/grub
21  fi
22  
23  # XXX: should this be deprecated at some point?
24 @@ -243,7 +243,7 @@
25  # DO NOT EDIT THIS FILE
26  #
27  # It is automatically generated by $self using templates
28 -# from ${grub_mkconfig_dir} and settings from ${sysconfdir}/default/grub
29 +# from ${grub_mkconfig_dir} and settings from ${sysconfdir}/sysconfig/grub
30  #
31  EOF
32  
33 @@ -269,7 +269,7 @@
34    if ! ${grub_script_check} ${grub_cfg}.new; then
35      # TRANSLATORS: %s is replaced by filename
36      gettext_printf "Syntax errors are detected in generated GRUB config file.
37 -Ensure that there are no errors in /etc/default/grub
38 +Ensure that there are no errors in /etc/sysconfig/grub
39  and /etc/grub.d/* files or please file a bug report with
40  %s file attached." "${grub_cfg}.new" >&2
41      echo >&2