* [PATCH 0/1]base-passwd.preinst:fix creating passwd and group error
@ 2013-02-21 6:22 Hongxu Jia
2013-02-21 6:22 ` [PATCH 1/1] base-passwd.preinst:fix " Hongxu Jia
0 siblings, 1 reply; 4+ messages in thread
From: Hongxu Jia @ 2013-02-21 6:22 UTC (permalink / raw)
To: openembedded-core
The following changes since commit c7b23ab68aafc04d9830ef318015912e5d4f0672:
maintainers.inc: update ownership of recipes (2013-02-17 22:33:30 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/fix-base-passwd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-base-passwd
Hongxu Jia (1):
base-passwd.preinst:fix creating passwd and group error
meta/recipes-core/base-passwd/base-passwd_3.5.26.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
1.7.10.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] base-passwd.preinst:fix creating passwd and group error
2013-02-21 6:22 [PATCH 0/1]base-passwd.preinst:fix creating passwd and group error Hongxu Jia
@ 2013-02-21 6:22 ` Hongxu Jia
2013-02-28 15:25 ` Javier Viguera
0 siblings, 1 reply; 4+ messages in thread
From: Hongxu Jia @ 2013-02-21 6:22 UTC (permalink / raw)
To: openembedded-core
Create files `passwd' and `group' in `$D${sysconfdir}', if `$D${sysconfdir}'
does not exist, there is an error:
...
cannot create $D${sysconfdir}/passwd: Directory nonexistent
cannot create $D${sysconfdir}/group: Directory nonexistent
...
Attampt to create dir before file creation.
[YOCTO #3917]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
meta/recipes-core/base-passwd/base-passwd_3.5.26.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
index 2b1dc1c..dd310af 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.26.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 = "r0"
+PR = "r1"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
@@ -64,6 +64,7 @@ python populate_packages_prepend() {
f.close()
preinst = """#!/bin/sh
+mkdir -p $D${sysconfdir}
if [ ! -e $D${sysconfdir}/passwd ]; then
\tcat << EOF > $D${sysconfdir}/passwd
""" + passwd + """EOF
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] base-passwd.preinst:fix creating passwd and group error
2013-02-21 6:22 ` [PATCH 1/1] base-passwd.preinst:fix " Hongxu Jia
@ 2013-02-28 15:25 ` Javier Viguera
2013-03-01 11:15 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Javier Viguera @ 2013-02-28 15:25 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
Hi all,
I was bite by this one [YOCTO #3917] in *danny* branch not allowing me
to create a rootfs based in DEB packages. Sometimes happens, sometimes
not, depending on whether 'base-files' is installed in the rootfs before
or after 'base-passwd'.
Cherry-picking this commit from master fixes the problem.
So could it be also considered for backporting to 'danny' in oe-core and
poky?
Thanks in advance.
--
Javier Viguera
Software Engineer
Digi International® Spain S.A.U.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] base-passwd.preinst:fix creating passwd and group error
2013-02-28 15:25 ` Javier Viguera
@ 2013-03-01 11:15 ` Burton, Ross
0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2013-03-01 11:15 UTC (permalink / raw)
To: Javier Viguera; +Cc: openembedded-core@lists.openembedded.org
On 28 February 2013 15:25, Javier Viguera <javier.viguera@digi.com> wrote:
> I was bite by this one [YOCTO #3917] in *danny* branch not allowing me to
> create a rootfs based in DEB packages. Sometimes happens, sometimes not,
> depending on whether 'base-files' is installed in the rootfs before or after
> 'base-passwd'.
>
> Cherry-picking this commit from master fixes the problem.
>
> So could it be also considered for backporting to 'danny' in oe-core and
> poky?
Merged to danny-next, so will be in 1.3.1.
Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-01 11:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 6:22 [PATCH 0/1]base-passwd.preinst:fix creating passwd and group error Hongxu Jia
2013-02-21 6:22 ` [PATCH 1/1] base-passwd.preinst:fix " Hongxu Jia
2013-02-28 15:25 ` Javier Viguera
2013-03-01 11:15 ` Burton, Ross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox