Components updates for shared and rpath
These are changes to profiles to satisfy the requirements from "checkSoftware" function from slapos.testing
, ie:
- rpath is properly set on all executables.
- shared parts are not referencing non shared parts.
Eventhough current shared was working, we had several component with the problem 2. This was a problem in the following conditions:
- because their hash was computed with a signature including the software installation path ( eg
/opt/slapgrid/e96b88e28dac4de1ba005bb48c6daac9/parts/something/
), shared parts were in practice never shared with other softwares. It was effective when re-installing the same software from scratch a second time, but not when using other softwares. - when the software was uninstalled, the shared parts stopped working because of missing paths.
As a result of these changes, some parts which used to be shared are no longer shared, but this MR also tries to share a few more parts, the goal was that all parts needed until rebootstrap were shared and also gcc and golang that are significantly large.