public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:master commit in: etc/
Date: Tue, 15 Mar 2011 03:11:27 +0000 (UTC)	[thread overview]
Message-ID: <d7e48fe643bc82ae6280193dc42f5fef7265abac.williamH@gentoo> (raw)

commit:     d7e48fe643bc82ae6280193dc42f5fef7265abac
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 01:24:28 2011 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 01:35:08 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=d7e48fe6

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 <AT> 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} $^ > $@



             reply	other threads:[~2011-03-15  3:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15  3:11 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-12-15 23:56 [gentoo-commits] proj/openrc:master commit in: etc/ William Hubbs
2016-09-28  0:40 William Hubbs
2016-07-20 21:44 William Hubbs
2016-07-20 21:44 William Hubbs
2015-12-02 17:12 William Hubbs
2015-10-29 16:36 William Hubbs
2015-05-22 14:57 William Hubbs
2015-05-08 17:33 William Hubbs
2014-12-08  1:07 William Hubbs
2014-08-11 18:18 William Hubbs
2014-08-22 19:10 ` William Hubbs
2014-03-15  3:19 William Hubbs
2014-03-09 20:39 William Hubbs
2013-12-08 19:45 William Hubbs
2013-03-12 19:18 William Hubbs
2013-02-17 17:09 William Hubbs
2013-02-16 22:12 William Hubbs
2012-12-04  0:24 William Hubbs
2012-10-30 16:17 William Hubbs
2012-02-13 18:00 William Hubbs
2012-01-25 18:40 Christian Ruppert
2012-01-06  4:36 William Hubbs
2011-11-26 23:47 William Hubbs
2011-07-06 23:40 William Hubbs
2011-07-05 22:52 Christian Ruppert
2011-04-18 20:22 William Hubbs
2011-03-22  4:05 William Hubbs
2011-03-05  6:13 William Hubbs
2011-03-03 21:07 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d7e48fe643bc82ae6280193dc42f5fef7265abac.williamH@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox