Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Laszlo Papp <lpapp@kde.org>,  openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two parts
Date: Wed, 05 Feb 2014 07:49:24 -0800	[thread overview]
Message-ID: <52F25D84.6060501@linux.intel.com> (raw)
In-Reply-To: <1391598835-1631-1-git-send-email-lpapp@kde.org>

On 02/05/2014 03:13 AM, Laszlo Papp wrote:
> 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.
>

I beleive that your first version of this was merged, is this different 
that the one you send on 1/30?

It seems that the line count in this patch is different than the first, 
please rebase against master and update this patch please.

Thanks

Sau!

> Signed-off-by: Laszlo Papp <lpapp@kde.org>
> ---
>   meta/recipes-core/base-passwd/base-passwd/nobash.patch | 10 +---------
>   .../base-passwd/base-passwd/noshadow.patch             | 18 ++++++++++++++++++
>   meta/recipes-core/base-passwd/base-passwd_3.5.29.bb    |  1 +
>   3 files changed, 20 insertions(+), 9 deletions(-)
>   create mode 100644 meta/recipes-core/base-passwd/base-passwd/noshadow.patch
>
> diff --git a/meta/recipes-core/base-passwd/base-passwd/nobash.patch b/meta/recipes-core/base-passwd/base-passwd/nobash.patch
> index 6371576..eed87db 100644
> --- a/meta/recipes-core/base-passwd/base-passwd/nobash.patch
> +++ b/meta/recipes-core/base-passwd/base-passwd/nobash.patch
> @@ -1,14 +1,6 @@
>   use /bin/sh instead of /bin/bash, since the latter may not be included in
>   some images such as minimal
>
> -comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
> -
> -remove "*" for root since we don't have a /etc/shadow so far.
> -
> -by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
> -
> -Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
> -
>   Upstream-Status: Invalid [configuration]
>
>   Signed-off-by: Scott Garman <scott.a.garman@intel.com>
> @@ -17,7 +9,7 @@ Signed-off-by: Scott Garman <scott.a.garman@intel.com>
>   +++ base-passwd/passwd.master
>   @@ -1,4 +1,4 @@
>   -root:*:0:0:root:/root:/bin/bash
> -+root::0:0:root:/root:/bin/sh
> ++root:*:0:0:root:/root:/bin/sh
>    daemon:*:1:1:daemon:/usr/sbin:/bin/sh
>    bin:*:2:2:bin:/bin:/bin/sh
>    sys:*:3:3:sys:/dev:/bin/sh
> diff --git a/meta/recipes-core/base-passwd/base-passwd/noshadow.patch b/meta/recipes-core/base-passwd/base-passwd/noshadow.patch
> new file mode 100644
> index 0000000..14e3959
> --- /dev/null
> +++ b/meta/recipes-core/base-passwd/base-passwd/noshadow.patch
> @@ -0,0 +1,18 @@
> +comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
> +
> +remove "*" for root since we don't have a /etc/shadow so far.
> +
> +by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
> +
> +Upstream-Status: Invalid [configuration]
> +
> +Signed-off-by: Scott Garman <scott.a.garman@intel.com>
> +
> +--- base-passwd/passwd.master~nobash
> ++++ base-passwd/passwd.master
> +@@ -1,4 +1,4 @@
> +-root:*:0:0:root:/root:/bin/sh
> ++root::0:0:root:/root:/bin/sh
> + daemon:*:1:1:daemon:/usr/sbin:/bin/sh
> + bin:*:2:2:bin:/bin:/bin/sh
> + sys:*:3:3:sys:/dev:/bin/sh
> diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
> index 082037a..5b31fce 100644
> --- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
> +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
> @@ -9,6 +9,7 @@ DEPENDS = "docbook-utils-native linuxdoc-tools-native"
>   SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
>              file://add_shutdown.patch \
>              file://nobash.patch \
> +           file://noshadow.patch \
>              file://input.patch \
>              file://disable-docs.patch \
>             "
>


  reply	other threads:[~2014-02-05 15:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 11:13 [PATCH] meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two parts Laszlo Papp
2014-02-05 15:49 ` Saul Wold [this message]
2014-02-08 11:50   ` Laszlo Papp
2014-02-08 11:59     ` Richard Purdie
2014-02-08 12:07       ` Laszlo Papp
2014-02-08 12:20         ` Richard Purdie
2014-02-08 18:05           ` Martin Jansa
2014-02-10 11:08             ` Burton, Ross
  -- strict thread matches above, loose matches on Subject: below --
2014-01-30 18:41 Laszlo Papp

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=52F25D84.6060501@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=lpapp@kde.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox