Change NXPower Builds to use Centos 7.7 instead of Centos 7.3 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Centos 7.3.1611 no longer builds with EPEL 7 as there are unresolved
package dependencies. EPEL 7 has a dependency on the package
python-srpm-macros which was introduced in Centos 7.7. There are a
couple of other missing dependencies as well. EPEL does not provide
point in time snapshots of its code, so the only resolution is to
upgrade the distro to Centos 7.7.
This drives a second set of changes in that some of the packages
provided by NXPower are now downlevel to the distro. None of these
packages were modified by Nutanix, so they are simply being removed
from the build list. The distro provided packages will be used instead.
Downlevel packages to the distro that are being removed:
There are also directories in NXPower/versions for projects such as
docker, docker-swarm, flannel, and golang. These directories are not
built by NXPower/builds. They are simply inherited from the cloned
project open-power-host-os/versions. They could be removed.
The list of projects to be built are identified in the file
NXPower/versions/open-power-host-os/open-power-host-os.yaml. After
removing the obsolete packages above, only five projects remain:
hwdata, kernel, libvirt, qemu, and servicelog. openvswitch is also
built as it is specified in the %build section of the spec file
open-power-host-os.spec. Finally, the package nutanix-ahv and its
dependent package tunctl are built as they are explicitly listed as
package requirements in NXPower/builds/config.yaml.
Signed-off-by: Luke Browning [IBM] [email protected]