CVS: initscripts Makefile,1.5,1.6

Chuck Mead csm at lunar-linux.org
Fri Oct 31 01:00:58 GMT 2003


Update of /var/cvs/lunar/initscripts
In directory dbguin.lunar-linux.org:/tmp/cvs-serv13444

Modified Files:
	Makefile 
Log Message:
some updates to the Makefile to fix an extraneous symlink


Index: Makefile
===================================================================
RCS file: /var/cvs/lunar/initscripts/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	26 Oct 2003 20:29:29 -0000	1.5
+++ Makefile	31 Oct 2003 01:00:56 -0000	1.6
@@ -68,33 +68,33 @@
 	touch $(ROOT)/var/log/wtmp
 
 	for i in 0 1 2 3 4 5 6 ; do \
-		dir=$(ROOT)/etc/rc.d/rc$$i.d; \
+		dir=/etc/rc.d/rc$$i.d; \
 	  	mkdir $$dir; \
 		chmod u=rwx,g=rx,o=rx $$dir; \
 	done
 
 # Can't store symlinks in a CVS archive
-	ln -sf $(ROOT)/etc/rc.d/init.d $(ROOT)/etc/init.d
-	ln -sf ../init.d/killall $(ROOT)/etc/rc.d/rc0.d/S00killall
-	ln -sf ../init.d/killall $(ROOT)/etc/rc.d/rc6.d/S00killall
+	ln -sf /etc/rc.d/init.d /etc
+	ln -sf /etc/init.d/killall /etc/rc.d/rc0.d/S00killall
+	ln -sf /etc/init.d/killall /etc/rc.d/rc6.d/S00killall
 
-	ln -sf ../init.d/halt $(ROOT)/etc/rc.d/rc0.d/S01halt
-	ln -sf ../init.d/halt $(ROOT)/etc/rc.d/rc6.d/S01reboot
+	ln -sf /etc/init.d/halt /etc/rc.d/rc0.d/S01halt
+	ln -sf /etc/init.d/halt /etc/rc.d/rc6.d/S01reboot
 
-	ln -sf ../init.d/single $(ROOT)/etc/rc.d/rc1.d/S00single
+	ln -sf /etc/init.d/single /etc/rc.d/rc1.d/S00single
 
-	ln -sf ../rc.local $(ROOT)/etc/rc.d/rc2.d/S99local
-	ln -sf ../rc.local $(ROOT)/etc/rc.d/rc3.d/S99local
-	ln -sf ../rc.local $(ROOT)/etc/rc.d/rc4.d/S99local
-	ln -sf ../rc.local $(ROOT)/etc/rc.d/rc5.d/S99local
+	ln -sf /etc/rc.d/rc.local /etc/rc.d/rc2.d/S99local
+	ln -sf /etc/rc.d/rc.local /etc/rc.d/rc3.d/S99local
+	ln -sf /etc/rc.d/rc.local /etc/rc.d/rc4.d/S99local
+	ln -sf /etc/rc.d/rc.local /etc/rc.d/rc5.d/S99local
 
 # These are LSB compatibility symlinks.  At some point in the future
 # the actual files will be here instead of symlinks
 	for i in 0 1 2 3 4 5 6 ; do \
-		ln -sf rc.d/rc$$i.d $(ROOT)/etc/rc$$i.d; \
+		ln -sf /etc/rc.d/rc$$i.d /etc/rc$$i.d; \
 	done
 	for i in rc rc.sysinit rc.local ; do \
-		ln -sf rc.d/$$i $(ROOT)/etc/$$i; \
+		ln -sf /etc/rc.d/$$i /etc/$$i; \
 	done
 
 




More information about the Lunar-commits mailing list