summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
Commit message (Collapse)AuthorAgeFilesLines
* busybox/gtk/perl/base-passwd: Ensure data is correctly expandedRichard Purdie2016-02-041-1/+1
| | | | | | | | | | | | | Where variables are used in python, we need to ensure they are expanded. This happens to work at the moment but likely will not happen in future and isn't good code practise. Its mostly an issue around key values, since bitbake has already performed key expansion when these functions are executed. (From OE-Core rev: 6d1142b56948c048111c4f78d9909c1846ab225b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split Debian-related entries into their own recipesAlexander Kanavin2015-12-081-0/+4
| | | | | | | | (From OE-Core rev: 2a5e1848c11bd9a3c64cf8fcc0cb334c738bc5c5) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-123-3/+3
| | | | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upstream_tracking.inc: deprecate and move contents to recipesAlexander Kanavin2015-09-011-0/+2
| | | | | | | | | | No-update reasons and manual version checks should be in the recipes themselves because otherwise they're prone to getting out of date. (From OE-Core rev: b384345d9a693cbc3fd0dbeed9edd8c24618259d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: fix typo in add_shutdown.patchAndre McCurdy2015-07-071-1/+1
| | | | | | | (From OE-Core rev: 3e9be66df82dc204254130063f35a90af3d23284) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: fix SRC_URIRobert Yang2015-02-031-1/+1
| | | | | | | | | | Fixed: WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available (From OE-Core rev: 9ac88e3a9ac36ed83f01ac21db57a3c01a24385e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Don't replace $ variables in passwd and group filesPascal Bach2015-01-291-2/+2
| | | | | | | | | | | This allows the usage of "$type$salt$encrypted_password" passwords in the passwd file. (From OE-Core rev: 620b100f54c379661a8c48a1eb78ed94cd3b7a49) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: install passwd and group atomicallyRobert Yang2014-07-101-2/+7
| | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: cdbe55215e3dd1b82a6c147a31c7c40186a8bf80) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: sed installed file instead of originalSaul Wold2014-02-281-1/+1
| | | | | | | | | | | | | 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] (From OE-Core rev: 6007b955ce990e493a9dbf225290a9c7e133feee) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet2014-02-201-1/+1
| | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: ad17dfd31a2b97b3e610a0ea0889f5ecb2a63b97) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Remove unnecessary DEPENDSPhil Blundell2014-02-021-2/+0
| | | | | | | | | | | | | 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. (From OE-Core rev: 435f0c2c86cec4bc40731eaddec6c59260dd1ef5) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two ↵Laszlo Papp2014-02-023-9/+16
| | | | | | | | | | | | | 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. (From OE-Core rev: 0ca984f32682151cfeff852167f0174aca20a8bc) Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade to 3.5.29Upgrade Helper2014-01-105-2/+2
| | | | | | | (From OE-Core rev: 7c79e70d3a803f2ccb9b9c6ed2134019631672fd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: upgrade to 3.5.28Saul Wold2013-10-185-4/+31
| | | | | | | | | | Disable docs creation for now it uses po4a and sgmltools-lite which are not currently part of OE-Core (From OE-Core rev: 5cab5935d6924e0aca5da4b682bb83e54f20bc1d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: add shutdown groupSaul Wold2013-09-242-0/+20
| | | | | | | | | | | | | 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] (From OE-Core rev: 47ebf756efeb88727459165e00c16671854e19a9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Add input groupDarren Hart2013-04-042-2/+25
| | | | | | | | | | | | | | 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. (From OE-Core rev: 262234ab50636463f03fd4daccecc1232682ff59) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Fix case where ${B} != ${S}Richard Purdie2013-03-221-1/+1
| | | | | | | | Need to reference build objects from ${B}. (From OE-Core rev: 2b58618406195aa53df2335c354d7e45ad08f4d5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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] (From OE-Core rev: aea1d6c29e0c3f7c854045057d8bb389a1609b2b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: use configurable root home directoryKang Kai2012-12-262-18/+2
| | | | | | | | | | | Use configurable variable ROOT_HOME as root home directory. Drop root-home.patch because it is not needed any more. (From OE-Core rev: b5d84482b2762dca0660eb908bcc52aae278d00d) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: fix out-of-tree buildsRoss Burton2012-12-141-7/+7
| | | | | | | (From OE-Core rev: cdc9670500cc64e8863f9ad787691a4c096333c1) 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. (From OE-Core rev: a8b1081791af60873c6fd26cbf298cfe1886f97d) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-15/+15
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) 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. (From OE-Core rev: 5c0be0af8090839588c04ffdba8fd5d75321126c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 938d12d9c63fdac97b86a7b9f33cfa05c262e874) 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. (From OE-Core rev: a60449f6110bc86dd0d976413c169bafc0ebcada) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 77ab0f09546c5f6217a8e2f1bc30cf3d4306e3fa) 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. (From OE-Core rev: fc708d88f97e40a5bf929e4e02ed805fb3684ffe) 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. (From OE-Core rev: 0395eba96d6f37f323f5b76564809a44d7ceb103) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Use BPN in FILES pathsDongxiao Xu2011-08-291-5/+5
| | | | | | | | | | Use BPN instead of PN in FILES paths. This fixes the login issue by /etc/passwd missing in multilib images. (From OE-Core rev: ec62502988f0d79a69013513f2246980e0d8c01c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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). (From OE-Core rev: 3244e21b0d4bd7472330d058b97dc62ea79e0ef9) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 8996d4dfd302dc966e39d752761f0f3adbc75683) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 4450b73e57bcd73b8d09d8cd898a97bad04ae27b) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove distro-specific metadata for distros not in oe-corePaul Eggleton2011-05-051-6/+1
| | | | | | | (From OE-Core rev: ea2cd4b8e9bc013a007fe2a1a605ecb59db5a896) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>