From 3f2330203cc80ac4fd0d5cde99a11a876bae6b6f Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 20 Jan 2011 10:23:39 +0000 Subject: [PATCH] more fixes, enhancements --- configurations.yaml | 5 ++--- kickstarter.py | 9 +++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configurations.yaml b/configurations.yaml index 0e42a01..21027e6 100644 --- a/configurations.yaml +++ b/configurations.yaml @@ -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 diff --git a/kickstarter.py b/kickstarter.py index 81c9ab9..6cd4baf 100644 --- a/kickstarter.py +++ b/kickstarter.py @@ -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 -- 2.7.4