Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
A tricky fix for binname/appname not matched bug (#80 and #83).
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangyi Meng <[email protected]>
  • Loading branch information
xymeng16 authored and razvand committed Mar 17, 2022
1 parent ec9335b commit 1c200bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kraft/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ def match_plat(plat, target):
try:
return_code = self.make([
('UK_DEFCONFIG=%s' % path),
# see #80 and #83, the fallback behavior once name field is missing in the original kraft.yaml
# is to use the parent folder name, and the missing field will be automatically complemented
# (ensured by config.load_config() implementation)
('CONFIG_UK_NAME=%s' % self.config.name),
'defconfig'
])
finally:
Expand Down

0 comments on commit 1c200bf

Please sign in to comment.