Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Phil Blundell <philb@gnu.org>
Subject: Re: [PATCH] useradd.bbclass: use correct value for $D in postinst functions
Date: Wed, 07 Sep 2011 20:55:22 -0700	[thread overview]
Message-ID: <4E683CAA.6080609@linux.intel.com> (raw)
In-Reply-To: <1315426812.4368.1.camel@lenovo.internal.reciva.com>

On 09/07/2011 01:20 PM, Phil Blundell wrote:
> This corrects the location of the password file used during package installation.
>
> See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009183.html and subsequent discussion.
>
> Signed-off-by: Phil Blundell<philb@gnu.org>
> ---
>   meta/classes/useradd.bbclass |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
> index 5f5b68d..1e03a04 100644
> --- a/meta/classes/useradd.bbclass
> +++ b/meta/classes/useradd.bbclass
> @@ -15,8 +15,8 @@ SYSROOT=""
>
>   if test "x$D" != "x"; then
>   	# Installing into a sysroot
> -	SYSROOT="${STAGING_DIR_TARGET}"
> -	OPT="--root ${STAGING_DIR_TARGET}"
> +	SYSROOT="$D"
> +	OPT="--root $D"
>
>   	# Add groups and users defined for all recipe packages
>   	GROUPADD_PARAM="${@get_all_cmd_params(d, 'group')}"
> @@ -79,7 +79,7 @@ useradd_sysroot () {
>
>   	# Explicitly set $D since it isn't set to anything
>   	# before do_install
> -	D=${D}
> +	D=${STAGING_DIR_TARGET}
>   	useradd_preinst
>   }
>

Merged into OE-Core

Thanks
	Sau!



      reply	other threads:[~2011-09-08  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-07 20:20 [PATCH] useradd.bbclass: use correct value for $D in postinst functions Phil Blundell
2011-09-08  3:55 ` Saul Wold [this message]

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=4E683CAA.6080609@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=philb@gnu.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