diff options
author | Anas Nashif <nashif@linux.intel.com> | 2011-04-07 23:05:33 +0100 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2011-04-07 23:05:33 +0100 |
commit | 961313241db2cbd3e8b7bac71972c61de5c4b6e6 (patch) | |
tree | 2f96c8caa96a4bc78a0beb919bfd9e745118c4a0 | |
parent | 499c71232fb3e837679d0f99f147248cc1dd9b15 (diff) | |
download | kickstarter-961313241db2cbd3e8b7bac71972c61de5c4b6e6.tar.gz kickstarter-961313241db2cbd3e8b7bac71972c61de5c4b6e6.tar.bz2 kickstarter-961313241db2cbd3e8b7bac71972c61de5c4b6e6.zip |
fixed README
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README | 9 | ||||
-rwxr-xr-x | tools/kickstarter | 2 |
3 files changed, 9 insertions, 4 deletions
@@ -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) @@ -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) |