Lorax is a set of tools used to create bootable images.
Go to file
Alexander Todorov 9c17c0cc6c Copy blueprints used for testing to temporary directory
If trying to execute test_cli.sh inside a git checkout
we are going to get the following exception:

Traceback (most recent call last):
  File "./src/sbin/lorax-composer", line 251, in <module>
    repo = open_or_create_repo(server.config["REPO_DIR"])
  File "/home/jenkins/lorax/src/pylorax/api/recipes.py", line 306, in open_or_create_repo
gi.repository.GLib.Error: ggit-error: failed to stat '/home/jenkins/lorax/tests/pylorax/blueprints': Permission denied (-1)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python3.7/multiprocessing/popen_fork.py", line 54, in _send_signal
    os.kill(self.pid, sig)

From what I can tell open_or_create_repo() is trying to initialize
a git repository inside the blueprints directory which fails when
we have an active git checkout.

This doesn't happen when we run the tests in Travis CI because
rsync excludes .git/ inside the Docker container.

(cherry picked from commit c9d706a382)
2019-05-03 16:43:35 -07:00
docs Update docs with info about ssh keys 2019-05-03 16:36:58 -07:00
etc Revert "Rename composer-cli to composer" 2018-10-08 15:51:24 -07:00
rel-eng Automatic commit of package [lorax] release [29.27-1]. 2019-02-28 10:55:13 -08:00
share Fix make_appliance and the libvirt.tmpl 2019-05-03 16:38:54 -07:00
src Create a kpartx_disk_img function 2019-05-03 16:39:12 -07:00
systemd lorax: Move default tmp dir to /var/tmp/lorax 2019-01-29 13:58:19 -08:00
tests Copy blueprints used for testing to temporary directory 2019-05-03 16:43:35 -07:00
utils Update things to make pylint 1.5.1 happy 2015-12-16 12:59:48 -08:00
.coveragerc Enable testing in Travis and collecting of coverage history 2018-04-26 22:33:34 +03:00
.dockerignore Update .dockerignore 2018-05-14 13:00:14 -07:00
.gitignore Fix reporting of coverage results to coverall.io 2019-05-03 16:40:42 -07:00
.travis.yml Fix reporting of coverage results to coverall.io 2019-05-03 16:40:42 -07:00
ANNOUNCE Added draft on initial announce email as I keep adding to it. 2008-10-06 09:51:01 -10:00
AUTHORS add wwoods to AUTHORS 2011-10-26 12:36:06 -04:00
COPYING Initial project description files imported. 2008-09-11 14:16:39 -10:00
Dockerfile.test Fix reporting of coverage results to coverall.io 2019-05-03 16:40:42 -07:00
HACKING.md Start a HACKING.md file and document how to run the tests 2018-10-05 09:09:10 -07:00
lorax.spec Add tests for pylorax.imgutils 2019-05-03 16:39:05 -07:00
Makefile Add make targets for Jenkins 2019-05-03 16:43:28 -07:00
POLICY Update TODO and POLICY to reflect the current state of things 2012-01-06 14:41:21 -05:00
README.md Update the README with relevant URLs 2018-05-14 14:44:13 -07:00
requirements.txt Mock more modules for RTD 2015-04-09 11:01:20 -07:00
setup.py lorax: Move default tmp dir to /var/tmp/lorax 2019-01-29 13:58:19 -08:00
TODO Update TODO and POLICY to reflect the current state of things 2012-01-06 14:41:21 -05:00

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.