Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265525 Details for
Bug 357247
sys-apps/openrc-0.7.0 vserver guests fails to boot with rc_sys=""
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
default rc.conf to #rc_sys=""
0001-rc_sys-let-default-behavior-be-automagic.patch (text/plain), 1.32 KB, created by
SpanKY
on 2011-03-11 01:27:56 UTC
(
hide
)
Description:
default rc.conf to #rc_sys=""
Filename:
MIME Type:
Creator:
SpanKY
Created:
2011-03-11 01:27:56 UTC
Size:
1.32 KB
patch
obsolete
>From c0499111c02e5ef82ed2ad0a572d293da73dacb3 Mon Sep 17 00:00:00 2001 >From: Mike Frysinger <vapier@gentoo.org> >Date: Thu, 10 Mar 2011 20:24:28 -0500 >Subject: [PATCH] rc_sys: let default behavior be automagic > >The default rc_sys behavior was changed to always require manual >intervention by users. This pretty much breaks all of the diff >system variants out there if people don't explicitly edit their >rc.conf file ahead of time. We should have things work "out of >the box" as much as possible and reasonable. > >X-Gentoo-Bug: 357247 >X-Gentoo-Bug-URL: http://bugs.gentoo.org/357247 >Signed-off-by: Mike Frysinger <vapier@gentoo.org> >--- > etc/Makefile | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > >diff --git a/etc/Makefile b/etc/Makefile >index 24e5455..314225a 100644 >--- a/etc/Makefile >+++ b/etc/Makefile >@@ -8,5 +8,14 @@ include ${MK}/os.mk > include Makefile.${OS} > include ${MK}/scripts.mk > >+# We can't use "ifndef" here because that treats set-but-empty >+# as not-set which is not what we want >+MKRCSYS ?= automagicplease >+ifeq ($(MKRCSYS),automagicplease) >+# If the user isn't picking a default, then have the >+# config go with runtime automagic detection #357247 >+rc.conf: SED_EXTRA += -e '/^rc_sys=""/s:^:\#:' >+MKRCSYS = >+endif > rc.conf: rc.conf.in rc.conf.${OS} > ${SED} ${SED_REPLACE} ${SED_EXTRA} $^ > $@ >-- >1.7.4.1 >
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 357247
:
264599
|
264751
|
264781
|
265029
| 265525 |
265805