* [PATCH] systemd-systemctl: Add support for UpheldBy fields in [Install] section
@ 2026-06-25 15:59 Torben Hohn via B4 Relay
2026-06-26 15:04 ` [OE-core] " Mathieu Dubois-Briand
0 siblings, 1 reply; 2+ messages in thread
From: Torben Hohn via B4 Relay @ 2026-06-25 15:59 UTC (permalink / raw)
To: openembedded-core; +Cc: Torben Hohn
From: Torben Hohn <torben.hohn@bruker.com>
UpheldBy generates *.upholds links in the same way WantedBy generates
*.wants links, when systemctl enable is executed. This feature is needed
to have a service restart, when a dependency restarts, and
the service is stopped via BindsTo= for example.
Call self._process_deps() with appropriate parameters to support UpheldBy.
Signed-off-by: Torben Hohn <torben.hohn@bruker.com>
---
meta/recipes-core/systemd/systemd-systemctl/systemctl | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/systemd/systemd-systemctl/systemctl b/meta/recipes-core/systemd/systemd-systemctl/systemctl
index 2229bc7b6d26c757414715341ff79d8a76034c8d..0171d2fca639ed452af9295c6a3cfd3c7102f67c 100755
--- a/meta/recipes-core/systemd/systemd-systemctl/systemctl
+++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl
@@ -244,6 +244,7 @@ class SystemdUnit():
self._process_deps(config, service, path, 'WantedBy', 'wants', instance)
self._process_deps(config, service, path, 'RequiredBy', 'requires', instance)
+ self._process_deps(config, service, path, 'UpheldBy', 'upholds', instance)
try:
for also in config.get('Install', 'Also'):
---
base-commit: 78626a6f1861361bbd78a411cb27b093e34b466b
change-id: 20260625-systemctl-upheldby-83526607c5d2
Best regards,
--
Torben Hohn <torben.hohn@bruker.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] systemd-systemctl: Add support for UpheldBy fields in [Install] section
2026-06-25 15:59 [PATCH] systemd-systemctl: Add support for UpheldBy fields in [Install] section Torben Hohn via B4 Relay
@ 2026-06-26 15:04 ` Mathieu Dubois-Briand
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Dubois-Briand @ 2026-06-26 15:04 UTC (permalink / raw)
To: devnull+torben.hohn.bruker.com, openembedded-core; +Cc: Torben Hohn
On Thu Jun 25, 2026 at 5:59 PM CEST, Torben Hohn via B4 Relay via lists.openembedded.org wrote:
> From: Torben Hohn <torben.hohn@bruker.com>
>
> UpheldBy generates *.upholds links in the same way WantedBy generates
> *.wants links, when systemctl enable is executed. This feature is needed
> to have a service restart, when a dependency restarts, and
> the service is stopped via BindsTo= for example.
>
> Call self._process_deps() with appropriate parameters to support UpheldBy.
>
> Signed-off-by: Torben Hohn <torben.hohn@bruker.com>
Hi Torben,
Thanks for your patch.
Can you confirm this is targeting the master branch? It looks like this
file was removed last year:
https://git.openembedded.org/openembedded-core/commit/?id=7a580800db39
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-26 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 15:59 [PATCH] systemd-systemctl: Add support for UpheldBy fields in [Install] section Torben Hohn via B4 Relay
2026-06-26 15:04 ` [OE-core] " Mathieu Dubois-Briand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox