]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd: Populate udev-bash-completion before bash-completion
authorJörg Sommer <joerg.sommer@navimatix.de>
Wed, 18 Mar 2026 05:16:44 +0000 (06:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Mar 2026 16:47:14 +0000 (16:47 +0000)
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 <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_259.5.bb

index 2060b0cde59f368f2e4dec285e63f6d7c513d34e..f0cc83095dade0ca5fe4b390b00c37be04171eae 100644 (file)
@@ -392,10 +392,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."