On Thu, 2023-09-07 at 11:38 +0000, Eilís 'pidge' Ní Fhlannagáin wrote:
> [YOCTO #15023]
> 
> This patch fixes building the sdk with api-documentation enabled by
> appending PATH with the nativesdk-intercept directory which contains a
> special version of chown and chgrp.
> 
> Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pi...@baylibre.com>
> ---
>  meta/classes-recipe/populate_sdk_base.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes-recipe/populate_sdk_base.bbclass 
> b/meta/classes-recipe/populate_sdk_base.bbclass
> index b23ea26d409..632266cc162 100644
> --- a/meta/classes-recipe/populate_sdk_base.bbclass
> +++ b/meta/classes-recipe/populate_sdk_base.bbclass
> @@ -17,6 +17,7 @@ COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg'
>  COMPLEMENTARY_GLOB[src-pkgs] = '*-src'
>  COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ${MLPREFIX}ptest-runner'
>  COMPLEMENTARY_GLOB[bash-completion-pkgs] = '*-bash-completion'
> +PATH:prepend = "${COREBASE}/scripts/nativesdk-intercept:"
>  
>  def complementary_globs(featurevar, d):
>      all_globs = d.getVarFlags('COMPLEMENTARY_GLOB')

Sorry to be the bearer of bad news but that won't work. The class is
included for normal rootfs generation as well as sdk generation and so
it would add the intercepts for normal rootfs too :(

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#187384): 
https://lists.openembedded.org/g/openembedded-core/message/187384
Mute This Topic: https://lists.openembedded.org/mt/101212344/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to