On Fri, 2023-12-15 at 16:47 -0700, Joshua Watt wrote:
> On Fri, Dec 15, 2023 at 3:47 PM Richard Purdie
> <[email protected]> wrote:
> > 
> > On Fri, 2023-12-15 at 13:34 -0700, Joshua Watt wrote:
> > > 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 <[email protected]>
> > > ---
> > >  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"
> > 
> > Is there anything currently using that from the shell environment?
> 
> No, nothing is using it today.
> 
> > 
> > Most of this is historical and in many cases not necessary so I'm not
> > sure we want to add to it...
> 
> Ya fair. Are you saying we shouldn't export it, or we shouldn't add it
> at all. I'm fine with either way, the latter just means open-coding it
> as "/run" where necessary (e.g. the rpcbind patch)

I'm just saying not to export it. We have enough of a mess already in
the environment!

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192553): 
https://lists.openembedded.org/g/openembedded-core/message/192553
Mute This Topic: https://lists.openembedded.org/mt/103198396/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to