[Libosinfo] [PATCH 6/7] Add lxc install script injection method

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Mon Apr 14 14:33:24 UTC 2014


On Mon, Apr 14, 2014 at 3:09 PM, Cédric Bosdonnat <cbosdonnat at suse.com> wrote:
> ---

Some info about this method in the commit log details and enum's docs
would be nice.

>  data/schemas/libosinfo.rng     | 2 +-
>  osinfo/osinfo_install_script.h | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
> index 4f4edac..e06b08c 100644
> --- a/data/schemas/libosinfo.rng
> +++ b/data/schemas/libosinfo.rng
> @@ -777,7 +777,7 @@
>    <define name='injection-method'>
>      <element name='injection-method'>
>        <data type="string">
> -        <param name="pattern">cdrom|disk|floppy|initrd|web</param>
> +        <param name="pattern">cdrom|disk|floppy|initrd|web|lxc</param>
>        </data>
>      </element>
>    </define>
> diff --git a/osinfo/osinfo_install_script.h b/osinfo/osinfo_install_script.h
> index d328a96..b0fc217 100644
> --- a/osinfo/osinfo_install_script.h
> +++ b/osinfo/osinfo_install_script.h
> @@ -134,6 +134,7 @@ typedef enum {
>      OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_FLOPPY = 1 << 2,
>      OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD = 1 << 3,
>      OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_WEB    = 1 << 4,
> +    OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_LXC    = 1 << 5,

You forgot to add the docs for new enum.


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the Libosinfo mailing list