[Arm-dev] Bug: Missing symlink /etc/redhat-release

Sun Jul 24 14:13:01 UTC 2016
Richard W.M. Jones <rjones at redhat.com>

On Sun, Jul 24, 2016 at 12:31:37PM +0200, Artem Sidorenko wrote:
> Hey Centos ARM list,
> 
> As requested via twitter today [1],
> 
> On the current Raspberry Pi 3 image the /etc/redhat-release isn't a
> symlink to centos-release like on x86, but a file with "Derived from Red
> Hat Enterprise Linux 7.2 (Source)" [2].
> 
> This might lead to errors in the OS auto detection, like with Chef [3].

Yup, this affected libguestfs
(https://github.com/libguestfs/libguestfs/commit/1ff463e8692aae4313bd5b42bb6f09932bb63392).

IMHO it's up to Chef to fix their OS detection like we did.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW