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

Mon Jul 25 11:36:44 UTC 2016
Karanbir Singh <kbsingh at centos.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/07/16 15:13, Richard W.M. Jones wrote:
> 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/1ff463e8692aae4313bd5
b42bb6f09932bb63392).
>
>  IMHO it's up to Chef to fix their OS detection like we did.

at the least though, from our side, lets get to /etc/centos-release
and /etc/redhat-release looking the same as they do on corrosponding
x86_64 installs. and have /etc/centos-release-upstream report the
upstream 'derived from' bit.


- -- 
Karanbir Singh, Project Lead, The CentOS Project
+44-207-0999389 | http://www.centos.org/ | twitter.com/CentOS
GnuPG Key : http://www.karan.org/publickey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJXlfnMAAoJEI3Oi2Mx7xbtAlAH/jUpfyi08XLLZwXIyirxS2rA
hcRp444FZImExz5aqDEsCayXHnIqb/dAWzreiX1Jhv6GMt6w7WNGYB7jF0IXkJ1N
u/hurug0a/92UOAL7uVxWQmZ7mSvPCnzI3XEYx9o3syK1NTJz/LVpIZEKm6f1u9O
qOHqdkhEUBajEYRNyIoJvhM3KXifHTEc4YODV6+qTTeeoY6xlx0rKVUu3wZr76u8
JnArdAKf34mD7xcZBjRLA19qA1NxLVW6NaDrclOlqmwHVMMzohoBrJ/VqEst02sV
UOtO7LVn05ARIEoZ+r8VkwYcdvGFqTMmFPtdiNApFITTwYXwV5s5TvRVzHmEyWY=
=VUNh
-----END PGP SIGNATURE-----