From 2aa2ea4404d916738b6f77eca8e8a91d9aab3795 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 18 Nov 2013 17:17:41 -0800 Subject: [PATCH] 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 9e979f760b07db258e77ca35acfb7455e6b52037) Related: rhbz#1715116 --- 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 114ea505..ba310623 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -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,