From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RmB4F-0000No-JN for garchives@archives.gentoo.org; Sat, 14 Jan 2012 21:23:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62529E08FB; Sat, 14 Jan 2012 21:22:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 376C0E08FB for ; Sat, 14 Jan 2012 21:22:13 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B13D81B4041 for ; Sat, 14 Jan 2012 21:22:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 31ABD8004C for ; Sat, 14 Jan 2012 21:22:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <15a796de7c49488f9710731576f76c15c4d06e3d.mgorny@gentoo> Subject: [gentoo-commits] dev/mgorny:master commit in: sys-apps/systemd/ X-VCS-Repository: dev/mgorny X-VCS-Files: sys-apps/systemd/systemd-9999.ebuild X-VCS-Directories: sys-apps/systemd/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 15a796de7c49488f9710731576f76c15c4d06e3d Date: Sat, 14 Jan 2012 21:22:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 01350ed3-523a-4def-9671-05e8d26f29b7 X-Archives-Hash: 7366ec335c121aec8bcac27c946ea7b0 commit: 15a796de7c49488f9710731576f76c15c4d06e3d Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Sat Jan 14 21:22:13 2012 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Sat Jan 14 21:22:13 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/mgorny.git;a=3D= commit;h=3D15a796de sys-apps/systemd: Move creation of /run to pkg_postinst(). (Portage version: 2.2.0_alpha84_p26/git/Linux x86_64, unsigned Manifest c= ommit) --- 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/syst= emd-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 =20 - 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() { } =20 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 t= o /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:"