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=%28arm32%29#head-8b8960abcc7e5db62db38ba3be975343e15dca14 >> , 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 at centos.org >> https://lists.centos.org/mailman/listinfo/arm-dev > > > > > _______________________________________________ > Arm-dev mailing list > Arm-dev at centos.org > https://lists.centos.org/mailman/listinfo/arm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20160927/d48867ff/attachment-0006.html>