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

git at git.openembedded.org git at git.openembedded.org
Wed Jul 24 10:26:48 UTC 2013


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.

[YOCTO #4074]

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/useradd.bbclass      |   99 ++---------------
 meta/classes/useradd_base.bbclass |  230 +++++++++++++++++++++++++++++++++++++
 2 files changed, 238 insertions(+), 91 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=2a57bb7e9a7e154578aa7cb9aeebdf398a54ec00


More information about the Openembedded-commits mailing list