[Libguestfs] [PATCH v11 3/8] builder: change arch type to (string, string option) maybe.

2017-10-27 Thread Cédric Bosdonnat
In a future commit, the index parser will allow arch not to be set for some cases. In such cases, it will be guessed by inspecting the image, but we need to distinguish between a set value and a guessed one. Using the '(string, string option) maybe' type will help it: match arch with | Eit

Re: [Libguestfs] [PATCH v11 3/8] builder: change arch type to (string, string option) maybe.

2017-11-07 Thread Richard W.M. Jones
On Fri, Oct 27, 2017 at 04:08:17PM +0200, Cédric Bosdonnat wrote: > In a future commit, the index parser will allow arch not to be set > for some cases. In such cases, it will be guessed by inspecting the > image, but we need to distinguish between a set value and a guessed > one. Using the '(strin