[Lunar-commits] CVS: moonbase/utils/module-init-tools BUILD, 1.10, 1.11

Florin Braescu florin at lunar-linux.org
Sun Feb 29 17:51:55 GMT 2004


Update of /var/cvs/lunar/moonbase/utils/module-init-tools
In directory dbguin.lunar-linux.org:/tmp/cvs-serv22839

Modified Files:
	BUILD 
Log Message:
force the symlinks generation. sometimes we need it.

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/module-init-tools/BUILD,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- BUILD	28 Jan 2004 05:00:00 -0000	1.10
+++ BUILD	29 Feb 2004 17:51:53 -0000	1.11
@@ -1,7 +1,8 @@
 (
-
   bad_flags -malign-double
   
+  sedit "s:ln -s :ln -sf :" Makefile.in   &&
+
   ./configure  --build=$BUILD           \
                --mandir=/usr/share/man  \
 	       --prefix=/		&&
@@ -9,22 +10,14 @@
   prepare_install                       &&
   install -m0644 modprobe.devfs /etc    &&
 
-#    if  module_installed modutils ; then
-#	for file in /sbin/insmod /sbin/lsmod /sbin/depmod \
-#		    /sbin/modinfo /sbin/modprobe /sbin/rmmod
-#	do
-#	    mv $file $file.old && echo "just moved " $file " to " $file.old
-#	done     
-#    fi					&&
-  make moveold                           &&
-  make install                           &&
+  make moveold                          &&
+  make install                          &&
   if [ ! -e /etc/modprobe.conf ]; then
   ./generate-modprobe.conf /etc/modprobe.conf
-  fi                                     &&
+  fi                                    &&
   if [ ! -d /etc/sysconfig ]; then
      install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d
      ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
   fi
 
 )  > $C_FIFO 2>&1
-



More information about the Lunar-commits mailing list