[bitbake-devel] /run/user/<id>/bb

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Tue Jan 8 20:03:27 UTC 2019


On Mon, 2019-01-07 at 20:48 +0000, Slater, Joseph wrote:
> Specifically, libassuan, which is used by gpg, puts named sockets
> under GPG_PATH and that is set by sign_rpm_ext.bbclass to be under
> TMPDIR, although we could override that.  I think that libassuan
> computes the absolute pathname to create the socket.  I admit that I
> did not look very hard at libassuan, but a fix did not seem
> immediately obvious.
> 
> Having a RUNDIR might not be a good idea, though, because it opens
> the issue of how it gets cleaned up if the user never logs out.

That as well as how we differentiate between multiple builds from the
same user or even different multiconfigs within the same build.

I suspect there are safer ways to handle this within TMPDIR even if we
have to patch things...

Cheers,

Richard



More information about the bitbake-devel mailing list