]> code.ossystems Code Review - openembedded-core.git/commit
base-passwd.preinst:fix creating passwd and group error
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 21 Feb 2013 06:22:16 +0000 (14:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Feb 2013 14:09:14 +0000 (06:09 -0800)
commitaea1d6c29e0c3f7c854045057d8bb389a1609b2b
treed237fd7e0e697e221c3486e1b4fcd18f9015da0b
parent746b6e90a8403886e6957d33610bbda115de0a0c
base-passwd.preinst:fix creating passwd and group error

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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/base-passwd/base-passwd_3.5.26.bb