[Lunar-commits] r18348 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Wed Jan 25 22:36:49 UTC 2006


Author: sofar
Date: 2006-01-25 22:36:45 +0000 (Wed, 25 Jan 2006)
New Revision: 18348

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Explicitly skip all kernel modules that have missing sources - there's no use in trying to compile them for now anyway.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-01-25 22:12:19 UTC (rev 18347)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-01-25 22:36:45 UTC (rev 18348)
@@ -1046,9 +1046,20 @@
 	{
 		local LINE
 		while read LINE; do
-			echo $LINE | cut -d: -f1
-			echo $LINE | cut -d: -f2
-			echo $LINE | cut -d: -f3-
+		    (
+		    	unset MISSING
+		    	MODULE=$(echo $LINE | cut -d: -f2)
+			for SOURCE in $(chroot_run lvu sources $MODULE) ; do
+				if [ ! -e /var/spool/lunar/$SOURCE ]; then
+					MISSING=yes
+				fi
+			done				
+			if [ -z "$MISSING" ]; then
+				echo $LINE | cut -d: -f1
+				echo $MODULE
+				echo $LINE | cut -d: -f3-
+			fi
+		    )
 		done < /kernels/.kernel-modules
 	}
 



More information about the Lunar-commits mailing list