RPM macros that list arches the full kernel is built on
Go to file
Eugene Syromiatnikov ff35c47e25 macros.kmp: avoid error in latest_kernel when no kernel is installed
If no kernel-devel packages are installed (this is possible, for example,
during SRPM generation in an isolated environment), no output would be
generated for latest_kernel macro, which would lead to an error (since
an RPM macro can't have an empty definition).  Append %nil to the input
of the "head" command to avoid this situation.

* macros.kmp (kernel_module_package): Feed additional line with %nil
to the input of head command in the latest_kernel macro definition.

Resolves: #1971748
Resolves: #2002887
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2021-11-18 16:33:11 +01:00
.gitignore Initial build 2020-07-21 14:06:48 -07:00
find-provides.ksyms Add support for compressed kernel modules 2021-11-18 16:33:11 +01:00
find-requires.ksyms Add support for compressed kernel modules 2021-11-18 16:33:11 +01:00
firmware.prov Add support for compressed kernel modules 2021-11-18 16:33:11 +01:00
kabi.attr Re-instantiate support for old symvers path 2021-11-18 16:33:11 +01:00
kabi.sh Re-instantiate support for old symvers path 2021-11-18 16:33:11 +01:00
kernel-srpm-macros.spec Add dependency generator for kABI provides 2021-11-18 16:33:11 +01:00
kmod.attr Add kmod.attr from redhat-rpm-config 2021-06-03 17:50:56 +02:00
kmodtool kmodtool: add "kernel${dashvariant}-modules" Provides 2021-11-18 16:33:11 +01:00
macros.kernel-srpm Initial build 2020-07-21 14:06:48 -07:00
macros.kmp macros.kmp: avoid error in latest_kernel when no kernel is installed 2021-11-18 16:33:11 +01:00
modalias.prov Adopt kernel-rpm-macros subpackage from redhat-rpm-config 2021-06-03 17:21:53 +02:00
README.md Added the README 2020-07-21 21:00:28 +00:00
rpmsort Adopt kernel-rpm-macros subpackage from redhat-rpm-config 2021-06-03 17:21:53 +02:00
sources Initial build 2020-07-21 14:06:48 -07:00
symset-table Adopt kernel-rpm-macros subpackage from redhat-rpm-config 2021-06-03 17:21:53 +02:00

kernel-srpm-macros

The kernel-srpm-macros package