Skip to content

Commit

Permalink
fix(action): linux make defconfig file conflict
Browse files Browse the repository at this point in the history
- instead of copy use move on the defconfig

Signed-off-by: AtomicFS <[email protected]>
  • Loading branch information
AtomicFS committed Nov 19, 2024
1 parent 630e8aa commit be5bf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/recipes/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be5bf1c

Please sign in to comment.