Control: tags -1 - patch Control: tags -1 + pending Hi,
While your patch would work for arm64 (RPi 3 and 4 families), it would not work for armel (RPi 0/1) or armhf (RPi 2). The suffix of the kernel version denotes the machine type, not just the architecture; our working armel kernel is -rpi, and our working armhf kernel is -armmp. We could set those suffixes based on the output of "dpkg --print-architecture", but I fear that would also end up in unbootable systems for some people who built their own kernels or so. I will go the other route, and -same as I'm doing grep -v \.dpkg-bak$- will exclude the known suffix you report for DKMS kernels. I hope that solves the issue!