diff options
author | William Hubbs <williamh@gentoo.org> | 2023-01-27 18:19:59 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-01-27 18:20:28 -0600 |
commit | 4a8d092fd621f923e81d0b5d67e3180f781e410f (patch) | |
tree | 5d5bd6d8c93aa3dbcc1ef71bb47c1e55776ae67a /sys-apps/baselayout/baselayout-9999.ebuild | |
parent | sci-mathematics/picosat: Stabilize 965 amd64, #892299 (diff) | |
download | gentoo-4a8d092fd621f923e81d0b5d67e3180f781e410f.tar.gz gentoo-4a8d092fd621f923e81d0b5d67e3180f781e410f.tar.bz2 gentoo-4a8d092fd621f923e81d0b5d67e3180f781e410f.zip |
sys-apps/baselayout: sync live
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps/baselayout/baselayout-9999.ebuild')
-rw-r--r-- | sys-apps/baselayout/baselayout-9999.ebuild | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild index a5cb994667ce..845f7f7a8dfb 100644 --- a/sys-apps/baselayout/baselayout-9999.ebuild +++ b/sys-apps/baselayout/baselayout-9999.ebuild @@ -21,6 +21,19 @@ IUSE="build +split-usr" RDEPEND="!sys-apps/baselayout-prefix" +pkg_pretend() { + local stop= + if [[ ! -L ${EROOT}/var/run ]] && [[ -d ${EROOT}/var/run ]]; then + eerror "${EROOT}/var/run must be a symlink to ${EROOT}/run" + stop=1 + fi + if [[ ! -L ${EROOT}/var/lock ]] && [[ -d ${EROOT}/var/lock ]]; then + eerror "${EROOT}/var/lock must be a symlink to ${EROOT}/run/lock" + stop=1 + fi + [[ -z ${stop} ]] || die "please fix this before emerging baselayout" +} + pkg_setup() { multilib_layout } |