[OE-core] [PATCH 0/1] V4: Replace retry logic in useradd with flock

kai.kang at windriver.com kai.kang at windriver.com
Mon Feb 29 09:19:31 UTC 2016


From: Kai Kang <kai.kang at windriver.com>

V4:
* re-add check whether user/group exist


Hi Ross,

I add check back that avahi fails to do compile when remove the checks:

| useradd: user 'avahi-autoipd' already exists

So I add

set +e

But it fails with:

ERROR: Fakeroot process (13034) exited unexpectedly (-9), shutting down...

So I add the checks back and the commit works.

Regards,
Kai

The following changes since commit 4006a7f2762ccd5dcbc6cdff49482d4387a73261:

  sanity: Fix int verses string reference (2016-02-28 22:54:09 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kangkai/flockv4
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/flockv4

Kai Kang (1):
  useradd_base.bbclass: replace retry logic with flock

 meta/classes/useradd.bbclass      |   6 +-
 meta/classes/useradd_base.bbclass | 165 ++++++++++----------------------------
 2 files changed, 46 insertions(+), 125 deletions(-)

-- 
2.6.1



More information about the Openembedded-core mailing list