* [PATCH] systemd: Package systemd-hwdb-update.service into udev
@ 2020-04-06 6:53 Khem Raj
2020-04-06 10:06 ` Alex Kiernan
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2020-04-06 6:53 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj, Alex Kiernan, Otavio Salvador
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
---
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)}"
--
2.26.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] systemd: Package systemd-hwdb-update.service into udev
2020-04-06 6:53 [PATCH] systemd: Package systemd-hwdb-update.service into udev Khem Raj
@ 2020-04-06 10:06 ` Alex Kiernan
0 siblings, 0 replies; 2+ messages in thread
From: Alex Kiernan @ 2020-04-06 10:06 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer, Otavio Salvador
On Mon, Apr 6, 2020 at 7:53 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> 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
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Cc: Alex Kiernan <alex.kiernan@gmail.com>
> Cc: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Alex Kiernan <alex.kiernan@gmail.com>
--
Alex Kiernan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-06 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 6:53 [PATCH] systemd: Package systemd-hwdb-update.service into udev Khem Raj
2020-04-06 10:06 ` Alex Kiernan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.