commit:     d79832c6b962969c5c57f4ff201c476e34e6789d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 17:58:38 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 18:01:32 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/baselayout.git;a=commit;h=d79832c6

Makefile: Add /etc/mtab symbolic link to layout-Linux

Add a symbolic link from /etc/mtab to /proc/self/mounts to the
layout-Linux target so that it will be built in the stages.

X-Gentoo-Bug: 477498
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477498

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 45df6ad..05c2a26 100644
--- a/Makefile
+++ b/Makefile
@@ -73,6 +73,7 @@ layout-BSD: layout-dirs
        install -m 0775 -d $(DESTDIR)/var/lock
 
 layout-Linux: layout-dirs
+       ln -snf /proc/self/mounts $(DESTDIR)/etc/mtab
        ln -snf /run $(DESTDIR)/var/run
        ln -snf /run/lock $(DESTDIR)/var/lock
 

Reply via email to