Re: [PATCH v2] scripts: kconfig: merge_config.sh: keep temp file in the output dir
From: Nicolas Schier
Date: Mon Jul 13 2026 - 08:27:27 EST
On Fri, Jul 10, 2026 at 07:03:33AM -0700, Gustavo Luiz Duarte wrote:
> merge_config.sh currently creates a temporary file in the current
> directory. Create it under $OUTPUT instead, which allows running the
> script against a read-only source tree.
>
> The default behavior is unchanged: $OUTPUT is "." so the file stays in
> the cwd.
>
> Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>
> Signed-off-by: Gustavo Luiz Duarte <gustavold@xxxxxxxxx>
> ---
> - Link to v1: https://lore.kernel.org/r/20260708-merge_config_output-v1-1-e35fa223d6f3@xxxxxxxxx
> ---
> scripts/kconfig/merge_config.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks!
Reviewed-by: Nicolas Schier <n.schier@xxxxxxxxx>
Tested-by: Nicolas Schier <n.schier@xxxxxxxxx>