[OE-core] [PATCH 1/1] useradd_base.bbclass: fix simultaneous with flock

Burton, Ross ross.burton at intel.com
Mon Feb 15 12:31:02 UTC 2016


On 15 February 2016 at 01:59, <kai.kang at windriver.com> wrote:

> +               eval flock -x -w 100 $rootdir/tmp/user-and-group-ops.flock
> -c  \'$PSEUDO useradd $opts\' || true
>

This is a great patch, but why not just flock $rootdir/etc instead of new
file in tmp?    Surely images end up being created with
/tmp/user-and-group-ops.flock in them?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160215/3db84af8/attachment-0002.html>


More information about the Openembedded-core mailing list