[oe-commits] org.oe.dev package.bbclass: Fix split_packages 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)
rpurdie commit
openembedded-commits at lists.openembedded.org
Sun Oct 22 12:55:50 UTC 2006
package.bbclass: Fix split_packages 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)
Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: 81aeac43d1b2de2302903683e3131a3f99a87d8a
ViewMTN: http://monotone.openembedded.org/revision.psp?id=81aeac43d1b2de2302903683e3131a3f99a87d8a
Files:
1
classes/package.bbclass
Diffs:
#
# mt diff -rbf9ced44e901f6f7f6002a5786d0147a79e5b8a1 -r81aeac43d1b2de2302903683e3131a3f99a87d8a
#
#
#
# patch "classes/package.bbclass"
# from [9395b02e8806bf8c7ee25f79bc774e7a4bdc9a57]
# to [0cd495895bbdc33fbde2d2ff818bdc1a4b1f8369]
#
============================================================
--- classes/package.bbclass 9395b02e8806bf8c7ee25f79bc774e7a4bdc9a57
+++ classes/package.bbclass 0cd495895bbdc33fbde2d2ff818bdc1a4b1f8369
@@ -51,7 +51,14 @@ def do_split_packages(d, root, file_rege
objs.append(relpath)
if extra_depends == None:
- extra_depends = packages[0]
+ # This is *really* broken
+ mainpkg = packages[0]
+ # At least try and patch it up I guess...
+ if mainpkg.find('-dbg'):
+ mainpkg = mainpkg.replace('-dbg', '')
+ if mainpkg.find('-dev'):
+ mainpkg = mainpkg.replace('-dev', '')
+ extra_depends = mainpkg
for o in objs:
import re, stat
@@ -275,7 +282,7 @@ python package_do_split_locales() {
mainpkg = mainpkg.replace('-dbg', '')
if mainpkg.find('-dev'):
mainpkg = mainpkg.replace('-dev', '')
-
+
for l in locales:
ln = legitimize_package_name(l)
pkg = pn + '-locale-' + ln
More information about the Openembedded-commits
mailing list