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:
parent
15772acfd1
commit
2aa2ea4404
@ -294,7 +294,8 @@ class Lorax(BaseLoraxClass):
|
|||||||
else:
|
else:
|
||||||
logger.info("no BCJ filter for arch %s", self.arch.basearch)
|
logger.info("no BCJ filter for arch %s", self.arch.basearch)
|
||||||
rb.create_runtime(joinpaths(installroot,runtime),
|
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")
|
logger.info("preparing to build output tree and boot images")
|
||||||
treebuilder = TreeBuilder(product=self.product, arch=self.arch,
|
treebuilder = TreeBuilder(product=self.product, arch=self.arch,
|
||||||
|
Loading…
Reference in New Issue
Block a user