Skip to content

Commit

Permalink
fix: remove unneeded image push from unpackAndMergeUpdates (#44)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Leet <simon.leet@microsoft.com>
Co-authored-by: Serta莽 脰zercan <852750+sozercan@users.noreply.github.com>
  • Loading branch information
CodeMonkeyLeet and sozercan committed Feb 21, 2023
1 parent 6a75289 commit b5a1418
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/pkgmgr/dpkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,6 @@ func (dm *dpkgManager) unpackAndMergeUpdates(ctx context.Context, updates types.
const writeFieldsTemplate = `find . -name '*.deb' -exec sh -c "dpkg-deb -f {} > %s" \;`
writeFieldsCmd := fmt.Sprintf(writeFieldsTemplate, filepath.Join(resultsPath, "{}.fields"))
fieldsWritten := mkFolders.Dir(downloadPath).Run(llb.Shlex(writeFieldsCmd)).Root()
if err := buildkit.SolveToDocker(ctx, dm.config.Client, &fieldsWritten, dm.config.ConfigData, dm.config.ImageName+"-fields"); err != nil {
return nil, err
}

// Write the name and version of the packages applied to the results.manifest file for the host
const outputResultsTemplate = `find . -name '*.fields' -exec sh -c 'grep "^Package:\|^Version:" {} >> %s' \;`
Expand Down

0 comments on commit b5a1418

Please sign in to comment.