Replace variables in yaboot.conf
This commit is contained in:
parent
ae90d14e44
commit
c41e8a89b8
@ -194,6 +194,10 @@ class PPC(object):
|
|||||||
dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf")
|
dst = joinpaths(self.outputroot, ppcdir, "yaboot.conf")
|
||||||
yabootconf = cpfile(self.reqs["yabootconf"], dst)
|
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)
|
mkzimage = joinpaths(self.installtree.root, MKZIMAGE)
|
||||||
zimage_stub = joinpaths(self.installtree.root, ZIMAGE_STUB)
|
zimage_stub = joinpaths(self.installtree.root, ZIMAGE_STUB)
|
||||||
wrapper = joinpaths(self.installtree.root, WRAPPER)
|
wrapper = joinpaths(self.installtree.root, WRAPPER)
|
||||||
|
Loading…
Reference in New Issue
Block a user