Hi, Ross:

I was using exact PACKAGES_BEFORE_PN with += as you suggested in V1 patch,
but it broke the build, clearly PACKAGES_BEFORE_PN is not handled correctly
in some recipes.

//Ming Liu

Ross Burton <[email protected]> 於 2025年11月10日 週一 下午6:54寫道:

> On 9 Nov 2025, at 17:34, Ming Liu via lists.openembedded.org <liu.ming50=
> [email protected]> wrote:
> >
> > It was observed when FILES:${PN} contains "${sysconfdir}" or
> > "${datadir}", the bash-completion files wont be installed to
> > bash-completion package.
> >
> > Fix it by prepending bash-completion package to PACKAGES, this
> > ensures bash-completion package get the files packaged before PN.
> >
> > Signed-off-by: Ming Liu <[email protected]>
> > ---
> > meta/classes-recipe/bash-completion.bbclass | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/classes-recipe/bash-completion.bbclass
> b/meta/classes-recipe/bash-completion.bbclass
> > index b656e76c09..e337c2045d 100644
> > --- a/meta/classes-recipe/bash-completion.bbclass
> > +++ b/meta/classes-recipe/bash-completion.bbclass
> > @@ -6,7 +6,7 @@
> >
> > DEPENDS:append:class-target = " bash-completion"
> >
> > -PACKAGES += "${PN}-bash-completion"
> > +PACKAGES:prepend = "${PN}-bash-completion “
>
> Please use PACKAGES_BEFORE_PN for this, and just +=.
>
> Ross
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226151): 
https://lists.openembedded.org/g/openembedded-core/message/226151
Mute This Topic: https://lists.openembedded.org/mt/116205797/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to