All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][PATCH 1/2] bitbake.conf: Add runtimedir
@ 2023-12-15 20:34 Joshua Watt
  2023-12-15 20:34 ` [OE-core][PATCH 2/2] rpcbind: Specify state directory under /run Joshua Watt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Joshua Watt @ 2023-12-15 20:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Joshua Watt

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(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index e7826e7af96..55166d01784 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"
+export runtimedir = "${base_prefix}/run"
 export datadir = "${prefix}/share"
 export infodir = "${datadir}/info"
 export mandir = "${datadir}/man"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-18 15:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15 20:34 [OE-core][PATCH 1/2] bitbake.conf: Add runtimedir Joshua Watt
2023-12-15 20:34 ` [OE-core][PATCH 2/2] rpcbind: Specify state directory under /run Joshua Watt
2023-12-15 22:47 ` [OE-core][PATCH 1/2] bitbake.conf: Add runtimedir Richard Purdie
2023-12-15 23:47   ` Joshua Watt
2023-12-15 23:49     ` Richard Purdie
2023-12-18 15:38 ` [OE-core][PATCH v2] " Joshua Watt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.