Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 271117 Details for
Bug 364763
sys-boot/grub-1.99_rc1: add conf.d style configuration
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to modify conf path
grub-1.99-conf.d.patch (text/plain), 5.38 KB, created by
Guillaume ZITTA
on 2011-04-25 09:34:39 UTC
(
hide
)
Description:
patch to modify conf path
Filename:
MIME Type:
Creator:
Guillaume ZITTA
Created:
2011-04-25 09:34:39 UTC
Size:
5.38 KB
patch
obsolete
>diff -ru grub-1.99~rc1/docs/grub.info grub-1.99~rc1.new/docs/grub.info >--- grub-1.99~rc1/docs/grub.info 2011-01-16 11:27:20.000000000 +0100 >+++ grub-1.99~rc1.new/docs/grub.info 2011-04-25 10:25:37.744728485 +0200 >@@ -948,7 +948,7 @@ > upgrading a distribution, and will discover available kernels and > attempt to generate menu entries for them. > >- The file `/etc/default/grub' controls the operation of >+ The file `/etc/conf.d/grub' controls the operation of > `grub-mkconfig'. It is sourced by a shell script, and so must be valid > POSIX shell input; normally, it will just be a sequence of `KEY=value' > lines, but if the value contains spaces or other special characters >@@ -956,7 +956,7 @@ > > GRUB_TERMINAL_INPUT="console serial" > >- Valid keys in `/etc/default/grub' are as follows: >+ Valid keys in `/etc/conf.d/grub' are as follows: > > `GRUB_DEFAULT' > The default menu entry. This may be a number, in which case it >@@ -1967,7 +1967,7 @@ > Some laptop vendors provide an additional power-on button which boots > another OS. GRUB supports such buttons with the `GRUB_TIMEOUT_BUTTON', > `GRUB_DEFAULT_BUTTON', `GRUB_HIDDEN_TIMEOUT_BUTTON' and >-`GRUB_BUTTON_CMOS_ADDRESS' variables in default/grub (*note Simple >+`GRUB_BUTTON_CMOS_ADDRESS' variables in conf.d/grub (*note Simple > configuration::). `GRUB_TIMEOUT_BUTTON', `GRUB_DEFAULT_BUTTON' and > `GRUB_HIDDEN_TIMEOUT_BUTTON' are used instead of the corresponding > variables without the `_BUTTON' suffix when powered on using the special >diff -ru grub-1.99~rc1/docs/grub.texi grub-1.99~rc1.new/docs/grub.texi >--- grub-1.99~rc1/docs/grub.texi 2011-01-08 00:25:58.000000000 +0100 >+++ grub-1.99~rc1.new/docs/grub.texi 2011-04-25 10:25:37.714730876 +0200 >@@ -1004,7 +1004,7 @@ > use when upgrading a distribution, and will discover available kernels and > attempt to generate menu entries for them. > >-The file @file{/etc/default/grub} controls the operation of >+The file @file{/etc/conf.d/grub} controls the operation of > @command{grub-mkconfig}. It is sourced by a shell script, and so must be > valid POSIX shell input; normally, it will just be a sequence of > @samp{KEY=value} lines, but if the value contains spaces or other special >@@ -1014,7 +1014,7 @@ > GRUB_TERMINAL_INPUT="console serial" > @end example > >-Valid keys in @file{/etc/default/grub} are as follows: >+Valid keys in @file{/etc/conf.d/grub} are as follows: > > @table @samp > @item GRUB_DEFAULT >@@ -1941,7 +1941,7 @@ > Some laptop vendors provide an additional power-on button which boots another > OS. GRUB supports such buttons with the @samp{GRUB_TIMEOUT_BUTTON}, > @samp{GRUB_DEFAULT_BUTTON}, @samp{GRUB_HIDDEN_TIMEOUT_BUTTON} and >-@samp{GRUB_BUTTON_CMOS_ADDRESS} variables in default/grub (@pxref{Simple >+@samp{GRUB_BUTTON_CMOS_ADDRESS} variables in conf.d/grub (@pxref{Simple > configuration}). @samp{GRUB_TIMEOUT_BUTTON}, @samp{GRUB_DEFAULT_BUTTON} and > @samp{GRUB_HIDDEN_TIMEOUT_BUTTON} are used instead of the corresponding > variables without the @samp{_BUTTON} suffix when powered on using the special >diff -ru grub-1.99~rc1/util/grub.d/README grub-1.99~rc1.new/util/grub.d/README >--- grub-1.99~rc1/util/grub.d/README 2010-12-01 15:45:43.000000000 +0100 >+++ grub-1.99~rc1.new/util/grub.d/README 2011-04-25 10:24:10.714997336 +0200 >@@ -8,4 +8,4 @@ > The number namespace in-between is configurable by system installer and/or > administrator. For example, you can add an entry to boot another OS as > 01_otheros, 11_otheros, etc, depending on the position you want it to occupy in >-the menu; and then adjust the default setting via /etc/default/grub. >+the menu; and then adjust the default setting via /etc/conf.d/grub. >diff -ru grub-1.99~rc1/util/grub-install.in grub-1.99~rc1.new/util/grub-install.in >--- grub-1.99~rc1/util/grub-install.in 2011-01-05 01:23:37.000000000 +0100 >+++ grub-1.99~rc1.new/util/grub-install.in 2011-04-25 10:24:27.120356614 +0200 >@@ -60,8 +60,8 @@ > efi_quiet= > > # Get GRUB_DISTRIBUTOR. >-if test -f "${sysconfdir}/default/grub" ; then >- . "${sysconfdir}/default/grub" >+if test -f "${sysconfdir}/conf.d/grub" ; then >+ . "${sysconfdir}/conf.d/grub" > fi > > bootloader_id="$(echo "$GRUB_DISTRIBUTOR" | tr '[A-Z]' '[a-z]' | cut -d' ' -f1)" >diff -ru grub-1.99~rc1/util/grub-mkconfig.in grub-1.99~rc1.new/util/grub-mkconfig.in >--- grub-1.99~rc1/util/grub-mkconfig.in 2010-12-01 15:45:43.000000000 +0100 >+++ grub-1.99~rc1.new/util/grub-mkconfig.in 2011-04-25 10:24:18.644365422 +0200 >@@ -152,8 +152,8 @@ > # choosing Hurd filesystem module. > GRUB_FS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2> /dev/null || echo unknown`" > >-if test -f ${sysconfdir}/default/grub ; then >- . ${sysconfdir}/default/grub >+if test -f ${sysconfdir}/conf.d/grub ; then >+ . ${sysconfdir}/conf.d/grub > fi > > # XXX: should this be deprecated at some point? >@@ -272,7 +272,7 @@ > # DO NOT EDIT THIS FILE > # > # It is automatically generated by $self using templates >-# from ${grub_mkconfig_dir} and settings from ${sysconfdir}/default/grub >+# from ${grub_mkconfig_dir} and settings from ${sysconfdir}/conf.d/grub > # > EOF > >@@ -294,7 +294,7 @@ > if test "x${grub_cfg}" != "x" ; then > if ! ${grub_script_check} ${grub_cfg}.new; then > echo "Syntax errors are detected in generated GRUB config file." >&2 >- echo "Ensure that there are no errors in /etc/default/grub" >&2 >+ echo "Ensure that there are no errors in /etc/conf.d/grub" >&2 > echo "and /etc/grub.d/* files or please file a bug report with" >&2 > echo "${grub_cfg}.new file attached." >&2 > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 364763
:
271113
|
271115
| 271117 |
271139