mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-16 04:51:32 +00:00
Skip cruft on source migration / removal items
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
73791e48d0
commit
c30ecbb7e8
@ -183,8 +183,9 @@ class MigrationManager(object):
|
|||||||
if item.architecture == 'source' and item.is_removal and binary not in binaries_t[parch]:
|
if item.architecture == 'source' and item.is_removal and binary not in binaries_t[parch]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Do not include hijacked binaries
|
bin_data = binaries_t[parch][binary]
|
||||||
if binaries_t[parch][binary].source != source_name:
|
# Do not include hijacked binaries nor cruft (cruft is handled separately)
|
||||||
|
if bin_data.source != source_name or bin_data.source_version != source_data.version:
|
||||||
continue
|
continue
|
||||||
bins.append(pkg_id)
|
bins.append(pkg_id)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user