add external files
authorAnas Nashif <nashif@download.meego.com>
Thu, 31 Mar 2011 14:46:42 +0000 (07:46 -0700)
committerAnas Nashif <nashif@download.meego.com>
Thu, 31 Mar 2011 14:46:42 +0000 (07:46 -0700)
configurations.yaml
ex/handset-ia32-mtf-ex.yaml [new file with mode: 0644]
tools/kickstarter

index 1534bed..30936c6 100644 (file)
@@ -1,3 +1,5 @@
+ExternalConfigs: 
+    - ex
 Default:
     Active: True
     Language: en_US.UTF-8
diff --git a/ex/handset-ia32-mtf-ex.yaml b/ex/handset-ia32-mtf-ex.yaml
new file mode 100644 (file)
index 0000000..7ee466b
--- /dev/null
@@ -0,0 +1,17 @@
+Name: MeeGo Handset MTF
+Schedule: "* * * * 3"
+Active: True
+Baseline: "1.1.80"
+Platform: MFLD
+FileName: handset-ia32-mtf-ex
+Mic2Options: -f nand
+Kernel: kernel-adaptation-medfield
+Architecture: ia32
+Desktop: DUI
+Session: "/usr/bin/mcompositor"
+Groups:
+    - Moorestown Support
+PostScripts:
+    - kernel-handset
+    - kboot
+    - serial-mfld
index 3faf49e..225eb61 100755 (executable)
@@ -145,6 +145,14 @@ if __name__ == '__main__':
     for img in image_meta['Configurations']:
         conf = ks.parse(img)
         ks.process_files(conf, r)
+    for path in image_meta['ExternalConfigs']:
+        for f in os.listdir(path):
+            if '.yaml' in f:
+                fp = file('%s/%s' %(path, f), 'r')
+                local = yaml.load(fp)
+                conf = ks.parse(local)
+                ks.process_files(conf, r)
+
     if options.indexfile:
         """
 <?xml version="1.0"?>