Openembedded Core Discussions
 help / color / mirror / Atom feed
From: <kai.kang@windriver.com>
To: <ross.burton@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/1] V4: Replace retry logic in useradd with flock
Date: Mon, 29 Feb 2016 17:19:31 +0800	[thread overview]
Message-ID: <cover.1456737103.git.kai.kang@windriver.com> (raw)

From: Kai Kang <kai.kang@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



             reply	other threads:[~2016-02-29  9:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29  9:19 kai.kang [this message]
2016-02-29  9:19 ` [PATCH 1/1] useradd_base.bbclass: replace retry logic with flock kai.kang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1456737103.git.kai.kang@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox