*env Settings from local.conf: PACKAGE_CLASSES ?= "package_deb" IMAGE_FEATURES += "package-management ssh-server-openssh" *problem Run `bitbake core-image-minimal' failed >>log<< cannot create $D${sysconfdir}/passwd: Directory nonexistent cannot create $D${sysconfdir}/group: Directory nonexistent *analysis In meta/recipes-core/base-passwd/base-passwd_3.5.26.bb, ................. if [ ! -e $D${sysconfdir}/passwd ]; then \tcat << EOF > $D${sysconfdir}/passwd """ + passwd + """EOF fi if [ ! -e $D${sysconfdir}/group ]; then \tcat << EOF > $D${sysconfdir}/group """ + group + """EOF fi ................. It creates files `passwd' and `group' in `$D${sysconfdir}', if `$D${sysconfdir}' does not exist, run base-passwd.preinst to install base-passwd at image ceation time failed. *resolution Check the existance of dir before file creation.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5e3bbb652041954c02e1f8642c9f9874b1741a02
Verified with master branch: 0bedc0b80d9b46cbbf4a2c5e120a6aa52cbc7c2e Steps: 1. In conf/local.conf: PACKAGE_CLASSES ?= "package_deb" IMAGE_FEATURES += "package-management ssh-server-openssh" 2. Run `bitbake core-image-minimal