summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <nashif@linux.intel.com>2011-01-20 10:23:39 +0000
committerAnas Nashif <nashif@linux.intel.com>2011-01-20 10:23:39 +0000
commit3f2330203cc80ac4fd0d5cde99a11a876bae6b6f (patch)
tree54d435ef9a83e26ecdfb46bafc3b1a1bd41e75c7
parent431fce48b751065c7cc719b0b8ed7900bcfb94c8 (diff)
downloadkickstarter-3f2330203cc80ac4fd0d5cde99a11a876bae6b6f.tar.gz
kickstarter-3f2330203cc80ac4fd0d5cde99a11a876bae6b6f.tar.bz2
kickstarter-3f2330203cc80ac4fd0d5cde99a11a876bae6b6f.zip
more fixes, enhancements
-rw-r--r--configurations.yaml5
-rw-r--r--kickstarter.py9
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