Skip to contentSkip to conversation

systemd: repart requires fdisk explicitly

PATCH In review Trevor Woerner 2 participants 2 messages Jul 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: repart requires fdisk explicitly

According to [1], upstream meson's default configuration policy defaulted to "auto", meaning that it would search as far and wide as it could to find things like libraries and header files when deciding which options to enable during configuration. Apparently that is no longer the case, therefore new PACKAGECONFIG options have been added to systemd to explicitly ask for some features.

systemd's repart mechanism needs fdisk, which was probably being found and used implicitly before, but now needs to be enabled explicitly.

[1] oe-core: 4ec67113e1e7 ("systemd: add libblkid and libfdisk PACKAGECONFIG options")

---
 .../rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dynamic-layers/rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend +1 -1
index cf6c188277db..ee4134d2e64d 100644
@@ -1,3 +1,3 @@
 inherit rk-rauc-demo-features-check
 
-PACKAGECONFIG:append:rk-rauc-demo = " repart openssl"
+PACKAGECONFIG:append:rk-rauc-demo = " repart openssl fdisk"
Signature · 1 line
2.44.0.501.g19981daefd7c
#1 lore raw

Hi Trevor,

Quoted 7 lines · Trevor Woerner via lists.yoctoproject.org

According to [1], upstream meson's default configuration policy defaulted to "auto", meaning that it would search as far and wide as it could to find things like libraries and header files when deciding which options to enable during configuration. Apparently that is no longer the case, therefore new PACKAGECONFIG options have been added to systemd to explicitly ask for some features.

Quoted 5 lines

systemd's repart mechanism needs fdisk, which was probably being found and used implicitly before, but now needs to be enabled explicitly.

[1] oe-core: 4ec67113e1e7 ("systemd: add libblkid and libfdisk PACKAGECONFIG options")

This is being reverted right now as far as I could tell, see https://lore.kernel.org/openembedded-core/[email protected]/T/#u

So maybe wait a bit for things to stabilize?

Adding Ross and Hiago in Cc

Cheers,
Quentin