more fixes, enhancements
authorAnas Nashif <nashif@linux.intel.com>
Thu, 20 Jan 2011 10:23:39 +0000 (10:23 +0000)
committerAnas Nashif <nashif@linux.intel.com>
Thu, 20 Jan 2011 10:23:39 +0000 (10:23 +0000)
configurations.yaml
kickstarter.py

index 0e42a01..21027e6 100644 (file)
@@ -26,7 +26,7 @@ CORE:
     NoChrootScripts:
         - buildname
 N900:
-    PartSize: 1700
+    Part: n900
     BootloaderTimeout: 
     BootloaderAppend: 
     Groups:
@@ -39,11 +39,10 @@ N900:
         - MeeGo Base Development
     Kernel: kernel-adaptation-n900
     PostScripts:
-        - prelink
         - cleanup
     NoChrootScripts:
         - buildname
-    Architecture: ia32
+    Architecture: armv7l
     Repos:
         - core
         - handset
index 81c9ab9..6cd4baf 100644 (file)
@@ -71,10 +71,11 @@ class KSWriter():
             f.close()
 
         ptab = ""
-        if img.has_key("Part"):
-            f = open("./custom/part/%s" %img['Part'] )
-            ptab = f.read()
-            f.close()  
+       for g in [ plat, img ]:
+           if g.has_key("Part"):
+               f = open("./custom/part/%s" %g['Part'] )
+               ptab = f.read()
+               f.close()  
             
         conf['Part'] = ptab
         conf['Post'] = postscript