summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <nashif@linux.intel.com>2011-04-07 23:05:33 +0100
committerAnas Nashif <nashif@linux.intel.com>2011-04-07 23:05:33 +0100
commit961313241db2cbd3e8b7bac71972c61de5c4b6e6 (patch)
tree2f96c8caa96a4bc78a0beb919bfd9e745118c4a0
parent499c71232fb3e837679d0f99f147248cc1dd9b15 (diff)
downloadkickstarter-961313241db2cbd3e8b7bac71972c61de5c4b6e6.tar.gz
kickstarter-961313241db2cbd3e8b7bac71972c61de5c4b6e6.tar.bz2
kickstarter-961313241db2cbd3e8b7bac71972c61de5c4b6e6.zip
fixed README
-rw-r--r--Makefile2
-rw-r--r--README9
-rwxr-xr-xtools/kickstarter2
3 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4087397..6e1d17c 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ tmpls:
ks: $(TEMPLATES) configurations.yaml repos.yaml
- python kickstarter.py -c configurations.yaml -r repos.yaml
+ kickstarter -c configurations.yaml -r repos.yaml
tag:
git tag $(VERSION)
diff --git a/README b/README
index e3b958f..ab16ab1 100644
--- a/README
+++ b/README
@@ -1,12 +1,15 @@
Install cheetah (http://www.cheetahtemplate.org/) templating system, PyYAML.
run make
+sudo python setup.py install
then run:
-python kickstarter.py -c <images.yaml> -r <repos.yaml>
+kickstarter -c <images.yaml> -r <repos.yaml>
Example:
- python kickstarter.py --configs configurations.yaml --repos repos.yaml
- or run 'make ks'
+ kickstarter --configs configurations.yaml --repos repos.yaml
+
+ This configuration.yaml file is an example only, for meego kickstart files,
+ consult the image-configurations package
Repo file:
This file contains a list of repositories to be used in the kickstart files
diff --git a/tools/kickstarter b/tools/kickstarter
index 47a523c..7a4f40e 100755
--- a/tools/kickstarter
+++ b/tools/kickstarter
@@ -121,6 +121,7 @@ def image_xml(root, img):
s.append(cc)
cc = etree.Element('description')
cc.text = "%s" %img['Name']
+ print img['Name']
s.append(cc)
if img.has_key('Architecture'):
@@ -134,6 +135,7 @@ def image_xml(root, img):
cc = etree.Element('schedule')
if img.has_key('Schedule'):
+ print img['Schedule']
cc.text = img['Schedule']
s.append(cc)
root.append(s)