| |
@@ -138,8 +138,6 @@
|
| |
self.config.get('pungi', 'variant'),
|
| |
self.tree_arch)
|
| |
|
| |
-
|
| |
-
|
| |
def doLoggerSetup(self):
|
| |
"""Setup our logger"""
|
| |
|
| |
@@ -302,6 +300,9 @@
|
| |
|
| |
self.fulltree_excludes = set(self.ksparser.handler.fulltree_excludes)
|
| |
|
| |
+ # rootfs image size
|
| |
+ self.rootfs_size = self.config.get('pungi', 'rootfs_size')
|
| |
+
|
| |
def _add_yum_repo(self, name, url, mirrorlist=False, groups=True,
|
| |
cost=1000, includepkgs=None, excludepkgs=None,
|
| |
proxy=None):
|
| |
@@ -1570,6 +1571,9 @@
|
| |
except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
|
| |
pass
|
| |
|
| |
+ if self.rootfs_size:
|
| |
+ cmd.extend(["--rootfs-size", self.rootfs_size])
|
| |
+
|
| |
# Allow the output directory to exist.
|
| |
cmd.append("--force")
|
| |
|
| |
Actually this is not correct. Since the value is initialized to
"False"
as a string, this will always be evaluated. All other options that use booleans have explicit check. I'll add it here before merging.