On 03/22/2017 04:07 PM, Luke Shumaker wrote:
> I'd like to propose adding a LINUX-ABI_VERSION pseudo-package that is
> provided by each of the Linux kernel packages.
>
> So then a package that requires at least Linux kernel 4.7 (until
> recently, -lts was 4.4), can say
>
> requires=('LINUX-ABI_VERSION>=4.7')
> conflicts=('LINUX-ABI_VERSION<4.7')
>
> without having to worry about if the user uses linux-libre or
> linux-libre-lts or linux-libre-knock-lts or whatever. The "conflicts"
> line is important because it handles the case where the user has both
> linux-libre and linux-libre-lts installed, but boots to -lts by
> default; thus breaking the dependency on the newer kernel.
+1
> This can be accomplished by adding "LINUX-ABI_VERSION=${_pkgver%%-*}"
> to the provides=() line in the "_package()" function.
I will add it in our kernels, thanks for the suggestion. :)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
