Closed apldev4 closed 5 years ago
To add more description to the issue, the main problem is the rpm-post-install.sh is trying to link libcurl.so to /usr/lib64 on systems where that link already exists. Naturally, this fails and due to the set -e
at the top of the post install script, the whole script fails and dies on the spot rather than linking the hirs-provisioner-tpm2 and tpm_aca_provision binaries to the proper directories.
If libcurl package is installed, the link we are trying to create would be there anyway because the libcurl package runs ldconfig as part of its post install step.
Removing the link created an issue whereby the Docker image was not finding the libcurl.so file. This seems to be resolved by updating the package requirements to include the developer libraries of libcurl rather than just libcurl itself.
The build guides will need updated after the MR for this goes through.
The guides have been updated.
hirs-provisioner-tpm2 not on path after installation. Something is going wrong in the RPM installation.