summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-21 22:03:13 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-21 22:03:13 +0000
commit2af3b213e554d34d7f17e41cd9f5abfe842f6a08 (patch)
treeae911375b27340ce024b71224d2d1bed27ec9b9c /meta/classes
parentec30e861222748e2f0075835c63750816efbd0f0 (diff)
downloadpoky-2af3b213e554d34d7f17e41cd9f5abfe842f6a08.tar.gz
package.bbclass: Fix split_locales to remove spurious references to -dbg packages. The way it selects the principle package name needs totally reworking as the current code is flawed but apply a workaround for now (this is unrelated to other changes to package.bbclass)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@810 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 603f79895d..b8f4f23a18 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -268,7 +268,13 @@ python package_do_split_locales() {
268 268
269 locales = os.listdir(localedir) 269 locales = os.listdir(localedir)
270 270
271 # This is *really* broken
271 mainpkg = packages[0] 272 mainpkg = packages[0]
273 # At least try and patch it up I guess...
274 if mainpkg.find('-dbg'):
275 mainpkg = mainpkg.replace('-dbg', '')
276 if mainpkg.find('-dev'):
277 mainpkg = mainpkg.replace('-dev', '')
272 278
273 for l in locales: 279 for l in locales:
274 ln = legitimize_package_name(l) 280 ln = legitimize_package_name(l)