Skip to content

Draft: Add custom step that removes rpath from binaries on linux

Rubén Gonzalez requested to merge rgonzalez/cerbero:gsthf_rpath_step into main

Step 'delete_rpath' is custom and might be activated by setting extra_property['no_rpath'] to True in the cbc. When this is done, all ELF files that are specified in the recipe will have the rpath removed.

Use patchelf instead of chrpath to ensure a fixed version. chrpath 0.13 provided in CentOS6 can't delete rpath from 32bit ELF files on a 64bit system.

Merge request reports

Loading