diff mbox series

[meta-rockchip] systemd: repart requires fdisk explicitly

Message ID 20250722135829.25568-1-twoerner@gmail.com
State New
Headers show
Series [meta-rockchip] systemd: repart requires fdisk explicitly | expand

Commit Message

Trevor Woerner July 22, 2025, 1:58 p.m. UTC
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")

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 .../rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Quentin Schulz July 22, 2025, 2:07 p.m. UTC | #1
Hi Trevor,

On 7/22/25 3:58 PM, Trevor Woerner via lists.yoctoproject.org wrote:
> 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")
> 

This is being reverted right now as far as I could tell, see 
https://lore.kernel.org/openembedded-core/20250722124120.3281157-1-ross.burton@arm.com/T/#u

So maybe wait a bit for things to stabilize?

Adding Ross and Hiago in Cc

Cheers,
Quentin
diff mbox series

Patch

diff --git a/dynamic-layers/rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend b/dynamic-layers/rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend
index cf6c188277db..ee4134d2e64d 100644
--- a/dynamic-layers/rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend
+++ b/dynamic-layers/rk-rauc-demo/recipes-core/systemd/systemd_%.bbappend
@@ -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"