diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2022-03-02 11:45:32 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2022-03-02 11:45:32 +0100 |
commit | feda6f9d96159f4438dbd192025eb288849e0a51 (patch) | |
tree | c9c004e3a567cb656a26c2ac7672a00648635014 /kernel.spec | |
parent | b9b1e0aed8cb3eb9add7252bc9c07b45d462456b (diff) | |
parent | 650c9f3d081a6d8756dca6b4924bf6bfb5eeb18b (diff) | |
download | kernel-feda6f9d96159f4438dbd192025eb288849e0a51.tar.gz kernel-feda6f9d96159f4438dbd192025eb288849e0a51.tar.xz kernel-feda6f9d96159f4438dbd192025eb288849e0a51.zip |
Merge remote-tracking branch 'origin/f35' into f35-user-thl-vanilla-fedora
Diffstat (limited to 'kernel.spec')
-rwxr-xr-x | kernel.spec | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel.spec b/kernel.spec index 131364a42..20481d71b 100755 --- a/kernel.spec +++ b/kernel.spec @@ -1951,12 +1951,11 @@ BuildKernel() { # Clean up intermediate tools files find $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/tools \( -iname "*.o" -o -iname "*.cmd" \) -exec rm -f {} + - # Make sure the Makefile and version.h have a matching timestamp so that - # external modules can be built - touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h - - # Copy .config to include/config/auto.conf so "make prepare" is unnecessary. - cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf + # Make sure the Makefile, version.h, and auto.conf have a matching + # timestamp so that external modules can be built + touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile \ + $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h \ + $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf %if %{with_debuginfo} eu-readelf -n vmlinux | grep "Build ID" | awk '{print $NF}' > vmlinux.id @@ -2991,7 +2990,8 @@ fi # # %changelog -* Wed Feb 16 2022 Justin M. Forbes <jforbes@fedoraproject.org> [5.16.10-200] +* Wed Feb 23 2022 Justin M. Forbes <jforbes@fedoraproject.org> [5.16.11-0] +- spec: don't overwrite auto.conf with .config (Ondrej Mosnacek) - New configs for 5.16.10 (Justin M. Forbes) * Wed Feb 16 2022 Justin M. Forbes <jforbes@fedoraproject.org> [5.16.10-0] |