From 9aa2e2c6718dd40940218e31f3356955f11d4679 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Mon, 9 May 2011 23:45:51 -0400 Subject: [PATCH] fixup: set templatedir for TreeBuilder in __init__ --- src/pylorax/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index de730856..4dddb938 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -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")