From: Jörg Sommer <[email protected]>

The `inherit bash-completion` places its package at the front of
PACKAGE_BEFORE_PN. So this picks up the udevadm file before
udev-bash-completion is populated. Therefore, u-b-c has to go to the front
of PACKAGE_BEFORE_PN.

Signed-off-by: Jörg Sommer <[email protected]>
---

An alternative solution would be to use PACKAGE_BEFORE_PN:append in 
bash-completion.bbclass.

 meta/recipes-core/systemd/systemd_259.3.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_259.3.bb 
b/meta/recipes-core/systemd/systemd_259.3.bb
index bcb8fe3d9c..4663753476 100644
--- a/meta/recipes-core/systemd/systemd_259.3.bb
+++ b/meta/recipes-core/systemd/systemd_259.3.bb
@@ -387,10 +387,14 @@ PACKAGE_BEFORE_PN += "\
     ${PN}-zsh-completion \
     libsystemd-shared \
     udev \
-    udev-bash-completion \
     udev-hwdb \
 "
 
+# pick the files before bash-completion.bbclass
+PACKAGE_BEFORE_PN =+ "\
+    udev-bash-completion \
+"
+
 SUMMARY:${PN}-container = "Tools for containers and VMs"
 DESCRIPTION:${PN}-container = "Systemd tools to spawn and manage containers 
and virtual machines."
 
-- 
2.53.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233357): 
https://lists.openembedded.org/g/openembedded-core/message/233357
Mute This Topic: https://lists.openembedded.org/mt/118378514/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to