Replace variables in yaboot.conf

This commit is contained in:
Martin Gracik 2011-03-15 16:38:08 +01:00
parent 476c16b383
commit 70cfd01f00
1 changed files with 4 additions and 0 deletions

View File

@ -194,6 +194,10 @@ class PPC(object):
dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf")
yabootconf = cpfile(self.reqs["yabootconf"], dst)
replace(yabootconf, r"%BITS%", bits)
replace(yabootconf, r"%PRODUCT%", self.product)
replace(yabootconf, r"%VERSION%", self.version)
mkzimage = joinpaths(self.installtree.root, MKZIMAGE)
zimage_stub = joinpaths(self.installtree.root, ZIMAGE_STUB)
wrapper = joinpaths(self.installtree.root, WRAPPER)