Skip to content

Commit

Permalink
lkt: runner: Run merge_config.sh in build folder
Browse files Browse the repository at this point in the history
merge_config.sh creates two temporary files in the current working
directory, which may not be writeable (such as '/' with systemd-nspawn).
Run within the build folder, which we know will be writeable at this
point.

Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Dec 30, 2024
1 parent db5b3f9 commit 9cf9964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lkt/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _build_kernel(self):
config_path,
]
cmds_to_log.append(merge_config)
lkt.utils.chronic(merge_config, show_cmd=True)
lkt.utils.chronic(merge_config, cwd=self.folders.build, show_cmd=True)

need_olddefconfig = True

Expand Down

0 comments on commit 9cf9964

Please sign in to comment.