]> 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)
committerRoss Burton <ross.burton@intel.com>
Fri, 1 Mar 2013 11:12:31 +0000 (11:12 +0000)
commit7912f3a721529302596a032560cffe96297b3113
treedc7aab062195fdc0b8e08b053da13fabb5b18452
parent77fed2c773d7d98f88d6e8a2f4a8617b9e8b8a62
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