Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] systemd: drop libmount dependency and add blkid and fdisk PACKAGECONFIGs
@ 2025-07-16 23:29 Hiago De Franco
  2025-07-16 23:29 ` [PATCH 1/2] systemd: drop build dependency on util-linux Hiago De Franco
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Hiago De Franco @ 2025-07-16 23:29 UTC (permalink / raw)
  To: openembedded-core; +Cc: Chen Qi, Alexander Kanavin, Hiago De Franco

From: Hiago De Franco <hiago.franco@toradex.com>

The libmount dependency in systemd was made optional upstream [2]. This
series backports that change, allowing us to drop util-linux as a build
dependency for systemd. This resolves a circular dependency between
util-linux and systemd when systemd PACKAGECONFIG is enabled in
util-linux. Without this fix, each recipe depends on the other,
triggering the circular dependency error.

Note that this alone does not fully resolve the circular dependency
on util-linux-fstrim/uuid. There is another one:

glib-2.0 -> util-linux -> systemd -> shared-mime-info -> glib-2.0

But the libmount PACKAGECONFIG can be removed from glib-2.0 to break its
dependency on util-linux.

In addition, according to systemd's README [2], the dependencies on
libblkid and libfdisk from util-linux are optional, so add them as new
PACKAGECONFIGs.

[1] https://github.com/systemd/systemd/commit/d1ee3889cf8e8a9edc82e41d306155fb4c531c8f
[2] https://github.com/systemd/systemd/blob/main/README#L216

Hiago De Franco (2):
  systemd: drop build dependency on util-linux
  systemd: add libblkid and libfdisk PACKAGECONFIG options

 .../0001-meson-Add-libmount-feature.patch     | 58 +++++++++++++++++++
 meta/recipes-core/systemd/systemd_257.6.bb    |  9 ++-
 2 files changed, 65 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/systemd/systemd/0001-meson-Add-libmount-feature.patch

-- 
2.39.5



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-07-17 19:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 23:29 [PATCH 0/2] systemd: drop libmount dependency and add blkid and fdisk PACKAGECONFIGs Hiago De Franco
2025-07-16 23:29 ` [PATCH 1/2] systemd: drop build dependency on util-linux Hiago De Franco
2025-07-17  9:53   ` Alexander Kanavin
     [not found]   ` <1853013D626CB3EF.8991@lists.openembedded.org>
2025-07-17  9:56     ` [OE-core] " Alexander Kanavin
2025-07-17 12:55       ` Hiago De Franco
2025-07-16 23:29 ` [PATCH 2/2] systemd: add libblkid and libfdisk PACKAGECONFIG options Hiago De Franco
2025-07-17  9:49 ` [OE-core] [PATCH 0/2] systemd: drop libmount dependency and add blkid and fdisk PACKAGECONFIGs Mathieu Dubois-Briand
2025-07-17 12:57   ` Hiago De Franco
2025-07-17 19:51     ` Hiago De Franco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox