Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] package.bbclass: Let pn be eglibc for eglibc-locale
@ 2012-07-26 18:49 Saul Wold
  2012-07-26 18:58 ` Phil Blundell
  0 siblings, 1 reply; 10+ messages in thread
From: Saul Wold @ 2012-07-26 18:49 UTC (permalink / raw)
  To: openembedded-core

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




^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-29 20:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 18:49 [PATCH] package.bbclass: Let pn be eglibc for eglibc-locale Saul Wold
2012-07-26 18:58 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox