Skip to content

Commit

Permalink
Remove duplicate oem.cpio.gz copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Dec 17, 2024
1 parent 3332aaa commit de5d54b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/fab/recipe/control_build_usb.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ func (b *ControlInstallBuilder) buildUSBImage(ctx context.Context) error {
return fmt.Errorf("copying flatcar cpio: %w", err)
}

slog.Info("Copying oem.cpio.gz to installer image", "fs", fs1.Label(), "control", b.Control.Name)
if err := diskFSCopyFile("/", filepath.Join(workdir, "oem.cpio.gz"), fs1); err != nil {
return fmt.Errorf("copying oem cpio: %w", err)
}
slog.Info("Copying oem.cpio.gz to installer image", "fs", fs1.Label(), "control", b.Control.Name)
if err := diskFSCopyFile("/", filepath.Join(workdir, "oem.cpio.gz"), fs1); err != nil {
return fmt.Errorf("copying oem cpio: %w", err)
Expand Down

0 comments on commit de5d54b

Please sign in to comment.