Lets see…
Using the 7.6 base and update, I did a yum update of the container to 7.6.
Committed container and restarted it.
That corrected the uname and /etc/*-release conflict.
I then still had to do the “yum install kernel-devel-3.10.0-957.el7.x86_64”.
The mlnofedinstall script then ran and reported the same error (run the same install again).
Then I tried just committing the container and restarting it again.
Same issue. The ofed complains about the dependency.
Package is already installed and latest version.
“kernel-devel-3.10.0-957.el7.x86_64” which equates to “kernel-devel-3.10.0-957.12.2.el7.x86_64” per yum update.
from the “MLNX_OFED_LINUX-4.7-1.0.0.1-rehl7.6-x86_64.iso”:
./mlnxofedinstall --without-fw-update --all --force --without-32bit --add-kernel-support
/lib/modules/3.10.0-957.el7.x86_64/build/scripts is required to build mlnx-ofa_kernel RPM.
Please install the corresponding kernel-source or kernel-devel RPM.
Error: One of more required packages for installing OFED-internal are missing.
Please install the missing packages using your Linux distribution Package Management tool.
Run:
yum install kernel-devel-3.10.0.957.el7.x86.64
Failed to build MLNX_OFED_LINUX for 3.10.0-957.el7.x86_64
yum install kernel-devel-3.10.0.957.el7.x86.64
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
Package kernel-devel-3.10.0-957.el7.x86_64 already installed and latest version
Nothing to do
So… I’m stuck again.