[PATCH] Bump image size up to 2G (#967556)

Brian C. Lane bcl at redhat.com
Tue May 28 23:30:04 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

---
 src/pylorax/treebuilder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py
index 136aa20..2e7c43e 100644
--- a/src/pylorax/treebuilder.py
+++ b/src/pylorax/treebuilder.py
@@ -144,7 +144,7 @@ class RuntimeBuilder(object):
             runcmd(["depmod", "-a", "-F", ksyms, "-b", root, kver])
             generate_module_info(moddir+kver, outfile=moddir+"module-info")
 
-    def create_runtime(self, outfile="/var/tmp/squashfs.img", compression="xz", compressargs=[], size=1):
+    def create_runtime(self, outfile="/var/tmp/squashfs.img", compression="xz", compressargs=[], size=2):
         # make live rootfs image - must be named "LiveOS/rootfs.img" for dracut
         workdir = joinpaths(os.path.dirname(outfile), "runtime-workdir")
         if size:
-- 
1.8.1.4



More information about the anaconda-patches mailing list