On 04/12/17 13:21, Kristján Valur Jónsson wrote:
On 4 December 2017 at 11:51, Fabian Arrotin <arrfab@centos.org mailto:arrfab@centos.org> wrote:
Yes, it's coming from centos-userland-release : rpm -q --scripts centos-userland-release : postinstall scriptlet (using /bin/sh): # Detecting if rpi or generic kernel egrep -q 'BCM2709|BCM2710' /proc/cpuinfo && echo rpi2 >/etc/yum/vars/kvariant || echo generic >/etc/yum/vars/kvariant So normally it's detected correctly and so put the correct rpi2 value for kvariant when installed on a rpi2/rpi3
Funny, my device reports BCM2835. (which indicates that it isn't RPI3 at all). I'm sure they are all in the BCM28xx range, see https://en.wikipedia.org/wiki/Raspberry_Pi also, difference between BCM27xx and BCM28xx: https://raspberrypi.stackexchange.com/questions/840/why-is-the-cpu-sometimes...
-- Kv, Kristján Valur Jónsson, RVX
hmm, interesting ... so you mean that with the raspberrypi2 kernel installed, it was still detecting the rpi3 as BCM2835 ? It wasn't on mine, but if some people confirm that behaviour, we can probably adapt the rpm postinstall scriptlet that way too