summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-01-25 18:11:22 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-01-25 18:12:48 -0600
commitb91cfbd5648d0b1a9d9532e52bc6d701921dc621 (patch)
tree0eb04a1fc3a96dd1106f757ffb01eb46ff58bb59 /sys-apps/baselayout
parentmedia-fonts/font-bh-type1: Keyword 1.0.3-r2 for ~m68k (diff)
downloadgentoo-b91cfbd5648d0b1a9d9532e52bc6d701921dc621.tar.gz
gentoo-b91cfbd5648d0b1a9d9532e52bc6d701921dc621.tar.bz2
gentoo-b91cfbd5648d0b1a9d9532e52bc6d701921dc621.zip
sys-apps/baselayout: create fhs compatible symlinks in the ebuild
This needs to happen so that we own the symlinks. Bug: https://bugs.gentoo.org/648880 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild
index a5cb994667ce..de1e77f28689 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -259,6 +259,12 @@ src_install() {
DESTDIR="${ED}" \
install
+ # FHS compatibility symlinks
+ dosym ../proc/self/mounts /etc/mtab
+ dosym ../run /var/run
+ dosym ../run/lock /var/lock
+ dosym ../var/tmp /usr/tmp
+
if [[ ${CHOST} == *-darwin* ]] ; then
# add SDK path which contains development manpages
echo "MANPATH=${EPREFIX}/MacOSX.sdk/usr/share/man" \