Comment 7 for bug 1273769

Revision history for this message
John A Meinel (jameinel) wrote :

Given the statements in bug #1276909 this seems to be a small patch so that we have a regex to recognize the architecture.

It seems the new patch would be something like:
--- juju-core-1.17.2.orig/src/launchpad.net/juju-core/environs/manual/init.go
+++ juju-core-1.17.2/src/launchpad.net/juju-core/environs/manual/init.go
@@ -128,6 +128,7 @@ var archREs = []struct {
  {regexp.MustCompile("amd64|x86_64"), "amd64"},
  {regexp.MustCompile("i[3-9]86"), "i386"},
  {regexp.MustCompile("armv.*"), "arm"},
+ {regexp.MustCompile("ppc64el"), "ppc64el"},
 }

I don't personally have a way to test this, and I don't know the exact strings that we should be using.