projects
/
scm
/
bb
/
tizen-distro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a4160
)
package.bbclass: Partially fix another dubious use of packages[0]
author
Richard Purdie
<richard@openedhand.com>
Sun, 22 Oct 2006 12:06:41 +0000
(12:06 +0000)
committer
Richard Purdie
<richard@openedhand.com>
Sun, 22 Oct 2006 12:06:41 +0000
(12:06 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@812
311d38ba
-8fff-0310-9ca6-
ca027cbcb966
meta/classes/package.bbclass
patch
|
blob
|
history
diff --git
a/meta/classes/package.bbclass
b/meta/classes/package.bbclass
index
b8f4f23
..
44db26f
100644
(file)
--- a/
meta/classes/package.bbclass
+++ b/
meta/classes/package.bbclass
@@
-51,7
+51,14
@@
def do_split_packages(d, root, file_regex, output_pattern, description, postinst
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