Skip to content

Commit

Permalink
scripts: T6877: fix an error when the base flavor for merging has no …
Browse files Browse the repository at this point in the history
…packages field
  • Loading branch information
dmbaturin committed Nov 20, 2024
1 parent 1e038ab commit 30a4a8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/utils/merge-flavors
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ if __name__ == '__main__':
if 'architectures' not in base_flavor:
base_flavor['architectures'] = {}

if 'packages' not in base_flavor:
base_flavor['packages'] = []

flavor_files = sys.argv[2:]
flavor_defs = map(load_flavor, flavor_files)

Expand Down

0 comments on commit 30a4a8d

Please sign in to comment.