]> git.pld-linux.org Git - packages/grub2.git/blame - pld-sysconfdir.patch
EFI support added
[packages/grub2.git] / pld-sysconfdir.patch
CommitLineData
7615a862
JK
1diff -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 @@
b46589aa 5 # choosing Hurd filesystem module.
7615a862 6 GRUB_FS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2> /dev/null || echo unknown`"
b46589aa
ER
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?
7615a862 15@@ -232,7 +232,7 @@
b46589aa
ER
16 # DO NOT EDIT THIS FILE
17 #
e9d73181 18 # It is automatically generated by $self using templates
b46589aa
ER
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
7615a862 24@@ -257,7 +257,7 @@
e9d73181 25 if ! ${grub_script_check} ${grub_cfg}.new; then
7615a862
JK
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
e9d73181 32 else
7615a862
JK
33diff -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
04254291
ER
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.
This page took 0.030127 seconds and 4 git commands to generate.