From 935e403a1306bbea01dd8568ceddf6db54dc73bd Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 31 Mar 2011 07:46:42 -0700 Subject: [PATCH] add external files --- configurations.yaml | 2 ++ ex/handset-ia32-mtf-ex.yaml | 17 +++++++++++++++++ tools/kickstarter | 8 ++++++++ 3 files changed, 27 insertions(+) create mode 100644 ex/handset-ia32-mtf-ex.yaml diff --git a/configurations.yaml b/configurations.yaml index 1534bed..30936c6 100644 --- a/configurations.yaml +++ b/configurations.yaml @@ -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 index 0000000..7ee466b --- /dev/null +++ b/ex/handset-ia32-mtf-ex.yaml @@ -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 diff --git a/tools/kickstarter b/tools/kickstarter index 3faf49e..225eb61 100755 --- a/tools/kickstarter +++ b/tools/kickstarter @@ -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: """ -- 2.7.4