diff mbox series

[2/5] connman: Create ${sysconfdir} for systemd images

Message ID 20250417-connman-fixes-v1-2-160b2b811116@gmail.com
State New
Headers show
Series connman: Pick fixes from previous series | expand

Commit Message

Alex Kiernan April 17, 2025, 3:29 a.m. UTC
Depending on what set of PACKAGECONFIG options you have, ${sysconfdir} may not
have been created.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
 meta/recipes-connectivity/connman/connman_1.44.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/connman/connman_1.44.bb b/meta/recipes-connectivity/connman/connman_1.44.bb
index 33b1ca0680b076bb3fb2b0bf1261eca1f81bcd59..bbe3585dc72ff64ecda74d866f119dc3b71e4fcf 100644
--- a/meta/recipes-connectivity/connman/connman_1.44.bb
+++ b/meta/recipes-connectivity/connman/connman_1.44.bb
@@ -115,6 +115,7 @@  do_install:append() {
 
 	# For read-only filesystem, do not create links during bootup
 	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+		install -d ${D}${sysconfdir}
 		ln -sf ../run/connman/resolv.conf ${D}${sysconfdir}/resolv-conf.connman
 	fi
 }