meta-digi/meta-digi-arm/recipes-bsp/trustfence-stm-signtools
Hector Palacios d3a7fef257 trustfence-stm-signtools: rework package so that the tools are accessible
The STM signtools are precompiled binaries with a fixed RPATH to look for
dynamic libraries.
When the binaries are installed to the regular ${bindir} (either native or
nativesdk), additional toolchain libraries in the regular ${libdir} folder
confuse the binaries, resulting in segmentation faults when running them
or missing symbols.

The package has been reworked to place the directory structure expected
by the binaries, in a subfolder "stm" within the ${bindir}.
Two wrapper scripts with the names of the binaries (STM32MP_KeyGen_CLI and
STM32MP_SigningTool_CLI) have been created to run the binaries in the new
subfolder.
Package version has been bumped to 1.1.

While on it, remove the 'do_install' from trustfence-stm-signtools.inc
which is not needed because the 'bin_package' class already provides the
same functionality.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-8720
2023-10-03 11:27:24 +02:00
..
nativesdk-trustfence-stm-signtools_1.1.bb trustfence-stm-signtools: rework package so that the tools are accessible 2023-10-03 11:27:24 +02:00
trustfence-stm-signtools-native_1.1.bb trustfence-stm-signtools: rework package so that the tools are accessible 2023-10-03 11:27:24 +02:00
trustfence-stm-signtools.inc trustfence-stm-signtools: rework package so that the tools are accessible 2023-10-03 11:27:24 +02:00