[virt-tools-list] [libosinfo 3/5] Add Debian OS metadata

Daniel P. Berrange berrange at redhat.com
Fri Jun 17 14:12:47 UTC 2011


On Thu, Jun 16, 2011 at 02:51:27AM +0300, Zeeshan Ali wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> ---
>  data/oses/Makefile.am |    2 +-
>  data/oses/debian.xml  |   35 +++++++++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+), 1 deletions(-)
>  create mode 100644 data/oses/debian.xml
> 
> diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
> index 842e962..bb288df 100644
> --- a/data/oses/Makefile.am
> +++ b/data/oses/Makefile.am
> @@ -1,5 +1,5 @@
>  
>  databasedir = $(pkgdatadir)/data/oses/
> -database_DATA = fedora.xml rhel.xml centos.xml suse.xml mandriva.xml
> +database_DATA = fedora.xml rhel.xml centos.xml suse.xml mandriva.xml debian.xml
>  
>  EXTRA_DIST = $(database_DATA)
> diff --git a/data/oses/debian.xml b/data/oses/debian.xml
> new file mode 100644
> index 0000000..a14ac14
> --- /dev/null
> +++ b/data/oses/debian.xml
> @@ -0,0 +1,35 @@
> +<libosinfo version="0.0.1">
> +
> +  <os id="http://debian.org/etch">
> +    <short-id>debianetch</short-id>
> +    <name>Debian Etch</name>
> +    <version>4</version>
> +    <vendor>Debian Project</vendor>
> +  </os>
> +
> +  <os id="http://debian.org/lenny">
> +    <short-id>debianlenny</short-id>
> +    <name>Debian Lenny</name>
> +    <version>5</version>
> +    <vendor>Debian Project</vendor>
> +    <upgrades id="http://debian.org/etch"/>
> +
> +    <devices>
> +      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000">
> +      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001">
> +    </devices>
> +  </os>
> +
> +  <os id="http://debian.org/squeeze">
> +    <short-id>debiansqueeze</short-id>
> +    <name>Debian Squeeze</name>
> +    <version>6</version>
> +    <vendor>Debian Project</vendor>
> +    <upgrades id="http://debian.org/lenny"/>
> +
> +    <devices>
> +      <device id="http://www.linux-usb.org/usb.ids/80ee/0021">
> +    </devices>
> +  </os>

ACK, looks fine.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list