]> git.pld-linux.org Git - packages/grub2.git/blame - pld-sysconfdir.patch
up to 2.12
[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 @@
41468086
JP
5 GRUB_EARLY_INITRD_LINUX_STOCK="intel-uc.img intel-ucode.img amd-uc.img amd-ucode.img early_ucode.cpio microcode.cpio"
6 fi
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
41468086 14 if [ "x${GRUB_DISABLE_UUID}" = "xtrue" ]; then
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
41468086 32 echo >&2
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.198064 seconds and 4 git commands to generate.