diff options
author | William Hubbs <williamh@gentoo.org> | 2012-01-14 21:17:23 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-01-14 21:17:23 +0000 |
commit | 18cb3e1bb36f75802f8e3cb579bb4e6efde73777 (patch) | |
tree | e038911a716efc15fc243fe60b453b2a197b7461 /sys-apps/systemd | |
parent | Fix up dependencies for Prolog kernel tests (diff) | |
download | gentoo-2-18cb3e1bb36f75802f8e3cb579bb4e6efde73777.tar.gz gentoo-2-18cb3e1bb36f75802f8e3cb579bb4e6efde73777.tar.bz2 gentoo-2-18cb3e1bb36f75802f8e3cb579bb4e6efde73777.zip |
move the creation of /run to pkg_postinst (approved by mgorny)
(Portage version: 2.2.0_alpha84/cvs/Linux i686)
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r-- | sys-apps/systemd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-29-r3.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-29-r5.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-37-r1.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-37-r3.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-38.ebuild | 7 |
6 files changed, 21 insertions, 21 deletions
diff --git a/sys-apps/systemd/ChangeLog b/sys-apps/systemd/ChangeLog index 7c371f16ef24..1997fe661c8a 100644 --- a/sys-apps/systemd/ChangeLog +++ b/sys-apps/systemd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/systemd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.19 2012/01/11 07:56:35 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.20 2012/01/14 21:17:23 williamh Exp $ + + 14 Jan 2012; William Hubbs <williamh@gentoo.org> systemd-29-r3.ebuild, + systemd-29-r5.ebuild, systemd-37-r1.ebuild, systemd-37-r3.ebuild, + systemd-38.ebuild: + move the creation of /run to pkg_postinst (approved by mgorny) *systemd-38 (11 Jan 2012) diff --git a/sys-apps/systemd/systemd-29-r3.ebuild b/sys-apps/systemd/systemd-29-r3.ebuild index 5bb1c567d3bf..9062d9d8fa8e 100644 --- a/sys-apps/systemd/systemd-29-r3.ebuild +++ b/sys-apps/systemd/systemd-29-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r3.ebuild,v 1.2 2012/01/06 10:19:43 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r3.ebuild,v 1.3 2012/01/14 21:17:23 williamh Exp $ EAPI=4 @@ -98,8 +98,6 @@ src_install() { mv ${i}.8 systemd.${i}.8 || die done - keepdir /run - # Create /run/lock as required by new baselay/OpenRC compat. insinto /usr/lib/tmpfiles.d doins "${FILESDIR}"/gentoo-run.conf @@ -116,7 +114,8 @@ optfeature() { } pkg_postinst() { - if [[ ! -L "${ROOT}"etc/mtab ]]; then + mkdir -p "${ROOT}"/run + 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:" diff --git a/sys-apps/systemd/systemd-29-r5.ebuild b/sys-apps/systemd/systemd-29-r5.ebuild index afda7568e364..85b04eb4cdf2 100644 --- a/sys-apps/systemd/systemd-29-r5.ebuild +++ b/sys-apps/systemd/systemd-29-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r5.ebuild,v 1.1 2012/01/10 18:37:44 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r5.ebuild,v 1.2 2012/01/14 21:17:23 williamh Exp $ EAPI=4 @@ -107,8 +107,6 @@ src_install() { rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ || die - keepdir /run - # Create /run/lock as required by new baselay/OpenRC compat. insinto /usr/lib/tmpfiles.d doins "${FILESDIR}"/gentoo-run.conf @@ -131,7 +129,8 @@ optfeature() { } pkg_postinst() { - if [[ ! -L "${ROOT}"etc/mtab ]]; then + mkdir -p "${ROOT}"/run + 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:" diff --git a/sys-apps/systemd/systemd-37-r1.ebuild b/sys-apps/systemd/systemd-37-r1.ebuild index 62dc59ae9d2f..dea4f8cc1411 100644 --- a/sys-apps/systemd/systemd-37-r1.ebuild +++ b/sys-apps/systemd/systemd-37-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-37-r1.ebuild,v 1.2 2012/01/06 10:19:43 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-37-r1.ebuild,v 1.3 2012/01/14 21:17:23 williamh Exp $ EAPI=4 @@ -100,8 +100,6 @@ src_install() { mv ${i}.8 systemd.${i}.8 || die done - keepdir /run - # Create /run/lock as required by new baselay/OpenRC compat. insinto /usr/lib/tmpfiles.d doins "${FILESDIR}"/gentoo-run.conf @@ -118,7 +116,8 @@ optfeature() { } pkg_postinst() { - if [[ ! -L "${ROOT}"etc/mtab ]]; then + mkdir -p "${ROOT}"/run + 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:" diff --git a/sys-apps/systemd/systemd-37-r3.ebuild b/sys-apps/systemd/systemd-37-r3.ebuild index 795a97c2be73..eab43a9781f5 100644 --- a/sys-apps/systemd/systemd-37-r3.ebuild +++ b/sys-apps/systemd/systemd-37-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-37-r3.ebuild,v 1.1 2012/01/10 18:37:44 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-37-r3.ebuild,v 1.2 2012/01/14 21:17:23 williamh Exp $ EAPI=4 @@ -109,8 +109,6 @@ src_install() { rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ || die - keepdir /run - # Create /run/lock as required by new baselay/OpenRC compat. insinto /usr/lib/tmpfiles.d doins "${FILESDIR}"/gentoo-run.conf @@ -133,7 +131,8 @@ optfeature() { } pkg_postinst() { - if [[ ! -L "${ROOT}"etc/mtab ]]; then + mkdir -p "${ROOT}"/run + 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:" diff --git a/sys-apps/systemd/systemd-38.ebuild b/sys-apps/systemd/systemd-38.ebuild index 31001bc8bc65..271df6d70651 100644 --- a/sys-apps/systemd/systemd-38.ebuild +++ b/sys-apps/systemd/systemd-38.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-38.ebuild,v 1.1 2012/01/11 07:56:35 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-38.ebuild,v 1.2 2012/01/14 21:17:23 williamh Exp $ EAPI=4 @@ -114,8 +114,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 @@ -138,7 +136,8 @@ optfeature() { } pkg_postinst() { - if [[ ! -L "${ROOT}"etc/mtab ]]; then + mkdir -p "${ROOT}"/run + 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:" |