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>
Subject: Re: [PATCH 1/1] Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...
Date: Mon, 16 Apr 2012 08:25:43 -0700	[thread overview]
Message-ID: <4F8C39F7.7060007@linux.intel.com> (raw)
In-Reply-To: <14a8aff9c52b2add7587dbc97f7ee11e7827848c.1334558917.git.edwin.zhai@intel.com>

On 04/15/2012 11:50 PM, edwin.zhai@intel.com wrote:
> From: Zhai Edwin<edwin.zhai@intel.com>
>
> MLPREFIX is needed in RDEPENDS for multilib build
>
> Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
> ---
>   meta/classes/gconf.bbclass        |    2 +-
>   meta/classes/libc-package.bbclass |    2 +-
>   meta/classes/useradd.bbclass      |    3 ++-
>   3 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/meta/classes/gconf.bbclass b/meta/classes/gconf.bbclass
> index 095d04b..a966c26 100644
> --- a/meta/classes/gconf.bbclass
> +++ b/meta/classes/gconf.bbclass
> @@ -57,7 +57,7 @@ python populate_packages_append () {
>   			prerm += d.getVar('gconf_prerm', True)
>   			d.setVar('pkg_prerm_%s' % pkg, prerm)
>   			rdepends = d.getVar("RDEPENDS_%s" % pkg, True) or ""
> -			rdepends += " gconf"
> +			rdepends += ' ' + d.getVar('MLPREFIX') + 'gconf'
>   			d.setVar("RDEPENDS_%s" % pkg, rdepends)
>
>   }
> diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
> index 7cde770..bb4ba68 100644
> --- a/meta/classes/libc-package.bbclass
> +++ b/meta/classes/libc-package.bbclass
> @@ -257,7 +257,7 @@ python package_do_split_gconvs () {
>   		else:
>   			libc_name = name
>   		d.setVar('RDEPENDS_%s' % pkgname, legitimize_package_name('%s-binary-localedata-%s' \
> -			% (bpn, libc_name)))
> +			% (d.getVar('MLPREFIX') + bpn, libc_name)))
>
>   	commands = {}
>
> diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
> index 0bbb371..0ed91ad 100644
> --- a/meta/classes/useradd.bbclass
> +++ b/meta/classes/useradd.bbclass
> @@ -201,7 +201,8 @@ fakeroot python populate_packages_prepend () {
>
>   		# RDEPENDS setup
>   		rdepends = d.getVar("RDEPENDS_%s" % pkg, True) or ""
> -		rdepends += " base-passwd shadow"
> +		rdepends += ' ' + d.getVar('MLPREFIX') + 'base-passwd'
> +		rdepends += ' ' + d.getVar('MLPREFIX') + 'shadow'
>   		d.setVar("RDEPENDS_%s" % pkg, rdepends)
>
>   	# Add the user/group preinstall scripts and RDEPENDS requirements

Merged into OE-Core

Thanks
	Sau!



      reply	other threads:[~2012-04-16 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16  6:49 [PATCH 0/1] Multilib fix, Apr16, 2012 edwin.zhai
2012-04-16  6:50 ` [PATCH 1/1] Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass edwin.zhai
2012-04-16 15:25   ` 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=4F8C39F7.7060007@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox