Lorax is a set of tools used to create bootable images.
75400f6a7f
lorax uses pyanaconda's SimpleConfigParser in three different places (twice with a copy that's been dumped into pylorax, once by importing it), just to do a fairly simple job: read some values out of /etc/os-release. The only value SimpleConfigParser is adding over Python's own ConfigParser here is to read a file with no section headers, and to unquote the values. The cost is either a dependency on pyanaconda, or needing to copy the whole of simpleparser plus some other utility bits from pyanaconda into lorax. This seems like a bad trade-off. This changes the approach: we copy one very simple utility function from pyanaconda (`unquote`), and do some very simple wrapping of ConfigParser to handle reading a file without any section headers, and returning unquoted values. This way we can read what we need out of os-release without needing a dep on pyanaconda or to copy lots of things from it into pylorax. Resolves: #449 Resolves: #450 Signed-off-by: Adam Williamson <awilliam@redhat.com> |
||
---|---|---|
docs | ||
etc | ||
rel-eng | ||
share | ||
src | ||
systemd | ||
tests | ||
utils | ||
.coveragerc | ||
.dockerignore | ||
.gitignore | ||
.travis.yml | ||
ANNOUNCE | ||
AUTHORS | ||
COPYING | ||
Dockerfile.test | ||
lorax.spec | ||
Makefile | ||
POLICY | ||
README.md | ||
requirements.txt | ||
setup.py | ||
TODO |
Lorax is a set of tools used to create bootable images.
- lorax - creates the Anaconda boot.iso used to install Fedora
- livemedia-creator - uses Anaconda to create bootable images
- lorax-composer - API server implementing the Weldr BDCS protocol using livemedia-creator
See the Weldr blog for more info about BDCS and the Lorax documentation for more information about Lorax and associated tools.