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

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

 



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@xxxxxxxxxx>, RHCE, Red Hat
Virtualization | libvirt-php bindings | php-virt-control.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]