Message ID | 20231218153802.3897468-1-JPEWhacker@gmail.com |
---|---|
State | Accepted, archived |
Commit | 90bc18108230f6d41a50cebc8348444e119e95bf |
Headers | show |
Series | [v2] bitbake.conf: Add runtimedir | expand |
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"
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> --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+)