diff --git a/lorax.spec b/lorax.spec index ae5265f6..c086143e 100644 --- a/lorax.spec +++ b/lorax.spec @@ -136,7 +136,7 @@ Requires: libgit2 Requires: libgit2-glib Requires: python3-flask Requires: python3-gevent -Requires: anaconda-tui +Requires: anaconda-tui >= 29.19-1 Requires: qemu-img Requires: tar diff --git a/src/pylorax/api/compose.py b/src/pylorax/api/compose.py index 7a204f58..9b1e119c 100644 --- a/src/pylorax/api/compose.py +++ b/src/pylorax/api/compose.py @@ -340,9 +340,7 @@ def start_build(cfg, dnflock, gitlock, branch, recipe_name, compose_type, test_m log.debug("installed_size = %d, template_size=%d", installed_size, template_size) # Minimum LMC disk size is 1GiB, and anaconda bumps the estimated size up by 10% (which doesn't always work). - # XXX BUT Anaconda has a bug, it won't execute a kickstart on a disk smaller than 3000 MB - # XXX There is an upstream patch pending, but until then, use that as the minimum - installed_size = max(3e9, int((installed_size+template_size))) * 1.2 + installed_size = int((installed_size+template_size)) * 1.2 log.debug("/ partition size = %d", installed_size) # Create the results directory