[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [test-API PATCH 1/6] Slight cross-distribution support



On 03/27/2012 10:32 AM, Christophe Fergeau wrote:
> On Mon, Mar 26, 2012 at 02:42:17PM +0200, Michal Novotny wrote:
>> Fedora is using /etc/redhat-release file so you use the same handling
>> for Fedora and RHEL then it's fine.
> I also have a /etc/fedora-release on my f17. systemd people are pushing for
> standardization around
> http://www.freedesktop.org/software/systemd/man/os-release.html
>
> Christophe

Christophe, that's right. Fedora is using /etc/fedora-release file but
please not that there is also the /etc/redhat-release file which is
symlink to /etc/fedora-release. Since the handling for both Fedora and
RHEL is the same then it's fine to check the /etc/redhat-release file.

Michal

-- 
Michal Novotny <minovotn redhat com>, RHCE, Red Hat
Virtualization | libvirt-php bindings | php-virt-control.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]