found another bug in %postun:
The whole reason for this section is to keep a working system after removing the *newest* kernel. I think for this to work correctly, we also need to revert the dtb's and the overlays. complicating factor is that the directory /usr/share/raspberrypi2-kernel/4.4.21-v7.1.20160924git0fe7fe3.el7 is not part of the %files section. it might not get removed on uninstall. This'll make it dificult to assess which dtb is the newest.
Jacco
PS disadvantage of the current logic is that it will always configure your system for the latest kernel, when removing a random kernel package. another concern is the sorting logic. it might find that f.i. 4.4.6 is 'newer' than 4.4.21
On 25-09-16 21:09, Jacco Ligthart wrote:
Hi Fabian,
I updated this to version 4.4.21, while fixing some bugs along the way.
See attached SPEC file.
Jacco
On 11-07-16 19:22, Fabian Arrotin wrote:
Hi,
I just rebased the raspberry pi 2/3 kernel to 4.4.14, with a specific patch to cover also selinux/auditd support.
I'd like to have some additional testers (tested on my rpi2 and rpi3 boards). Create (for example) the /etc/yum.repos.d/kernel.repo file with the following content :
[kernel] name=rpi kernel baseurl=http://armv7.dev.centos.org/repodir/arm-kernels/rpi2-4.4.14/ gpgcheck=0 enabled=1
Then a traditional "yum update ; systemctl reboot" If you want to have selinux working, feel free to follow https://wiki.centos.org/SpecialInterestGroup/AltArch/Arm32?highlight=%28arm3... , except that for rpi2/rpi3, there is no /boot/exlinux/extlinux.conf, but rather edit /boot/cmdline.txt
Thanks for the feedback, and then we'll be able to sign/push those to mirrors (and also include those in newer images for rpi2/rpi3)
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev