[Libosinfo] [PATCH] install-script: Default to DISK injection method
Giuseppe Scrivano
gscrivan at redhat.com
Fri Aug 1 10:39:32 UTC 2014
"Zeeshan Ali (Khattak)" <zeeshanak at gnome.org> writes:
> If script does not declare an injection method, assume DISK as every
> script must at least support one injection method and there is no need
> to require scripts to always explicitly declare supported injection
> methods.
> ---
> osinfo/osinfo_install_script.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
> index cc3eed2..66a49e4 100644
> --- a/osinfo/osinfo_install_script.c
> +++ b/osinfo/osinfo_install_script.c
> @@ -1323,7 +1323,7 @@ unsigned int osinfo_install_script_get_injection_methods(OsinfoInstallScript *sc
> return osinfo_entity_get_param_value_int64_with_default
> (OSINFO_ENTITY(script),
> OSINFO_INSTALL_SCRIPT_PROP_INJECTION_METHOD,
> - 0);
> + OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK);
> }
>
> /**
nice idea. ACK.
Regards,
Giuseppe
More information about the Libosinfo
mailing list