aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
AgeCommit message (Collapse)Author
2016-02-04busybox/gtk/perl/base-passwd: Ensure data is correctly expandedRichard Purdie
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>
2015-12-08package_regex.inc: split Debian-related entries into their own recipesAlexander Kanavin
(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>
2015-09-12meta: Fix Upstream-Status statementsRoss Burton
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>
2015-09-01upstream_tracking.inc: deprecate and move contents to recipesAlexander Kanavin
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>
2015-07-07base-passwd: fix typo in add_shutdown.patchAndre McCurdy
(From OE-Core rev: 3e9be66df82dc204254130063f35a90af3d23284) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-03base-passwd: fix SRC_URIRobert Yang
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>
2015-01-29base-passwd: Don't replace $ variables in passwd and group filesPascal Bach
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>
2014-07-10base-passwd: install passwd and group atomicallyRobert Yang
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>
2014-02-28base-passwd: sed installed file instead of originalSaul Wold
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>
2014-02-20recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet
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>
2014-02-02base-passwd: Remove unnecessary DEPENDSPhil Blundell
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>
2014-02-02meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two ↵Laszlo Papp
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>
2014-01-10base-passwd: upgrade to 3.5.29Upgrade Helper
(From OE-Core rev: 7c79e70d3a803f2ccb9b9c6ed2134019631672fd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-18base-passwd: upgrade to 3.5.28Saul Wold
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>
2013-09-24base-passwd: add shutdown groupSaul Wold
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>
2013-04-04base-passwd: Add input groupDarren Hart
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>
2013-03-22base-passwd: Fix case where ${B} != ${S}Richard Purdie
Need to reference build objects from ${B}. (From OE-Core rev: 2b58618406195aa53df2335c354d7e45ad08f4d5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-22base-passwd.preinst:fix creating passwd and group errorHongxu Jia
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>
2012-12-26base-passwd: use configurable root home directoryKang Kai
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>
2012-12-14base-passwd: fix out-of-tree buildsRoss Burton
(From OE-Core rev: cdc9670500cc64e8863f9ad787691a4c096333c1) 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 Musca
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>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-19base-passwd: upgrade to 3.5.24Scott Garman
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>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie
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 Purdie
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>
2011-11-24base-passwd: add Upstream-Status to patches, remove unused patchScott Garman
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>
2011-11-15base-passwd: Move update-passwd into a separate packageRichard Purdie
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>
2011-11-15base-passwd: Fix the broken preinst/postinstallRichard Purdie
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>
2011-10-24base-passwd: move initial criation of group and passwd to preinstOtavio Salvador
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>
2011-08-29base-passwd: Use BPN in FILES pathsDongxiao Xu
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>
2011-06-28base-passwd: remove login.defs referencesScott Garman
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>
2011-06-23base-passwd: Fix owners/groupsMark Hatle
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>
2011-06-06base-passwd: populate the target sysroot with passwd/group/login.defsScott Garman
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>
2011-05-05Remove distro-specific metadata for distros not in oe-corePaul Eggleton
(From OE-Core rev: ea2cd4b8e9bc013a007fe2a1a605ecb59db5a896) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-12recipes: pre/post actionsMark Hatle
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 Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-10-11recipes-core: Cleanup package descriptions and summariesMark Hatle
[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 Purdie
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>