SPECS (LINUX_2_6_20): kernel.spec - touch modules.dep unconditiona...

blues blues at pld-linux.org
Wed Apr 18 23:35:01 CEST 2007


Author: blues                        Date: Wed Apr 18 21:35:01 2007 GMT
Module: SPECS                         Tag: LINUX_2_6_20
---- Log message:
- touch modules.dep unconditionally. It does nothing bad and gives at least
  empty modules.dep. Even if depmod fails.

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1698.2.108 -> 1.441.2.1698.2.109) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1698.2.108 SPECS/kernel.spec:1.441.2.1698.2.109
--- SPECS/kernel.spec:1.441.2.1698.2.108	Tue Apr 17 12:15:51 2007
+++ SPECS/kernel.spec	Wed Apr 18 23:34:56 2007
@@ -1308,9 +1308,8 @@
 	echo "CHECKING DEPENDENCIES FOR KERNEL MODULES"
 	if [ %DepMod = /sbin/depmod ]; then
 		/sbin/depmod --basedir $KERNEL_INSTALL_DIR -ae -F $KERNEL_INSTALL_DIR/boot/System.map-$KernelVer -r $KernelVer || :
-	else
-		touch $KERNEL_INSTALL_DIR/lib/modules/$KernelVer/modules.dep
 	fi
+	touch $KERNEL_INSTALL_DIR/lib/modules/$KernelVer/modules.dep
 	echo "KERNEL RELEASE $KernelVer DONE"
 }
 
@@ -1699,6 +1698,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1698.2.109  2007/04/18 21:34:56  blues
+- touch modules.dep unconditionally. It does nothing bad and gives at least
+  empty modules.dep. Even if depmod fails.
+
 Revision 1.441.2.1698.2.108  2007/04/17 10:15:51  mguevara
 - dropped future todo items: acrypt officially closed, drivers will be
   moved to the new acync cryptoapi, pax ppc32 change - not needed
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1698.2.108&r2=1.441.2.1698.2.109&f=u



More information about the pld-cvs-commit mailing list