Skip to content

Commit

Permalink
Install overrides for debug packages on import
Browse files Browse the repository at this point in the history
We created the override, but didn't actually commit it to the database,
leading the archive integrity scanner to flag these as violations later.
Oops!
  • Loading branch information
ximion committed Mar 25, 2024
1 parent 7f5a196 commit 2e9b079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/laniakea/archive/pkgimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ def import_binary(
override.component = component
override.section = self._session.query(ArchiveSection).filter(ArchiveSection.name == 'debug').one()
override.priority = PackagePriority.OPTIONAL
self._session.add(override)
elif ignore_missing_override:
# The override is missing, but we are supposed to ignore that fact.
# So we will try our very best to guess a sensible override for this binary.
Expand Down

0 comments on commit 2e9b079

Please sign in to comment.