<p dir="ltr">Hey Pablo,</p>
<p dir="ltr">Yeah I have edited isoinfo.py and the patch is in one of these emails. It has been tested and works on my kimchi fork. However I could not find any code for identifying or setting the distro of an image file (not iso but an virtual hard disk file).</p>
<div class="gmail_quote">On 12 Feb 2015 13:20, "Paulo Ricardo Paz Vital" <<a href="mailto:pvital@gmail.com">pvital@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote">On Thu Feb 12 2015 at 1:20:30 PM Alan Jenkins <<a href="mailto:alan.james.jenkins@gmail.com" target="_blank">alan.james.jenkins@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey guys,<br>
<br>
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<br>
to enable Kimchi to automatically turn on support for virtio-net with Arch Linux virtual machines.<br>
<br>
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?<br></blockquote><div><br></div><div>Alan, the code responsible to identify the distro and version is the isoinfo.py and we can test your patch using the following command:</div><div><br></div><div><div>$ PYTHONPATH=<path_to_your>/kimchi/src/ python isoinfo.py ${HOME}/Downloads/debian-7.8.0-amd64-netinst.iso </div><div>[{'path': '/home/pvital/Downloads/debian-7.8.0-amd64-netinst.iso', 'version': '7.8', 'distro': 'debian'}]</div></div><div><span style="font-size:13.1999998092651px"> </span><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
<br>
Alan Jenkins<br>
<br>
Alan Jenkins (3):<br>
Add Arch Linux entry to isoinfo.<br>
Add modern entry for Arch Linux.<br>
Added Arch Icon.<br>
<br>
src/kimchi/isoinfo.py | 1 +<br>
src/kimchi/osinfo.py | 2 +-<br>
ui/images/icon-arch.png | Bin 0 -> 3868 bytes<br>
3 files changed, 2 insertions(+), 1 deletion(-)<br>
create mode 100644 ui/images/icon-arch.png<br>
<br>
--<br>
2.2.2<br>
<br>
______________________________<u></u>_________________<br>
Kimchi-devel mailing list<br>
<a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/kimchi-devel</a><br>
</blockquote></div></div>
</blockquote></div>