a00d02f6a1
Several people have popped up in IRC recently with failures in these elements. Without Python 2.7 available in the image they are unsupported (OpenStack hasn't supported it for a long time). Remove these to avoid further confusion. The centos/centos7 DISTRO split that has happened with centos-minimal is unfortunate but I don't think it helps to rename centos7/rhel7 ATM. To summarise; DISTRO=centos7 means image based build, DISTRO=centos && DIB_RELEASE=7 means the minimal build. In the future, I think it is important that the minimal builds and image builds set the same DISTRO. This reflects that "upper" layers shouldn't care about the exact building of the lower layers. I see CentOS 8 going one of two ways 1) the changes are so significant, we start separate centos8 / centos8-minimal elements. They both set DISTRO=centos8 (and DIB_RELEASE to point-release maybe?). This means we have to update all "if DISTRO == centos || DISTRO == centos7" branches to also check for "centos8". Evenually (!) "centos" goes away for versioned DISTRO only 2) we restore centos element with DISTRO=centos and DIB_RELEASE=8, and centos-minimal remains the same. This means we have to audit all "if DISTRO == centos" calls to make sure they're appropriate for version 8 (stick a "&& DIB_RELEASE=7" on them all basically). I'm not sure we can fully decide until we start to see excatly how the distro switching/matching bits look, but (2) is consistent with Ubuntu and probably the preferred solution. Some "rhel" parts have been cleaned up. More could be done in rhel-common, but given our lack of coverage of that I'd prefer to leave it for now. Change-Id: I6ea784116ef59ca22878c8512c963f29c815a00a
22 lines
475 B
Text
22 lines
475 B
Text
{
|
|
"family": {
|
|
"redhat": {
|
|
"tgt": "scsi-target-utils",
|
|
"curl": "curl",
|
|
"ironic-python-agent": "openstack-ironic-python-agent",
|
|
"qemu-utils": "qemu-img",
|
|
"python-dev": "python2-devel"
|
|
},
|
|
"debian": {
|
|
"tgt": "tgt",
|
|
"curl": "curl"
|
|
}
|
|
},
|
|
"default": {
|
|
"tgt": "tgt",
|
|
"curl": "curl",
|
|
"ironic-python-agent": "openstack-ironic-python-agent",
|
|
"qemu-utils": "qemu-utils",
|
|
"python-dev": "python-dev"
|
|
}
|
|
}
|