summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd_254.4.bb
diff options
context:
space:
mode:
authorCorentin Guillevic <corentin.guillevic@smile.fr>2024-01-08 17:49:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-10 17:01:28 +0000
commit56c7ea02d29d220fae11e8bed76a75df7b523010 (patch)
treedbd3ec3fef0a7403304fddb8922b7d86c6c86e4c /meta/recipes-core/systemd/systemd_254.4.bb
parent40d0aff1c2fa0bde54f65b4d26c9fb23a6a95425 (diff)
downloadpoky-56c7ea02d29d220fae11e8bed76a75df7b523010.tar.gz
systemd: add udev-bash-completion package
Move the 'udevadm' autocompletion script into a dedicated package. Indeed, bash (and therefore, the bash-completion package) is not always installed. But the 'udevadm' autocompletion script remains in ${datadir}/bash-completion. Creating a dedicated package allows better split, and avoids installing it if the bash-completion package is missing. (From OE-Core rev: 7155ceadbd90b7c90fa0d734f8bc8b089ddd12f3) Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_254.4.bb')
-rw-r--r--meta/recipes-core/systemd/systemd_254.4.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb
index 0c12926bef..05cfc734bf 100644
--- a/meta/recipes-core/systemd/systemd_254.4.bb
+++ b/meta/recipes-core/systemd/systemd_254.4.bb
@@ -408,6 +408,7 @@ PACKAGE_BEFORE_PN = "\
408 ${PN}-zsh-completion \ 408 ${PN}-zsh-completion \
409 libsystemd-shared \ 409 libsystemd-shared \
410 udev \ 410 udev \
411 udev-bash-completion \
411 udev-hwdb \ 412 udev-hwdb \
412" 413"
413 414
@@ -721,6 +722,7 @@ FILES:libsystemd-shared = "${rootlibdir}/systemd/libsystemd-shared*.so"
721 722
722RPROVIDES:udev = "hotplug" 723RPROVIDES:udev = "hotplug"
723 724
725RDEPENDS:udev-bash-completion += "bash-completion"
724RDEPENDS:udev-hwdb += "udev" 726RDEPENDS:udev-hwdb += "udev"
725 727
726FILES:udev += "${base_sbindir}/udevd \ 728FILES:udev += "${base_sbindir}/udevd \
@@ -782,10 +784,10 @@ FILES:udev += "${base_sbindir}/udevd \
782 ${base_bindir}/systemd-hwdb \ 784 ${base_bindir}/systemd-hwdb \
783 ${base_bindir}/udevadm \ 785 ${base_bindir}/udevadm \
784 ${base_sbindir}/udevadm \ 786 ${base_sbindir}/udevadm \
785 ${datadir}/bash-completion/completions/udevadm \
786 ${systemd_system_unitdir}/systemd-hwdb-update.service \ 787 ${systemd_system_unitdir}/systemd-hwdb-update.service \
787 " 788 "
788 789
790FILES:udev-bash-completion = "${datadir}/bash-completion/completions/udevadm"
789FILES:udev-hwdb = "${rootlibexecdir}/udev/hwdb.d \ 791FILES:udev-hwdb = "${rootlibexecdir}/udev/hwdb.d \
790 " 792 "
791 793