fixup! pkg/fedora: Fix missing Makefile.rhelver

This commit is contained in:
Maximilian Luz 2021-12-08 17:33:10 +01:00
parent a874d8f7d9
commit 8970960cde
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02

View file

@ -131,6 +131,9 @@ against the kernel-surface package.
%prep
%autosetup -S git -n linux-fedora-%{kernel_tag}
# Fix missing Makefile.rhelver
touch Makefile.rhelver
scripts/kconfig/merge_config.sh \
fedora/configs/%{kernel_config} \
%{SOURCE1} \
@ -168,9 +171,6 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
%build
# Fix missing Makefile.rhelver
touch Makefile.rhelver
# This ensures build-ids are unique to allow parallel debuginfo
perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{kernel_name}\"/" .config