Lorax is a set of tools used to create bootable images.
c9181d06d5
At the momenet some PPC and s390 arches don't have docker, in that case we get the following failure when running lorax. DEBUG util.py:417: 2016-03-12 01:00:27,658: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:417: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:417: Traceback (most recent call last): DEBUG util.py:417: File "/usr/sbin/lorax", line 353, in <module> DEBUG util.py:417: main(sys.argv) DEBUG util.py:417: File "/usr/sbin/lorax", line 209, in main DEBUG util.py:417: remove_temp=True, verify=opts.verify) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/__init__.py", line 277, in run DEBUG util.py:417: rb.install() DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/treebuilder.py", line 119, in install DEBUG util.py:417: self._runner.run("runtime-install.tmpl") DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 219, in run DEBUG util.py:417: self._run(commands) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 238, in _run DEBUG util.py:417: f(*args) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 540, in run_pkg_transaction DEBUG util.py:417: self.dbo.resolve() DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/dnf/base.py", line 547, in resolve DEBUG util.py:417: raise exc DEBUG util.py:417: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:542: Child return code was: 1 Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org> |
||
---|---|---|
docs | ||
etc | ||
rel-eng | ||
share/templates.d/99-generic | ||
src | ||
tests | ||
utils | ||
.gitignore | ||
ANNOUNCE | ||
AUTHORS | ||
COPYING | ||
lorax.spec | ||
Makefile | ||
POLICY | ||
README | ||
requirements.txt | ||
setup.py | ||
TODO |
I am the Lorax. I speak for the trees [and images]. Tree building tools such as pungi and revisor rely on 'buildinstall' in anaconda/scripts/ to produce the boot images and other such control files in the final tree. The existing buildinstall scripts written in a mix of bash and Python are unmaintainable. Lorax is an attempt to replace them with something more flexible. EXISTING WORKFLOW: pungi and other tools call scripts/buildinstall, which in turn call other scripts to do the image building and data generation. Here's how it currently looks: -> buildinstall * process command line options * write temporary yum.conf to point to correct repo * find anaconda release RPM * unpack RPM, pull in those versions of upd-instroot, mk-images, maketreeinfo.py, makestamp.py, and buildinstall -> call upd-instroot -> call maketreeinfo.py -> call mk-images (which figures out which mk-images.ARCH to call) -> call makestamp.py * clean up PROBLEMS: The existing workflow presents some problems with maintaining the scripts. First, almost all knowledge of what goes in to the stage 1 and stage 2 images lives in upd-instroot. The mk-images* scripts copy things from the root created by upd-instroot in order to build the stage 1 image, though it's not completely clear from reading the scripts. NEW IDEAS: Create a new central driver with all information living in Python modules. Configuration files will provide the knowledge previously contained in the upd-instroot and mk-images* scripts. -- David Cantrell <dcantrell@redhat.com>