Comments
Patch
@@ -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}/
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(-)