Skip to contentSkip to conversation

rauc: update keyring path for meta-rauc relocation

PATCH In review Trevor Woerner 2 participants 3 messages Jul 9 – Jul 11

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rauc: update keyring path for meta-rauc relocation

meta-rauc moved the keyring installation directory from ${sysconfdir}/rauc (/etc/rauc) to ${nonarch_libdir}/rauc (/usr/lib/rauc) in rauc-conf.bb [1]. Update system.conf to match the new location so RAUC can find the verification certificate at runtime.

[1] meta-rauc: 01f7e1bbde16 ("rauc: prepare for hermetic /usr/")

AI-Generated: codex/claude-sonnet 4.6 (high)

---
 dynamic-layers/rk-rauc-demo/recipes-core/rauc/files/system.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dynamic-layers/rk-rauc-demo/recipes-core/rauc/files/system.conf +1 -1
index 4945c67345c4..06a043c67a79 100644
@@ -4,7 +4,7 @@ bootloader=uboot
 data-directory=/data/
 
 [keyring]
-path=/etc/rauc/ca.cert.pem
+path=/usr/lib/rauc/ca.cert.pem
 
 [slot.rootfs.0]
 device=/dev/disk/by-partlabel/rootfsA
Signature · 1 line
2.50.0.173.g8b6f19ccfc3a
Reviewed-by on v1 1/1
#1 lore raw

Hi Trevor,

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

meta-rauc moved the keyring installation directory from ${sysconfdir}/rauc (/etc/rauc) to ${nonarch_libdir}/rauc (/usr/lib/rauc) in rauc-conf.bb [1]. Update system.conf to match the new location so RAUC can find the verification certificate at runtime.

[1] meta-rauc: 01f7e1bbde16 ("rauc: prepare for hermetic /usr/")

AI-Generated: codex/claude-sonnet 4.6 (high)

Thanks!
Quentin

author Applied
#2 lore raw

Applied to meta-rockchip, master branch.
Thanks!

Quoted 29 lines · Quentin Schulz via lists.yoctoproject.org

Hi Trevor,

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

meta-rauc moved the keyring installation directory from ${sysconfdir}/rauc (/etc/rauc) to ${nonarch_libdir}/rauc (/usr/lib/rauc) in rauc-conf.bb [1]. Update system.conf to match the new location so RAUC can find the verification certificate at runtime.

[1] meta-rauc: 01f7e1bbde16 ("rauc: prepare for hermetic /usr/")

AI-Generated: codex/claude-sonnet 4.6 (high)

Thanks!
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4466): https://lists.yoctoproject.org/g/yocto-patches/message/4466
Mute This Topic: https://lists.yoctoproject.org/mt/120198775/900817
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13168745/900817/63955952/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-