public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: sys-apps/systemd/
Date: Sat, 14 Jan 2012 21:22:12 +0000 (UTC)	[thread overview]
Message-ID: <15a796de7c49488f9710731576f76c15c4d06e3d.mgorny@gentoo> (raw)

commit:     15a796de7c49488f9710731576f76c15c4d06e3d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 21:22:13 2012 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 21:22:13 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=15a796de

sys-apps/systemd: Move creation of /run to pkg_postinst().

(Portage version: 2.2.0_alpha84_p26/git/Linux x86_64, unsigned Manifest commit)

---
 sys-apps/systemd/systemd-9999.ebuild |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 85da067..862722c 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -133,8 +133,6 @@ src_install() {
 		|| die
 	rm "${D}"/usr/share/man/man1/init.1 || die
 
-	keepdir /run
-
 	# Create /run/lock as required by new baselay/OpenRC compat.
 	insinto /usr/lib/tmpfiles.d
 	doins "${FILESDIR}"/gentoo-run.conf
@@ -157,7 +155,8 @@ optfeature() {
 }
 
 pkg_postinst() {
-	if [[ ! -L "${ROOT}"etc/mtab ]]; then
+	mkdir -p "${ROOT}"/run || die
+	if [[ ! -L "${ROOT}"/etc/mtab ]]; then
 		ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts."
 		ewarn "It is known to cause users being unable to unmount user mounts. If you don't"
 		ewarn "require that specific feature, please call:"



             reply	other threads:[~2012-01-14 21:23 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14 21:22 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-05 21:28 [gentoo-commits] dev/mgorny:master commit in: sys-apps/systemd/ Michał Górny
2012-10-26 21:35 Michał Górny
2012-10-26 21:35 Michał Górny
2012-10-26 21:35 Michał Górny
2012-10-15 14:39 Michał Górny
2012-10-04 20:17 Michał Górny
2012-10-04 20:17 Michał Górny
2012-10-04 12:42 Michał Górny
2012-09-21 21:34 Michał Górny
2012-09-07 21:25 Michał Górny
2012-08-28 17:03 Michał Górny
2012-08-11  9:29 Michał Górny
2012-08-11  7:37 Michał Górny
2012-07-09 22:03 Michał Górny
2012-06-20 13:28 Michał Górny
2012-05-02  7:54 Michał Górny
2012-04-04  4:14 Michał Górny
2012-03-14 22:06 Michał Górny
2012-02-11 14:39 Michał Górny
2012-02-11 14:39 Michał Górny
2012-02-11 14:39 Michał Górny
2012-02-10 10:23 Michał Górny
2012-02-02 21:01 Michał Górny
2012-01-21 15:33 Michał Górny
2012-01-21 15:33 Michał Górny
2012-01-21 15:33 Michał Górny
2012-01-14 21:22 Michał Górny
2012-01-14 21:22 Michał Górny
2012-01-14 21:22 Michał Górny
2012-01-14 21:22 Michał Górny
2012-01-14 21:22 Michał Górny
2012-01-14 21:22 Michał Górny
2012-01-07 22:36 Michał Górny
2012-01-05 21:56 Michał Górny
2012-01-05 21:42 Michał Górny
2012-01-05 21:42 Michał Górny
2011-11-13 15:06 Michał Górny
2011-11-09 18:46 Michał Górny
2011-11-09 18:46 Michał Górny
2011-09-22 10:35 Michał Górny
2011-09-12 17:05 Michał Górny
2011-08-29 17:28 Michał Górny
2011-08-09 11:32 Michał Górny
2011-08-09 11:32 Michał Górny
2011-07-27  7:14 Michał Górny
2011-07-15 10:54 Michał Górny
2011-07-14 13:44 Michał Górny
2011-07-13 18:49 Michał Górny
2011-07-05 15:38 Michał Górny
2011-07-03 14:23 Michał Górny
2011-07-01  7:37 Michał Górny
2011-06-25 15:29 Michał Górny
2011-06-24  7:16 Michał Górny
2011-06-15 13:33 Michał Górny
2011-06-08 11:24 Michał Górny
2011-06-07 14:31 Michał Górny
2011-06-06  8:30 Michał Górny
2011-06-06  8:30 Michał Górny
2011-06-06  7:27 Michał Górny
2011-05-27  9:09 Michał Górny
2011-05-22  8:11 Michał Górny
2011-05-06 14:54 Michał Górny
2011-05-03 20:44 Michał Górny
2011-05-03 20:44 Michał Górny
2011-05-03 18:14 Michał Górny
2011-04-27 11:02 Michał Górny
2011-04-26 12:46 Michał Górny
2011-04-20 13:00 Michał Górny
2011-04-18  9:43 Michał Górny
2011-04-17 22:14 Michał Górny
2011-04-17 18:29 Michał Górny

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=15a796de7c49488f9710731576f76c15c4d06e3d.mgorny@gentoo \
    --to=mgorny@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