From patchwork Thu Jul 26 18:49:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: package.bbclass: Let pn be eglibc for eglibc-locale Date: Thu, 26 Jul 2012 18:49:24 -0000 From: Saul Wold X-Patchwork-Id: 33157 Message-Id: <1343328564-3644-1-git-send-email-sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Khem Raj 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 Signed-off-by: Saul Wold --- 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')