Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] package.bbclass: Let pn be eglibc for eglibc-locale
Date: Thu, 26 Jul 2012 11:49:24 -0700	[thread overview]
Message-ID: <1343328564-3644-1-git-send-email-sgw@linux.intel.com> (raw)

From: Khem Raj <raj.khem@gmail.com>

eglibc-locale is creating the individual locale files which have
runtime dependency on ${PN} which is 'eglibc-locale' but problem
is that eglibc-locale is an empty package and does not get created
so when one asks for adding locales to image then due to the missing
dependency in the feeds root file system can not be created.

This patch treates eglibc-locale as if it was eglibc and hence
the dependency then is created on libc6 and not not existing
eglibc-locale package.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/package.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 0c7fe80..06e2e04 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -389,6 +389,8 @@ python package_do_split_locales() {
 
     dvar = d.getVar('PKGD', True)
     pn = d.getVar('PN', True)
+    if pn == "eglibc-locale":
+        pn = "eglibc"
 
     if pn + '-locale' in packages:
         packages.remove(pn + '-locale')
-- 
1.7.7.6




             reply	other threads:[~2012-07-26 19:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 18:49 Saul Wold [this message]
2012-07-26 18:58 ` [PATCH] package.bbclass: Let pn be eglibc for eglibc-locale Phil Blundell
2012-07-26 20:16   ` Khem Raj
2012-07-26 20:38     ` Richard Purdie
2012-07-26 20:52       ` Mark Hatle
2012-07-26 20:53       ` Phil Blundell
2012-07-26 21:27         ` Khem Raj
2012-07-26 21:47           ` Mark Hatle
2012-07-29 20:22             ` Khem Raj
2012-07-29 20:34               ` Khem Raj

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=1343328564-3644-1-git-send-email-sgw@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