[Lunar-commits] r22790 - lunar-iso/trunk/scripts

Auke Kok sofar at lunar-linux.org
Fri Dec 29 17:15:04 CET 2006


Author: sofar
Date: 2006-12-29 17:15:04 +0100 (Fri, 29 Dec 2006)
New Revision: 22790

Modified:
   lunar-iso/trunk/scripts/kernels
Log:
Account for different arch code


Modified: lunar-iso/trunk/scripts/kernels
===================================================================
--- lunar-iso/trunk/scripts/kernels	2006-12-29 16:13:37 UTC (rev 22789)
+++ lunar-iso/trunk/scripts/kernels	2006-12-29 16:15:04 UTC (rev 22790)
@@ -137,7 +137,11 @@
 rm -rf $ISO_SOURCE/kernels/TAR
 
 # the actual 'build' lines are now sourced from the conf directory:
-source $ISO_SOURCE/kernels/conf/${ISO_KSUFFIX}/build
+if [ -f $ISO_SOURCE/kernels/conf/${ISO_KSUFFIX}/build.$ISO_KARCH ]; then
+	source $ISO_SOURCE/kernels/conf/${ISO_KSUFFIX}/build.$ISO_KARCH
+else
+	source $ISO_SOURCE/kernels/conf/${ISO_KSUFFIX}/build
+fi
 
 mv $ISO_SOURCE/kernels/.kernels-tmp $ISO_SOURCE/kernels/.kernels
 mv $ISO_SOURCE/kernels/.initrd_kernels-tmp $ISO_SOURCE/kernels/.initrd_kernels



More information about the Lunar-commits mailing list