From: Richard Purdie Date: Thu, 17 Feb 2011 00:17:01 +0000 (+0000) Subject: libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions X-Git-Tag: 2011-1~2319 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=27894c58b74fb01530aa7144b8e8c7a2298187b4;p=openembedded-core.git libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions Signed-off-by: Richard Purdie --- diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index c9d81f0638..047464e0aa 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -12,6 +12,10 @@ GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "ondevice" python __anonymous () { enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1) + pn = d.getVar("PN", True) + if pn.endswith("-initial"): + enabled = False + if enabled and int(enabled): import re