[Libosinfo] [PATCH 4/8] installer: API to query supported device driver formats

Christophe Fergeau cfergeau at redhat.com
Mon Jan 28 10:27:35 UTC 2013


On Mon, Jan 28, 2013 at 05:18:43AM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> diff --git a/osinfo/osinfo_install_script.h b/osinfo/osinfo_install_script.h
> index d91751e..82486ef 100644
> --- a/osinfo/osinfo_install_script.h
> +++ b/osinfo/osinfo_install_script.h
> @@ -163,6 +165,9 @@ OsinfoPathFormat osinfo_install_script_get_path_format(OsinfoInstallScript *scri
>  gboolean osinfo_install_script_get_can_pre_install_drivers(OsinfoInstallScript *script);
>  gboolean osinfo_install_script_get_can_post_install_drivers(OsinfoInstallScript *script);
>  
> +OsinfoDeviceDriverFormat osinfo_install_script_get_pre_install_driver_format(OsinfoInstallScript *script);
> +OsinfoDeviceDriverFormat osinfo_install_script_get_post_install_driver_format(OsinfoInstallScript *script);

I don't think assuming that a given installer will support only one driver
format is expressive enough. For Windows post-install drivers, supporting
unpacked Windows drivers in addition to running a .exe shouldn't be very
hard, and this API would not work there.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20130128/b00b8b97/attachment.sig>


More information about the Libosinfo mailing list