diff options
| author | Corentin Guillevic <corentin.guillevic@smile.fr> | 2024-01-08 17:49:57 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-10 17:01:28 +0000 |
| commit | 56c7ea02d29d220fae11e8bed76a75df7b523010 (patch) | |
| tree | dbd3ec3fef0a7403304fddb8922b7d86c6c86e4c | |
| parent | 40d0aff1c2fa0bde54f65b4d26c9fb23a6a95425 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/recipes-core/systemd/systemd_254.4.bb | 4 |
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 | ||
| 722 | RPROVIDES:udev = "hotplug" | 723 | RPROVIDES:udev = "hotplug" |
| 723 | 724 | ||
| 725 | RDEPENDS:udev-bash-completion += "bash-completion" | ||
| 724 | RDEPENDS:udev-hwdb += "udev" | 726 | RDEPENDS:udev-hwdb += "udev" |
| 725 | 727 | ||
| 726 | FILES:udev += "${base_sbindir}/udevd \ | 728 | FILES: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 | ||
| 790 | FILES:udev-bash-completion = "${datadir}/bash-completion/completions/udevadm" | ||
| 789 | FILES:udev-hwdb = "${rootlibexecdir}/udev/hwdb.d \ | 791 | FILES:udev-hwdb = "${rootlibexecdir}/udev/hwdb.d \ |
| 790 | " | 792 | " |
| 791 | 793 | ||
