commit:     cd2a6014247b4a3b69b780a331e4d5a5f280c2d8
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 00:05:18 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 00:05:18 2023 +0000
URL:        https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=cd2a6014

drop fhs compatibility symlinks from the makefile

This is necessary since we want baselayout to own these links.
To do that, we need to create them in the ebuild.

Bug: https://bugs.gentoo.org/648880
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Makefile b/Makefile
index 22e4a174..ecc7b107 100644
--- a/Makefile
+++ b/Makefile
@@ -66,15 +66,10 @@ layout:
        for x in $(KEEP_DIRS) ; do \
                $(INSTALL_DIR) $(DESTDIR)$$x ; \
        done
-       ln -snf /proc/self/mounts $(DESTDIR)/etc/mtab
-       ln -snf /run $(DESTDIR)/var/run
-       ln -snf /run/lock $(DESTDIR)/var/lock
        # Special dirs
        chmod 0700 $(DESTDIR)/root
        chmod 1777 $(DESTDIR)/var/tmp
        chmod 1777 $(DESTDIR)/tmp
-       # FHS compatibility symlinks stuff
-       ln -snf /var/tmp $(DESTDIR)/usr/tmp
 
 layout-usrmerge: layout
        rm -fr ${DESTDIR}/bin

Reply via email to