From: Jörg Sommer <[email protected]> If *volatile-binds* gets removed from RDEPENDS, the /srv directory is not part of the image, and tmpfiles tries to create it on boot, but fails on a read-only rootfs:
systemd-tmpfiles: /srv does not exist and cannot be created as the file system is read-only. Signed-off-by: Jörg Sommer <[email protected]> --- meta/recipes-core/systemd/systemd_259.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_259.5.bb b/meta/recipes-core/systemd/systemd_259.5.bb index 0fbfcaba42..447974373f 100644 --- a/meta/recipes-core/systemd/systemd_259.5.bb +++ b/meta/recipes-core/systemd/systemd_259.5.bb @@ -266,7 +266,7 @@ do_install() { sed -i -e 's#/root#${ROOT_HOME}#g' ${D}${exec_prefix}/lib/sysusers.d/basic.conf fi fi - install -d ${D}/${base_sbindir} + install -d ${D}${base_sbindir} ${D}${servicedir} if ! ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 'true', 'false', d)}; then # Remove the serial-getty generator and instead use explicit services -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240284): https://lists.openembedded.org/g/openembedded-core/message/240284 Mute This Topic: https://lists.openembedded.org/mt/120143150/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
