[PATCH] ipa: Move IPA installations to a subdir
Paul Elder
paul.elder at ideasonboard.com
Sun May 11 14:40:25 CEST 2025
Quoting Kieran Bingham (2025-05-10 11:07:13)
> IPAs are expected to live within a directory that is searched by the
> IPAManager. If other non-IPA so files are installed in the same
> location, then the user may be presented with an error message reporting
> that the module could not be parsed.
>
> Move IPA modules to an ipa specific subdirectory to ensure we only parse
> .so files that are expected to be IPA modules at load time.
>
> Bug: https://bugs.libcamera.org/show_bug.cgi?id=268
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> src/ipa/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/ipa/meson.build b/src/ipa/meson.build
> index 0ad4631def27..68f64b9a6fa3 100644
> --- a/src/ipa/meson.build
> +++ b/src/ipa/meson.build
> @@ -4,7 +4,7 @@ ipa_includes = [
> libcamera_includes,
> ]
>
> -ipa_install_dir = libcamera_libdir
> +ipa_install_dir = libcamera_libdir / 'ipa'
> ipa_data_dir = libcamera_datadir / 'ipa'
> ipa_sysconf_dir = libcamera_sysconfdir / 'ipa'
>
> --
> 2.49.0
>
More information about the libcamera-devel
mailing list