On Thu Feb 12 2015 at 1:20:30 PM Alan Jenkins <alan.james.jenkins@gmail.com> wrote:
Hey guys,

    These patches improve support for Arch Linux within Kimchi. They add support for detecting the Arch Linux distribution's releases and mark it as a modern distribution
    to enable Kimchi to automatically turn on support for virtio-net with Arch Linux virtual machines.

    I however still have yet to find the code that is able to identify a distribution from a disk image, could someone point me in the direction of that code?

Alan, the code responsible to identify the distro and version is the isoinfo.py and we can test your patch using the following command:

$ PYTHONPATH=<path_to_your>/kimchi/src/ python isoinfo.py ${HOME}/Downloads/debian-7.8.0-amd64-netinst.iso 
[{'path': '/home/pvital/Downloads/debian-7.8.0-amd64-netinst.iso', 'version': '7.8', 'distro': 'debian'}]
 

    Thanks,

Alan Jenkins

Alan Jenkins (3):
  Add Arch Linux entry to isoinfo.
  Add modern entry for Arch Linux.
  Added Arch Icon.

 src/kimchi/isoinfo.py   |   1 +
 src/kimchi/osinfo.py    |   2 +-
 ui/images/icon-arch.png | Bin 0 -> 3868 bytes
 3 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 ui/images/icon-arch.png

--
2.2.2

_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel