[aur-general] Kernel version requirement

Damjan Georgievski gdamjan at gmail.com
Tue May 7 20:57:26 UTC 2019


On Tue, 7 May 2019 at 21:26, Julien Nicoulaud via aur-general <
aur-general at archlinux.org> wrote:

> Hi,
>
> In the oomd package <https://aur.archlinux.org/packages/oomd/>, I put a
> linux>=4.20 dependency requirement since it requires the new resource
> pressure metrics <https://facebookmicrosites.github.io/psi/> introduced in
> linux 4.20.
>
> But as another user pointed out, some of the alternatives kernel packages
> declare provides=("linux=${pkgver}"), but several of the most popular do
> not (linux-lts, linux-dzen, linux-hardened).
>
> What we would be correct way to handle this ? Should I just drop the
> version requirement (since having a kernel>=4.20 does not imply you are
> running this one anyway) ? Or should these packages be improved ?
>

 adding a condition to the .service file should be enough.

https://www.freedesktop.org/software/systemd/man/systemd.unit.html#ConditionArchitecture=
-- 
damjan


More information about the aur-general mailing list