Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] base-passwd: fix race between the populate_sysroot and package
Date: Tue, 29 Nov 2011 11:48:41 +0100	[thread overview]
Message-ID: <1322563721-7576-1-git-send-email-eric@eukrea.com> (raw)

without this fix, we get :
ERROR: Error executing a python function in sources/openembedded-core/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb:
IOError: [Errno 2] No such file or directory: 'tmp-angstrom_2010_x-eglibc/sysroots/PROJECT-board/usr/share/base-passwd/passwd.master'

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 .../recipes-core/base-passwd/base-passwd_3.5.22.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
index 5feb924..62847d9 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Base system master password/group files."
 DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group).  The update-passwd tool is also provided to keep the system databases synchronized with these master files."
 SECTION = "base"
-PR = "r9"
+PR = "r10"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
 
@@ -23,6 +23,8 @@ ALLOW_EMPTY_${PN} = "1"
 
 SSTATEPOSTINSTFUNCS += "base_passwd_sstate_postinst"
 
+addtask package after do_populate_sysroot
+
 do_install () {
 	install -d -m 755 ${D}${sbindir}
 	install -o root -g root -p -m 755 update-passwd ${D}${sbindir}/
-- 
1.7.0.4




             reply	other threads:[~2011-11-29 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 10:48 Eric Bénard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-29  9:34 base-passwd problem : No such file or directory Richard Purdie
2011-11-29 10:53 ` [PATCH] base-passwd: fix race between the populate_sysroot and package Eric Bénard

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=1322563721-7576-1-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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