setup: Makefile No mtab file.

arekm arekm at pld-linux.org
Mon Nov 28 21:17:06 CET 2011


Author: arekm                        Date: Mon Nov 28 20:17:06 2011 GMT
Module: setup                         Tag: HEAD
---- Log message:
No mtab file.

---- Files affected:
setup:
   Makefile (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: setup/Makefile
diff -u setup/Makefile:1.31 setup/Makefile:1.32
--- setup/Makefile:1.31	Sun Nov 27 22:35:04 2011
+++ setup/Makefile	Mon Nov 28 21:17:01 2011
@@ -1,7 +1,7 @@
 # Very basic and very simple Makefile. Maybe it would be nice to make it
 # in ac/am.... but I'm too lazy ;)
 #
-VERSION		= 2.7.4
+VERSION		= 2.8.0
 
 CC		= gcc
 OPT_FLAGS	= -O2 -g
@@ -16,7 +16,7 @@
 
 BIN_FILES	= joinpasswd update-fstab postshell delpasswd
 DOCS		= ChangeLog
-ETC_FILES	= filesystems fstab group host.conf hosts motd mtab \
+ETC_FILES	= filesystems fstab group host.conf hosts motd \
 	    netgroup passwd profile protocols resolv.conf securetty \
 	    services shells suid_profile
 PROFILE_FILES	= tmp-dir.csh tmp-dir.sh
@@ -49,6 +49,7 @@
 	$(INSTALL) -d  $(DESTDIR)/$(ENVDIR)
 	$(INSTALL) $(BIN_FILES) $(DESTDIR)/$(SBINDIR)
 	cd etc; $(INSTALL) $(ETC_FILES) $(DESTDIR)/$(ETCDIR)
+	ln -sf /proc/self/mounts $(DESTDIR)/$(ETCDIR)/mtab
 	cd etc/profile.d; $(INSTALL) $(PROFILE_FILES) $(DESTDIR)/$(PROFILEDIR)
 	cd etc/env.d; $(INSTALL) $(ENV_FILES) $(DESTDIR)/$(ENVDIR)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/setup/Makefile?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list