lorax/src/pylorax
Brian C. Lane 13e6a68154 Always update repo metadata when building an image
When the kickstart is handed off to Anaconda for building it will
download its own copy of the metadata and re-run the depsolve. So if the
dnf cache isn't current there will be a mismatch and the build will
fail to find some of the versions in final-kickstart.ks

This adds a new context to DNFLock, .lock_check, that will force a check
of the metadata. It also implements its own timeout and forces a
refresh of the metadata when that expires because the dnf expiration
doesn't always work as expected.

Resolves: rhbz#1631561
2018-10-09 15:13:48 -07:00
..
api Always update repo metadata when building an image 2018-10-09 15:13:48 -07:00
__init__.py Add --dracut-arg support to lorax 2018-06-07 09:01:42 -07:00
base.py Fix DataHolder to handle hasattr 2016-05-04 10:34:02 -07:00
buildstamp.py Write the --variant string to .buildstamp as 'Variant=' 2018-01-17 09:38:16 -08:00
cmdline.py Increase default ram used with lmc and virt to 2048 2018-06-11 13:47:59 -07:00
creator.py Pass the --tmp value into run_creator and cleanup after a crash 2018-05-17 10:34:35 -07:00
decorators.py Convert pylorax to python3 2015-05-15 17:11:20 -07:00
discinfo.py Convert pylorax to python3 2015-05-15 17:11:20 -07:00
dnfhelper.py Rename parameters to match names that dnf uses 2017-10-09 13:38:56 -07:00
executils.py Fix pylint errors and warnings 2018-10-09 15:04:43 -07:00
imgutils.py Fix pylint errors and warnings 2018-10-09 15:04:43 -07:00
installer.py Adjust the disk size estimates to match Anaconda 2018-05-17 10:34:35 -07:00
ltmpl.py Fix pylint errors and warnings 2018-10-09 15:04:43 -07:00
monitor.py Make LogRequestHandler configurable 2018-06-11 11:04:00 -07:00
mount.py Add ppc64le kernel path 2016-09-08 12:12:07 -07:00
output.py Convert pylorax to python3 2015-05-15 17:11:20 -07:00
sysutils.py Convert pylorax to python3 2015-05-15 17:11:20 -07:00
treebuilder.py lorax: Only run depmod on the installed kernels 2018-10-09 14:51:05 -07:00
treeinfo.py Additional python3 changes 2015-05-15 17:11:20 -07:00