From: Joshua Watt Date: Mon, 18 Dec 2023 15:38:02 +0000 (-0700) Subject: bitbake.conf: Add runtimedir X-Git-Tag: yocto-5.2~4279 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90bc18108230f6d41a50cebc8348444e119e95bf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake.conf: Add runtimedir Adds the path to the runtime state directory (/run). In particular, systemd units need to have the correct path to the runtime directory because RequiresMountsFor doesn't follow symbolic links. This means that if a unit calls out a directory in /var/run (a symbolic link to /run), it may actually start before /run is mounted. The fix is to have the unit specify a directory in /run instead. Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index e7826e7af96..83b12cbc158 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -31,6 +31,7 @@ export sysconfdir = "${base_prefix}/etc" export servicedir = "${base_prefix}/srv" export sharedstatedir = "${base_prefix}/com" export localstatedir = "${base_prefix}/var" +runtimedir = "${base_prefix}/run" export datadir = "${prefix}/share" export infodir = "${datadir}/info" export mandir = "${datadir}/man"