| Message ID | 20251122122013.1960798-4-liu.ming50@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | bash-completion.bbclass: put bash-completion package to PACKAGE_BEFORE_PN | expand |
diff --git a/meta/classes-recipe/bash-completion.bbclass b/meta/classes-recipe/bash-completion.bbclass index b656e76c09..5371d3e625 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" +PACKAGE_BEFORE_PN += "${PN}-bash-completion" FILES:${PN}-bash-completion = "${datadir}/bash-completion ${sysconfdir}/bash_completion.d"
It was observed when FILES:${PN} contains "${sysconfdir}" or "${datadir}", the bash-completion files wont be installed to bash-completion package. Fix it by putting bash-completion package to PACKAGE_BEFORE_PN, this ensures bash-completion package get the files packaged before PN. Signed-off-by: Ming Liu <liu.ming50@gmail.com> --- meta/classes-recipe/bash-completion.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)