summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi
diff options
context:
space:
mode:
authorcdoern <cbdoer23@g.holycross.edu>2021-06-09 14:26:40 -0400
committercdoern <cbdoer23@g.holycross.edu>2021-06-14 09:05:01 -0400
commit3ddadc5326d6f7ba159495f135730ed817ce1989 (patch)
tree5bdb6d8ac975ad7667a164002562f36df74c5d6c /pkg/domain/infra/abi
parent2970e3518cc95910444903f572418f5887316e47 (diff)
downloadpodman-3ddadc5326d6f7ba159495f135730ed817ce1989.tar.gz
podman-3ddadc5326d6f7ba159495f135730ed817ce1989.tar.bz2
podman-3ddadc5326d6f7ba159495f135730ed817ce1989.zip
Image import fromSrc now supports OS/Arch
added handling in entities and compat to support passing a specified OS/Arch while importing from SRC. fixes #10566 Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r--pkg/domain/infra/abi/images.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go
index 083566201..5992181d3 100644
--- a/pkg/domain/infra/abi/images.go
+++ b/pkg/domain/infra/abi/images.go
@@ -388,6 +388,8 @@ func (ir *ImageEngine) Import(ctx context.Context, options entities.ImageImportO
importOptions.CommitMessage = options.Message
importOptions.Tag = options.Reference
importOptions.SignaturePolicyPath = options.SignaturePolicy
+ importOptions.OS = options.OS
+ importOptions.Architecture = options.Architecture
if !options.Quiet {
importOptions.Writer = os.Stderr