[OE-core] [PATCH 1/1] image.bbclass: add a method to add/delete/modify user/group settings

ChenQi Qi.Chen at windriver.com
Wed Jul 10 06:42:47 UTC 2013


On 07/09/2013 07:20 AM, Saul Wold wrote:
> On 07/04/2013 11:07 PM, Qi.Chen at windriver.com wrote:
>>
> Since this gets run every time for image creation, we can be sure an 
> image won't be using someform of login, so finding login.defs might 
> not be the best thing to do.
>
> take the poky.tiny example and failures:
>> cp: cannot stat 
>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/poky-tiny/build/build/tmp/sysroots/qemux86//etc/login.defs': 
>> No such file or directory
>> ERROR: Function failed: do_rootfs (log file is located at 
>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/poky-tiny/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.24531)
>> NOTE: recipe core-image-minimal-1.0-r0: task do_rootfs: Failed
>
> Sau!
>
>

Hi Saul,

Patch V2 has been sent which adopts the same logic in useradd.bbclass, 
that is, add passwd and shadow to the RDEPENDS if we are changing the 
user/group settings.

Two related patches are sent to poky at yoctoproject.org.
[poky] [PATCH 1/2] poky-tiny.conf: add extra libc features
[poky] [PATCH 2/2] local.conf.sample.extended: add USER_GROUP_SETTINGS

Best Regards,
Chen Qi



More information about the Openembedded-core mailing list