projects
/
archive
/
20170607
/
tools
/
tic-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7bd890
)
[TIC-CORE] filter self-referencing
79/125479/1
author
Chulwoo Shin
<cw1.shin@samsung.com>
Mon, 17 Apr 2017 11:45:58 +0000
(20:45 +0900)
committer
Chulwoo Shin
<cw1.shin@samsung.com>
Mon, 17 Apr 2017 11:45:58 +0000
(20:45 +0900)
- filter self-referencing (e.g. vim-base rpm)
Change-Id: I603341b63af20b435ae346e4e7c72dcd369d28e5
Signed-off-by: Chulwoo Shin <cw1.shin@samsung.com>
tic/dependency.py
patch
|
blob
|
history
diff --git
a/tic/dependency.py
b/tic/dependency.py
index
5cab72e
..
19864b9
100644
(file)
--- a/
tic/dependency.py
+++ b/
tic/dependency.py
@@
-213,6
+213,9
@@
def get_installed_packages(recipe, repoinfo, pkg_group):
if pkg_info.get(dep_tag):
for req in pkg_info.get(dep_tag):
choose = None
+ # self-reference (e.g. vim-base)
+ if req['name'] == pkg_info['name']:
+ continue
# Find dependency rpm based on capability/files
if req['name'] in provides:
# capability : [provide_rpm_1, provide_rpm_2, ... ]