pkg: fedora: Provide installonlypkg(kernel)
This allows configuring dnf to never remove the running kernel, and instead keep a configurable amount of kernels around (3 by default). Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
parent
00f8ba89c4
commit
ba040b7e5b
|
@ -50,6 +50,8 @@ Release: %{kernel_release}%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/linux-surface/linux-surface
|
URL: https://github.com/linux-surface/linux-surface
|
||||||
|
|
||||||
|
Provides: installonlypkg(kernel-surface)
|
||||||
|
|
||||||
Requires(pre): coreutils, systemd >= 203-2, /usr/bin/kernel-install
|
Requires(pre): coreutils, systemd >= 203-2, /usr/bin/kernel-install
|
||||||
Requires(pre): dracut >= 027
|
Requires(pre): dracut >= 027
|
||||||
Requires(pre): linux-firmware >= 20150904-56.git6ebf5d57
|
Requires(pre): linux-firmware >= 20150904-56.git6ebf5d57
|
||||||
|
@ -100,6 +102,7 @@ Microsoft Surface.
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development package for building kernel modules for kernel-surface
|
Summary: Development package for building kernel modules for kernel-surface
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
|
Provides: installonlypkg(kernel-surface)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides kernel headers and makefiles sufficient to build modules
|
This package provides kernel headers and makefiles sufficient to build modules
|
||||||
|
|
Loading…
Reference in a new issue