summaryrefslogtreecommitdiff
path: root/meta/recipes-core/base-passwd
AgeCommit message (Collapse)AuthorFiles
2014-07-10base-passwd: install passwd and group atomicallyRobert Yang1
Fixed the race issue: util-macros.do_package failed: 'getpwnam(): name not found: root' The error happens when there is a half etc/passwd, fixed by: $ install usr/share/base-passwd/passwd.master etc/passwd.master $ mv etc/passwd.master etc/passwd The "mv" is atomic which will fix this problem. [YOCTO #6124] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-28base-passwd: sed installed file instead of originalSaul Wold1
When we change the ROOT_HOME the sed regex does not match if we are running the do_install() a second time, so sed the installed file and preserve the original so that the sed regex is matched correctly in the original [YOCTO #5765] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-20recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet1
Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-02base-passwd: Remove unnecessary DEPENDSPhil Blundell1
Commit 5cab5935d6924e0aca5da4b682bb83e54f20bc1d added dependencies on docbook-utils-native and linuxdoc-tools-native, even though the same commit ostensibly disabled building of the documentation and there was no explanation of why these dependencies might be necessary. It appears that they don't serve any useful purpose so let's remove them again. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two ↵Laszlo Papp3
parts The current change contains two different logics resulting that users like me may need to partially override the behavior of it. It would be easier for end users to keep one change while dropping the other if needed, like in our case. Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-08base-passwd: upgrade to 3.5.29Upgrade Helper5
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-18base-passwd: upgrade to 3.5.28Saul Wold5
Disable docs creation for now it uses po4a and sgmltools-lite which are not currently part of OE-Core Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-09-24base-passwd: add shutdown groupSaul Wold2
Since using useradd in sysvinit causes core-image-minimal to gain shadow utilites instead of using busybox, we add the shutdown group directly. [YOCTO #5230] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04base-passwd: Add input groupDarren Hart2
Fixes [YOCTO 4164](1/3) Add input group for the /dev/input/* devices. This is needed for rootless X without adding a security hole by making the device o+rw. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Saul Wold <sgw@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-22base-passwd: Fix case where ${B} != ${S}Richard Purdie1
Need to reference build objects from ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-22base-passwd.preinst:fix creating passwd and group errorHongxu Jia1
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>
2012-12-25base-passwd: use configurable root home directoryKang Kai2
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>
2012-12-14base-passwd: fix out-of-tree buildsRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-25base-passwd: upgrade to 3.5.26Constantin Musca3
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>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-19base-passwd: upgrade to 3.5.24Scott Garman3
Includes minor formatting cleanups. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie1
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-29base-passwd: Fix raceRichard Purdie1
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>
2011-11-24base-passwd: add Upstream-Status to patches, remove unused patchScott Garman3
mysql.patch is not used by the recipe anymore, so delete it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-15base-passwd: Move update-passwd into a separate packageRichard Purdie1
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>
2011-11-15base-passwd: Fix the broken preinst/postinstallRichard Purdie1
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>
2011-10-24base-passwd: move initial criation of group and passwd to preinstOtavio Salvador1
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>
2011-08-26base-passwd: Use BPN in FILES pathsDongxiao Xu1
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>
2011-06-28base-passwd: remove login.defs referencesScott Garman2
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>
2011-06-23base-passwd: Fix owners/groupsMark Hatle1
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>
2011-06-06base-passwd: populate the target sysroot with passwd/group/login.defsScott Garman2
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>
2011-05-04Remove distro-specific metadata for distros not in oe-corePaul Eggleton1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-02-12recipes: pre/post actionsMark Hatle1
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>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-10-11recipes-core: Cleanup package descriptions and summariesMark Hatle1
[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>
2010-08-27Major layout change to the packages directoryRichard Purdie4
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>