From be5bf1ccc1a934587c2205aebb7e4253543f1a8f Mon Sep 17 00:00:00 2001 From: AtomicFS Date: Tue, 19 Nov 2024 18:05:53 +0100 Subject: [PATCH] fix(action): linux make defconfig file conflict - instead of copy use move on the defconfig Signed-off-by: AtomicFS --- action/recipes/linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/recipes/linux.go b/action/recipes/linux.go index 4c1f62e6..310d840a 100644 --- a/action/recipes/linux.go +++ b/action/recipes/linux.go @@ -175,7 +175,7 @@ func (opts LinuxOpts) buildFirmware(ctx context.Context, client *dagger.Client, {"ln", "--symbolic", "--relative", "arch/x86", "arch/x86_64"}, // the symlink simplifies this command {"mkdir", "-p", fmt.Sprintf("arch/%s/configs/", NormalizeArchitectureForLinux(opts.Arch))}, - {"cp", defconfigBasename, fmt.Sprintf("arch/%s/configs/%s", NormalizeArchitectureForLinux(opts.Arch), defconfigBasename)}, + {"mv", defconfigBasename, fmt.Sprintf("arch/%s/configs/%s", NormalizeArchitectureForLinux(opts.Arch), defconfigBasename)}, // generate dotconfig from defconfig {"make", defconfigBasename}, // compile