summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-12-18 08:38:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-20 07:44:46 +0000
commit90bc18108230f6d41a50cebc8348444e119e95bf (patch)
tree8661c77892de4c6be82cd083ec8787c936468a59 /meta/conf/bitbake.conf
parentdd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662 (diff)
downloadopenembedded-core-90bc18108230f6d41a50cebc8348444e119e95bf.tar.gz
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 <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e7826e7af9..83b12cbc15 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"