]> TLD Linux GIT Repositories - packages/grub2.git/blob - tld-sysconfdir.patch
- dracut is only option now, no point to search for old initrds
[packages/grub2.git] / tld-sysconfdir.patch
1 diff -dur grub-2.00.orig/util/grub-mkconfig.in grub-2.00/util/grub-mkconfig.in
2 --- grub-2.00.orig/util/grub-mkconfig.in        2012-04-05 19:41:07.000000000 +0200
3 +++ grub-2.00/util/grub-mkconfig.in     2012-10-27 14:53:33.483981202 +0200
4 @@ -140,8 +140,8 @@
5  # choosing Hurd filesystem module.
6  GRUB_FS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2> /dev/null || echo unknown`"
7  
8 -if test -f ${sysconfdir}/default/grub ; then
9 -  . ${sysconfdir}/default/grub
10 +if test -f ${sysconfdir}/sysconfig/grub ; then
11 +  . ${sysconfdir}/sysconfig/grub
12  fi
13  
14  # XXX: should this be deprecated at some point?
15 @@ -232,7 +232,7 @@
16  # DO NOT EDIT THIS FILE
17  #
18  # It is automatically generated by $self using templates
19 -# from ${grub_mkconfig_dir} and settings from ${sysconfdir}/default/grub
20 +# from ${grub_mkconfig_dir} and settings from ${sysconfdir}/sysconfig/grub
21  #
22  EOF
23  
24 @@ -257,7 +257,7 @@
25    if ! ${grub_script_check} ${grub_cfg}.new; then
26      # TRANSLATORS: %s is replaced by filename
27      gettext_printf "Syntax errors are detected in generated GRUB config file.
28 -Ensure that there are no errors in /etc/default/grub
29 +Ensure that there are no errors in /etc/sysconfig/grub
30  and /etc/grub.d/* files or please file a bug report with
31  %s file attached." "${grub_cfg}.new" >&2
32    else
33 diff -dur grub-2.00.orig/util/grub.d/README grub-2.00/util/grub.d/README
34 --- grub-2.00.orig/util/grub.d/README   2010-12-01 15:45:43.000000000 +0100
35 +++ grub-2.00/util/grub.d/README        2012-10-27 14:52:54.046709588 +0200
36 @@ -8,4 +8,4 @@
37  The number namespace in-between is configurable by system installer and/or
38  administrator.  For example, you can add an entry to boot another OS as
39  01_otheros, 11_otheros, etc, depending on the position you want it to occupy in
40 -the menu; and then adjust the default setting via /etc/default/grub.
41 +the menu; and then adjust the default setting via /etc/sysconfig/grub.