aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
Commit message (Collapse)AuthorAgeFilesLines
* base-passwd.preinst:fix creating passwd and group errorHongxu Jia2013-02-221-1/+2
| | | | | | | | | | | | | | | | 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>
* base-passwd: use configurable root home directoryKang Kai2012-12-252-18/+2
| | | | | | | | Use configurable variable ROOT_HOME as root home directory. Drop root-home.patch because it is not needed any more. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* base-passwd: fix out-of-tree buildsRoss Burton2012-12-141-7/+7
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade to 3.5.26Constantin Musca2012-08-253-4/+2
| | | | | | | The S variable is now the default one. Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-15/+15
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade to 3.5.24Scott Garman2012-03-193-8/+8
| | | | | | Includes minor formatting cleanups. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-2/+2
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Fix raceRichard Purdie2011-11-291-0/+2
| | | | | | | | The do_package task this recipe injects depends on the output of do_populate_sysroot to be present. This introduces the correct dependency so that the package task works correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: add Upstream-Status to patches, remove unused patchScott Garman2011-11-243-27/+22
| | | | | | mysql.patch is not used by the recipe anymore, so delete it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* base-passwd: Move update-passwd into a separate packageRichard Purdie2011-11-151-1/+13
| | | | | | | | | | update-passwd is the only user of the passwd/group.master files and was never used by OE since it wasn't run. This patch packages this separately and adds an appropriate postinst to make the package useful so people can include it as they wish. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Fix the broken preinst/postinstallRichard Purdie2011-11-151-31/+29
| | | | | | | | | | | The preinst accesses file which may not yet have been unpacked. The postinst is too late for the creation of these files for at least the opkg backend. This patch therefore encodes the file contents into the preinst, resolving the various issues once and for all. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: move initial criation of group and passwd to preinstOtavio Salvador2011-10-241-1/+18
| | | | | | | | To allow use and manipulation of users and groups at rootfs building time, the '/etc/passwd' and '/etc/group' needs to be available as soon as possible. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* base-passwd: Use BPN in FILES pathsDongxiao Xu2011-08-261-5/+5
| | | | | | | Use BPN instead of PN in FILES paths. This fixes the login issue by /etc/passwd missing in multilib images. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* base-passwd: remove login.defs referencesScott Garman2011-06-282-394/+1
| | | | | | | | login.defs is owned by shadow-utils, and doesn't belong here. The shadow-sysroot recipe was created to handle the case this was originally added for (useradd.bbclass support). Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* base-passwd: Fix owners/groupsMark Hatle2011-06-231-5/+5
| | | | | | | | Fix the owners and groups of specific files copied from the developmen tree. This resolves an issue where those files gain the user/group id of the build user. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* base-passwd: populate the target sysroot with passwd/group/login.defsScott Garman2011-06-062-2/+411
| | | | | | | | The passwd, group, and login.defs files in the target sysroot will be used when recipes create custom user and group permissions in their packages. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* Remove distro-specific metadata for distros not in oe-corePaul Eggleton2011-05-041-6/+1
| | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* recipes: pre/post actionsMark Hatle2011-02-121-1/+1
| | | | | | | | A number of the recipes did not properly label their pre and post actions, causing the actions to occur in all split packages. This was corrected by defaulting to _${PN} in most cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-111-1/+2
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Major layout change to the packages directoryRichard Purdie2010-08-274-0/+94
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>