All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] V2: Replace retry logic in useradd with flock
@ 2016-02-16  7:14 kai.kang
  2016-02-16  7:14 ` [PATCH 1/1] useradd_base.bbclass: fix simultaneous " kai.kang
  0 siblings, 1 reply; 18+ messages in thread
From: kai.kang @ 2016-02-16  7:14 UTC (permalink / raw)
  To: ross.burton; +Cc: openembedded-core

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

V2:

* Use $SYSROOT/etc as flock file

The following changes since commit da13f0bce5d1b3c52f5716ae8d104372a820e5f9:

  buildhistory.bbclass: remove out-dated information on request (2016-02-15 17:47:08 +0000)

are available in the git repository at:

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

Kai Kang (1):
  useradd_base.bbclass: fix simultaneous with flock

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

-- 
2.7.0



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/1] V3: Replace retry logic in useradd with flock
@ 2016-02-23  2:45 kai.kang
  2016-02-23  2:45 ` [PATCH 1/1] useradd_base.bbclass: fix simultaneous " kai.kang
  0 siblings, 1 reply; 18+ messages in thread
From: kai.kang @ 2016-02-23  2:45 UTC (permalink / raw)
  To: ross.burton; +Cc: openembedded-core

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

V3:

* remove checks before operations such as useradd/userdel etc.

The following changes since commit ea8c34e976c11757ed9869c51b48f39050e25708:

  libnewt: Fix build with PIE flags (2016-02-21 09:32:43 +0000)

are available in the git repository at:

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

Kai Kang (1):
  useradd_base.bbclass: fix simultaneous with flock

 meta/classes/useradd.bbclass      |   6 +-
 meta/classes/useradd_base.bbclass | 186 ++++++++------------------------------
 2 files changed, 40 insertions(+), 152 deletions(-)

-- 
2.6.1



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/1] Replace retry logic in useradd with flock
@ 2016-02-15  1:59 kai.kang
  2016-02-15  1:59 ` [PATCH 1/1] useradd_base.bbclass: fix simultaneous " kai.kang
  0 siblings, 1 reply; 18+ messages in thread
From: kai.kang @ 2016-02-15  1:59 UTC (permalink / raw)
  To: ross.burton; +Cc: openembedded-core

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

Hi Ross,

We met problems that useradd fails to add users. I found it a simultaneous issue, so created this patch.

As a comparison of build time:

Without flock:
1
$ time bitbake core-image-minimal

real    38m8.625s
user    318m43.262s
sys     62m47.710s


2
$ time bitbake core-image-sato

real    54m13.065s
user    587m1.386s
sys     122m16.949s



With flock:
1
$ time bitbake core-image-minimal

real    40m55.178s
user    316m26.576s
sys     58m53.322s


2
$ time bitbake core-image-sato

real    55m11.312s
user    580m16.787s
sys     118m16.385s


The following changes since commit 36b43b233c841b3c09fc17e04686b4b758780963:

  lib/oe/terminal: set workdir for konsole terminal (2016-02-14 11:42:19 +0000)

are available in the git repository at:

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

Kai Kang (1):
  useradd_base.bbclass: fix simultaneous with flock

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

-- 
2.6.1



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-02-24  8:51 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16  7:14 [PATCH 0/1] V2: Replace retry logic in useradd with flock kai.kang
2016-02-16  7:14 ` [PATCH 1/1] useradd_base.bbclass: fix simultaneous " kai.kang
2016-02-16 12:09   ` Burton, Ross
2016-02-17  5:40     ` Kang Kai
2016-02-17 23:49       ` Burton, Ross
2016-02-22  8:41         ` Kang Kai
  -- strict thread matches above, loose matches on Subject: below --
2016-02-23  2:45 [PATCH 0/1] V3: Replace retry logic in useradd " kai.kang
2016-02-23  2:45 ` [PATCH 1/1] useradd_base.bbclass: fix simultaneous " kai.kang
2016-02-23  3:05   ` Khem Raj
2016-02-23  3:35     ` Kang Kai
2016-02-23  7:25       ` Richard Purdie
2016-02-23  7:31         ` Kang Kai
2016-02-23 16:29   ` Burton, Ross
2016-02-23 17:01     ` Burton, Ross
2016-02-23 17:10       ` Burton, Ross
2016-02-24  8:51         ` Kang Kai
2016-02-15  1:59 [PATCH 0/1] Replace retry logic in useradd " kai.kang
2016-02-15  1:59 ` [PATCH 1/1] useradd_base.bbclass: fix simultaneous " kai.kang
2016-02-15 12:31   ` Burton, Ross
2016-02-16  2:14     ` Kang Kai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.