From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2 1/2] shadow-native: use 'users' group by default
Date: Thu, 26 Jul 2012 12:23:40 -0700 [thread overview]
Message-ID: <5011993C.9050502@linux.intel.com> (raw)
In-Reply-To: <1343065037-13851-1-git-send-email-otavio@ossystems.com.br>
On 07/23/2012 10:37 AM, Otavio Salvador wrote:
> The rootfs has 'users' group at number 100 and without this fix it
> would assign to a non-existent group and if a group with gid as 1000
> is created later it would own all files for users created.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> .../shadow/shadow-native_4.1.4.3.bb | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb
> index 1e071f1..cd5605f 100644
> --- a/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb
> +++ b/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb
> @@ -7,7 +7,7 @@ LICENSE = "BSD | Artistic-1.0"
> LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \
> file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe"
>
> -PR = "r6"
> +PR = "r7"
>
> SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \
> file://shadow.automake-1.11.patch \
> @@ -46,4 +46,7 @@ do_install_append() {
> # Now we don't have a mail system. Disable mail creation for now.
> sed -i 's:/bin/bash:/bin/sh:g' ${D}${sysconfdir}/default/useradd
> sed -i '/^CREATE_MAIL_SPOOL/ s:^:#:' ${D}${sysconfdir}/default/useradd
> +
> + # Use users group by default
> + sed -i 's,^GROUP=1000,GROUP=100,g' ${D}${sysconfdir}/default/useradd
> }
>
Merged these 2 into OE-Core
Thanks
Sau!
next prev parent reply other threads:[~2012-07-26 19:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 17:37 [PATCH v2 1/2] shadow-native: use 'users' group by default Otavio Salvador
2012-07-23 17:37 ` [PATCH v2 2/2] shadow: " Otavio Salvador
2012-08-02 14:36 ` Otavio Salvador
2012-07-26 19:23 ` Saul Wold [this message]
2012-08-02 14:34 ` [PATCH v2 1/2] shadow-native: " Otavio Salvador
-- strict thread matches above, loose matches on Subject: below --
2012-07-20 19:17 Otavio Salvador
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=5011993C.9050502@linux.intel.com \
--to=sgw@linux.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.