On 04/12/17 12:20, Kristján Valur Jónsson wrote:
BTW, we never had any image for rpi2/rpi3 that was using the kernel-generic repo
Ok, the values are set in /etc/yum/vars.
[root@dc03 vars]# ll total 12 -rw-r--r--. 1 root root 6 Dec 5 2016 infra -rw-r--r--. 1 root root 8 Oct 31 10:00 kvariant -rw-r--r--. 1 root root 2 Sep 1 07:02 releasever
Seems that the "kvariant" was last modified end of october, probably by some update or other. I'ver reset it to 'rpi2' and hoping for the best.
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