[PATCH] ipa: Move IPA installations to a subdir

Isaac Scott isaac.scott at ideasonboard.com
Sun May 11 12:04:42 CEST 2025


Hi Kieran,

Thank you for the patch!

On Sat, 2025-05-10 at 11:07 +0200, Kieran Bingham wrote:
> 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>
> ---
>  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'

Reviewed-by: Isaac Scott <isaac.scott at ideasonboard.com>

>  


More information about the libcamera-devel mailing list