[Buildroot] [autobuild.buildroot.net] Your daily results for 2021-02-04

Peter Korsgaard peter at korsgaard.com
Fri Feb 5 21:41:48 UTC 2021


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

Hi,

 >> Ideally the package should be fixed to create those files in
 >> $DESTDIR/dev/shm rather than mess around with the host /dev/shm.
 >> 
 >> But as /dev/shm is not persistent, how does this work at runtime? What
 >> do those files do exactly?

 > They are shared memory.

 > From shm_overview(7):

 >     On Linux, shared memory objects are created in a (tmpfs(5)) virtual
 >     filesystem, normally mounted under /dev/shm. [...]

That I get.

 > There is in fact nothing wrong in creating such shm objects during the
 > build.

>From the logs it looks like they are created during the installation,
rather than during the build.

 > What is wrong, is leaving them lingering about...

Indeed. I don't particular understand why the installation step needs to
fiddle with shared memory objects in the first place, but Ok.

So these objects are only needed temporarily during installation and not
later at runtime?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list