commit | 8be9a77a559e4615dc981a364d82f147680e06c3 | [log] [tgz] |
---|---|---|
author | Arup Mukherjee <arup@google.com> | Mon Feb 09 15:57:58 2015 -0800 |
committer | Arup Mukherjee <arup@google.com> | Mon Feb 09 15:58:48 2015 -0800 |
tree | 1b731617e88a3881f5211c3f8111d61b94167f2f | |
parent | 6bb0b0987ea219524d3154d4f72c367581650e9d [diff] |
Add "386" as an alias for "x86" ("386" is the value of GOARCH for 32-bit binaries) Change-Id: I19f92c2bf0ff511c91410771aa2855b5aa44dc4b
diff --git a/services/mgmt/device/impl/profile.go b/services/mgmt/device/impl/profile.go index 6410f3a..1d2bd08 100644 --- a/services/mgmt/device/impl/profile.go +++ b/services/mgmt/device/impl/profile.go
@@ -42,7 +42,7 @@ result.Arch = build.AMD64 case "arm": result.Arch = build.ARM - case "x86": + case "x86", "386": result.Arch = build.X86 default: return nil, errors.New("Unsupported hardware architecture: " + runtime.GOARCH)