summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2014-08-13 12:58:38 -0500
committerWilliam Hubbs <williamh@gentoo.org>2014-08-13 13:01:32 -0500
commitd79832c6b962969c5c57f4ff201c476e34e6789d (patch)
treefeed02b87cc31c681ec36ea3909be470199477e3
parentAdd input group (diff)
downloadbaselayout-d79832c6b962969c5c57f4ff201c476e34e6789d.tar.gz
baselayout-d79832c6b962969c5c57f4ff201c476e34e6789d.tar.bz2
baselayout-d79832c6b962969c5c57f4ff201c476e34e6789d.zip
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
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 45df6adb..05c2a264 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