fixup: set templatedir for TreeBuilder in __init__

This commit is contained in:
Will Woods 2011-05-09 23:45:51 -04:00
parent 411bea7d4e
commit 9aa2e2c671

View File

@ -290,7 +290,8 @@ class Lorax(BaseLoraxClass):
logger.info("preparing to build output tree and boot images")
treebuilder = TreeBuilder(self.product, self.arch,
installroot, self.outputdir)
installroot, self.outputdir,
templatedir=self.conf.get("lorax", "sharedir"))
# TODO: different image styles may do this part differently
logger.info("rebuilding initramfs images")