From 69023571984e8594f5031f3e79770ff47b9162b4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 5 Apr 2020 23:53:14 -0700 Subject: systemd: Package systemd-hwdb-update.service into udev Currently, this unit is packaged into udev-hwdb which then adds it as rdep instead of rrecommends to systemd itself, this meant that even if we added udev-hwdb to BAD_RECOMMENDATIONS, it would not be respected since its a rdep, therefore move the service unit file into udev package instead, this decouples the hard runtime dependency and restores the bad recommendations expectations (From OE-Core rev: bfaaefe8346e9f0eab153981fe6a3cc63590afb5) Signed-off-by: Khem Raj Cc: Alex Kiernan Cc: Otavio Salvador Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_244.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_244.3.bb b/meta/recipes-core/systemd/systemd_244.3.bb index a68597284e..341ac6bbc5 100644 --- a/meta/recipes-core/systemd/systemd_244.3.bb +++ b/meta/recipes-core/systemd/systemd_244.3.bb @@ -628,14 +628,15 @@ FILES_udev += "${base_sbindir}/udevd \ ${sysconfdir}/init.d/systemd-udevd \ ${systemd_unitdir}/system/*udev* \ ${systemd_unitdir}/system/*.wants/*udev* \ + ${base_bindir}/systemd-hwdb \ ${base_bindir}/udevadm \ ${base_sbindir}/udevadm \ ${libexecdir}/${MLPREFIX}udevadm \ ${datadir}/bash-completion/completions/udevadm \ + ${systemd_unitdir}/system/systemd-hwdb-update.service \ " FILES_udev-hwdb = "${rootlibexecdir}/udev/hwdb.d \ - ${systemd_unitdir}/system/systemd-hwdb-update.service \ " RCONFLICTS_${PN} = "tiny-init ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'resolvconf', '', d)}" -- cgit v1.2.3-54-g00ecf