diskimage-builder/diskimage_builder/elements/rpm-distro/pre-install.d
Tristan Cacqueray 25964c5c5b rpm-distro: set the contentdir yum var
Since CentOS-7.5, a new yum variable is needed for SIG repositories.
This change replicates the %post task of the centos-release package
to setup the contentdir yum var. This should fix issues when
repository url uses $contentdir and yum fail with:
http://mirror.centos.org/%24contentdir ... [Errno 14] HTTP Error 404 - Not Found

For more details see:

https://lists.centos.org/pipermail/centos-devel/2018-March/016542.html

This change also drops support for fedora without dnf.

Change-Id: I1819a48b94670577b0c5e29b24cebfb20ea07d28
2018-05-14 05:38:37 +00:00
..
00-fix-requiretty Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
00-usr-local-bin-secure-path Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
01-override-yum-arch rpm-distro: set the contentdir yum var 2018-05-14 05:38:37 +00:00