[oe-commits] Chen Qi : useradd.bbclass: add a new base class and code refactor

ChenQi Qi.Chen at windriver.com
Fri Aug 16 01:38:31 UTC 2013


On 08/16/2013 01:47 AM, Martin Jansa wrote:
> On Wed, Jul 24, 2013 at 10:26:48AM +0000, git at git.openembedded.org wrote:
>> Module: openembedded-core.git
>> Branch: master
>> Commit: 2a57bb7e9a7e154578aa7cb9aeebdf398a54ec00
>> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2a57bb7e9a7e154578aa7cb9aeebdf398a54ec00
>>
>> Author: Chen Qi <Qi.Chen at windriver.com>
>> Date:   Fri Jul 19 09:52:25 2013 +0800
>>
>> useradd.bbclass: add a new base class and code refactor
>>
>> Add a new base class, useradd_base.bbclass, which is mainly a
>> collection of basic functions for user/group settings.
>>
>> The useradd_base.bbclass is intended to be inherited by useradd.bbclass
>> and the extrausers.bbclass to avoid code cuplication.
> This code is calling bbwarn in postinst scripts, but only implementation
> I've found is in logging.bbclass and isn't included in postinst shell
> code causing:
>
> /tmp/opkg-HtXU0e/dbus-1-Ea0TSc/preinst: 15:
> /tmp/opkg-HtXU0e/dbus-1-Ea0TSc/preinst: bbwarn: not found
Hi Martin,

I'm really sorry for this trouble. I didn't notice this when I first 
made the patch.

I'll send out a patch to fix this.

Thanks for reporting this.

Best Regards,
Chen Qi


More information about the Openembedded-commits mailing list