Skip to content

Commit

Permalink
Allow explicit cabspec specification
Browse files Browse the repository at this point in the history
All the specified cabspecs seemed to be getting ignored in previous setup
Attempt at fixing ratt-ru#769
  • Loading branch information
Mulan-94 committed Dec 16, 2022
1 parent 525ab86 commit 0c9d9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stimela/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def setup_job(self, image, config,
self.tag = _cab.tag[-1]
self.version = _cab.version[-1]

cabspecs = self.recipe.cabspecs.get(cont.cabname, None)
cabspecs = self.recipe.cabspecs
if cabspecs:
_tag = cabspecs.get("tag", None)
_version = cabspecs.get("version", None)
Expand Down

0 comments on commit 0c9d9c3

Please sign in to comment.