The do_package_recalculate_ipa_signatures function re-signs IPA modules
after stripping to ensure the signature matches the installed binary.
However, it hardcoded the search path as ${PKGD}/usr/lib/libcamera which
misses aarch64 systems where libraries are installed to /usr/lib64/.This caused IPA signature validation to fail at runtime, forcing the IPA to run in isolation mode (separate process). The isolated IPA proxy then crashes with 'A list of V4L2 controls requires a ControlInfoMap' when used from GStreamer's libcamerasrc, because the proxy receives a V4L2 control list before the ControlInfoMap is established over IPC. Fix by using a path-based find pattern that works regardless of the library directory name. Signed-off-by: Jianpeng Chang <[email protected]> --- meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb index 74cb910417..60e1cdb621 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb @@ -80,7 +80,7 @@ do_package:append() { do_package_recalculate_ipa_signatures() { local modules - for module in $(find ${PKGD}/usr/lib/libcamera -name "*.so.sign"); do + for module in $(find ${PKGD}${libdir}/libcamera -name "*.so.sign"); do module="${module%.sign}" if [ -f "${module}" ] ; then modules="${modules} ${module}" -- 2.54.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237020): https://lists.openembedded.org/g/openembedded-core/message/237020 Mute This Topic: https://lists.openembedded.org/mt/119310463/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
