From 961313241db2cbd3e8b7bac71972c61de5c4b6e6 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 7 Apr 2011 23:05:33 +0100 Subject: [PATCH] fixed README --- Makefile | 2 +- README | 9 ++++++--- tools/kickstarter | 2 ++ 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 -r +kickstarter -c -r 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) -- 2.7.4