FS#65357 - [wireguard-lts] Add exact kernel version to linux-lts dependency
Attached to Project:
Arch Linux
Opened by Endre Szabo (endre) - Monday, 03 February 2020, 13:24 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 03 February 2020, 14:17 GMT
Opened by Endre Szabo (endre) - Monday, 03 February 2020, 13:24 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 03 February 2020, 14:17 GMT
|
Details
Description:
Please add exact version to kernel dependency so that we can know which version this package was built against and thus, depends on. My sample 'diff' on a PKGBUILD would be: - depends=('linux-lts') + depends=('linux-lts=4.19.98-1') archzfs does this and we can work with it very nicely to make a repo with packages of equivalent kernel version dependencies. $ pacman -Si wireguard-lts | grep ^Dep Depends On : linux-lts $ pacman -Si zfs-linux-lts | grep ^Dep Depends On : kmod zfs-utils=0.8.3 linux-lts=4.19.98-1 |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Monday, 03 February 2020, 14:17 GMT
Reason for closing: Not a bug
Additional comments about closing: Partial updates are not supported.
Monday, 03 February 2020, 14:17 GMT
Reason for closing: Not a bug
Additional comments about closing: Partial updates are not supported.
- depends=('linux-lts')
- _kernver="$(</usr/src/linux-lts/version)"
+ _kernver="$(</usr/src/linux-lts/version)"
+ depends=("linux-lts=${_kernver}")
Maintaining the version by hand is a painful waste of time when arch doesn't support partial updates, which means that it becomes harder to release timely updates. Evaluating the version in a manner that breaks --printsrcinfo and makes it impossible to properly lint invalid dependency values is something we've explicitly moved away from and doesn't work on all versions of pacman, see
FS#58776for details.