lorax: pass size from Lorax.run to create_runtime

This allows Lorax class users to specify the image size when calling
run()

(cherry picked from commit 9e979f760b)

Related: rhbz#1715116
This commit is contained in:
Brian C. Lane 2013-11-18 17:17:41 -08:00
parent 15772acfd1
commit 2aa2ea4404
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ class Lorax(BaseLoraxClass):
else:
logger.info("no BCJ filter for arch %s", self.arch.basearch)
rb.create_runtime(joinpaths(installroot,runtime),
compression=compression, compressargs=compressargs)
compression=compression, compressargs=compressargs,
size=size)
logger.info("preparing to build output tree and boot images")
treebuilder = TreeBuilder(product=self.product, arch=self.arch,