From: Scott Garman <scott.a.garman@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/7] User/group creation at preinstall v2
Date: Thu, 2 Jun 2011 16:50:52 -0700 [thread overview]
Message-ID: <cover.1307058256.git.scott.a.garman@intel.com> (raw)
Hello world,
This pull request includes everything needed to create custom users
and groups in our images/packages and the corresponding ability to
set custom ownership permissions.
There is a useradd-example.bb file in meta-skeleton which provides
a heavily-commented example recipe to demonstrate how this feature
can be used.
This v2 pull request incorporates changes Mark Hatle suggested to
improve the useradd-example recipe, removes the base-passwd-cross
recipe and puts the sysroot population code into base-passwd
(requested by Richard Purdie), and fixes a critical bug where some
packages were not getting populated with the preinst scripts.
The following changes since commit 1169f1b066d0028bd2ef7915440450bd42ef165e:
license.bbclass: Sane Parsing of licenses (2011-05-27 23:36:24 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/user-group-creation
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/user-group-creation
Scott Garman (7):
shadow: recipe and patch cleanup
shadow: add a -native recipe with customized utilities
base-passwd: populate the target sysroot with passwd/group/login.defs
useradd.bbclass: new class for managing user/group permissions
useradd-example: example recipe for using inherit useradd
bitbake.conf: set PSEUDO_PASSWD within FAKEROOTENV
package_rpm.bbclass: make RPM use on-disk permissions
.../recipes-skeleton/useradd/useradd-example.bb | 72 ++
meta/classes/package_rpm.bbclass | 2 +
meta/classes/useradd.bbclass | 163 +++
meta/conf/bitbake.conf | 2 +-
.../base-passwd/base-passwd-3.5.22/login.defs | 386 ++++++
.../recipes-core/base-passwd/base-passwd_3.5.22.bb | 27 +-
.../shadow/files/add_root_cmd_options.patch | 1296 ++++++++++++++++++++
.../files/shadow-4.1.3-dots-in-usernames.patch | 4 +
.../shadow-4.1.4.2-env-reset-keep-locale.patch | 4 +
.../files/shadow-4.1.4.2-groupmod-pam-check.patch | 4 +
.../files/shadow-4.1.4.2-su_no_sanitize_env.patch | 4 +
.../shadow/files/shadow.automake-1.11.patch | 4 +
.../shadow/shadow-native_4.1.4.3.bb | 66 +
meta/recipes-extended/shadow/shadow.inc | 121 --
meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 141 ++-
15 files changed, 2163 insertions(+), 133 deletions(-)
create mode 100644 meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
create mode 100644 meta-skeleton/recipes-skeleton/useradd/useradd-example/file1
create mode 100644 meta-skeleton/recipes-skeleton/useradd/useradd-example/file2
create mode 100644 meta-skeleton/recipes-skeleton/useradd/useradd-example/file3
create mode 100644 meta-skeleton/recipes-skeleton/useradd/useradd-example/file4
create mode 100644 meta/classes/useradd.bbclass
create mode 100644 meta/recipes-core/base-passwd/base-passwd-3.5.22/login.defs
create mode 100644 meta/recipes-extended/shadow/files/add_root_cmd_options.patch
create mode 100644 meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb
delete mode 100644 meta/recipes-extended/shadow/shadow.inc
next reply other threads:[~2011-06-02 23:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 23:50 Scott Garman [this message]
2011-06-02 23:50 ` [PATCH 1/7] shadow: recipe and patch cleanup Scott Garman
2011-06-02 23:50 ` [PATCH 2/7] shadow: add a -native recipe with customized utilities Scott Garman
2011-06-02 23:50 ` [PATCH 3/7] base-passwd: populate the target sysroot with passwd/group/login.defs Scott Garman
2011-06-09 20:50 ` Koen Kooi
2011-06-09 21:23 ` Scott Garman
2011-06-09 21:25 ` Koen Kooi
2011-06-09 21:29 ` Scott Garman
2011-06-10 22:22 ` shadow errors related to login.defs Scott Garman
2011-06-10 22:38 ` Koen Kooi
2011-06-02 23:50 ` [PATCH 4/7] useradd.bbclass: new class for managing user/group permissions Scott Garman
2011-06-28 13:04 ` Richard Purdie
2011-06-28 14:42 ` Mark Hatle
2011-06-29 14:22 ` Richard Purdie
2011-06-29 1:20 ` Scott Garman
2011-06-02 23:50 ` [PATCH 5/7] useradd-example: example recipe for using inherit useradd Scott Garman
2011-06-02 23:50 ` [PATCH 6/7] bitbake.conf: set PSEUDO_PASSWD within FAKEROOTENV Scott Garman
2011-06-02 23:50 ` [PATCH 7/7] package_rpm.bbclass: make RPM use on-disk permissions Scott Garman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1307058256.git.scott.a.garman@intel.com \
--to=scott.a.garman@intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.