[Kimchi-devel] [PATCH 0/3] *** Improved support for Arch Linux ***

Alan Jenkins alan.james.jenkins at gmail.com
Thu Feb 12 13:24:40 UTC 2015


Hey Pablo,

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).
On 12 Feb 2015 13:20, "Paulo Ricardo Paz Vital" <pvital at gmail.com> wrote:

> On Thu Feb 12 2015 at 1:20:30 PM Alan Jenkins <
> alan.james.jenkins at 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 at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150212/ff0e506d/attachment.html>


More information about the Kimchi-devel mailing list