
In a couple of places we use flock for critical sections, but we leave lockfiles around in various locations which can be confusing. Introduce DIB_LOCKFILES global (under ~/.cache/dib/lockfiles) and write lockfiles in there. Fix up removal of the lockfile in the yum path; we just want to make sure we cleanup the .rpmmacros file, but we don't need to remove the lockfile as well. Co-Authored-By: Andreas Florath <andreas@florath.net> Change-Id: Ie810b2836be521325afe923708d046112e1e1e20
ubuntu-core
Use Ubuntu Core cloud images as the baseline for built disk images.
Overrides:
- To use a non-default URL for downloading base Ubuntu cloud images, use the environment variable DIB_CLOUD_IMAGES
- To download a non-default release of Ubuntu cloud images, use the environment variable DIB_RELEASE
- To use different mirrors rather than the default of archive.ubuntu.com and security.ubuntu.com, use the environment variable DIB_DISTRIBUTION_MIRROR