pkg: fedora: Rebase F31 to 5.7 and update to 5.7.7
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
parent
5fd66727e3
commit
f67f7d4ddd
|
@ -2,8 +2,8 @@
|
||||||
# Definitions to configure the kernel we want to build
|
# Definitions to configure the kernel we want to build
|
||||||
#
|
#
|
||||||
|
|
||||||
%global kernel_tag_fc32 kernel-5.7.6-201.fc32
|
%global kernel_tag_fc32 kernel-5.7.7-200.fc32
|
||||||
%global kernel_tag_fc31 kernel-5.6.19-200.fc31
|
%global kernel_tag_fc31 kernel-5.7.7-100.fc31
|
||||||
|
|
||||||
%global kernel_release_fc32 1
|
%global kernel_release_fc32 1
|
||||||
%global kernel_release_fc31 1
|
%global kernel_release_fc31 1
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
%global fedora_title_fc32 32 (Thirty Two)
|
%global fedora_title_fc32 32 (Thirty Two)
|
||||||
%global fedora_title_fc31 31 (Thirty One)
|
%global fedora_title_fc31 31 (Thirty One)
|
||||||
|
|
||||||
%global ls_patches_commit 291e86a8f7a99fc8f28281e4742a7d7fdd6b8ea7
|
%global ls_patches_commit 05746ccc772fd4f65ef6661bd8bdaf70fb3a1079
|
||||||
|
|
||||||
%global sb_crt surface.crt
|
%global sb_crt surface.crt
|
||||||
%global sb_key surface.key
|
%global sb_key surface.key
|
||||||
|
@ -79,24 +79,11 @@ Source21: %{sb_key}
|
||||||
Source100: mod-sign.sh
|
Source100: mod-sign.sh
|
||||||
Source101: parallel_xz.sh
|
Source101: parallel_xz.sh
|
||||||
|
|
||||||
%if %{fedora} == 32
|
|
||||||
|
|
||||||
Patch0: %{surface_source}/%{kernel_patches}/0001-surface3-spi.patch
|
Patch0: %{surface_source}/%{kernel_patches}/0001-surface3-spi.patch
|
||||||
Patch1: %{surface_source}/%{kernel_patches}/0002-surface3-oemb.patch
|
Patch1: %{surface_source}/%{kernel_patches}/0002-surface3-oemb.patch
|
||||||
Patch2: %{surface_source}/%{kernel_patches}/0003-surface-sam.patch
|
Patch2: %{surface_source}/%{kernel_patches}/0003-surface-sam.patch
|
||||||
Patch3: %{surface_source}/%{kernel_patches}/0005-wifi.patch
|
Patch3: %{surface_source}/%{kernel_patches}/0004-wifi.patch
|
||||||
Patch4: %{surface_source}/%{kernel_patches}/0006-ipts.patch
|
Patch4: %{surface_source}/%{kernel_patches}/0005-ipts.patch
|
||||||
|
|
||||||
%else
|
|
||||||
|
|
||||||
Patch0: %{surface_source}/%{kernel_patches}/0001-surface3-power.patch
|
|
||||||
Patch1: %{surface_source}/%{kernel_patches}/0002-surface3-spi.patch
|
|
||||||
Patch2: %{surface_source}/%{kernel_patches}/0003-surface3-oemb.patch
|
|
||||||
Patch3: %{surface_source}/%{kernel_patches}/0004-surface-sam.patch
|
|
||||||
Patch4: %{surface_source}/%{kernel_patches}/0006-wifi.patch
|
|
||||||
Patch5: %{surface_source}/%{kernel_patches}/0007-ipts.patch
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Patch100: 0001-Add-secureboot-pre-signing-to-the-kernel.patch
|
Patch100: 0001-Add-secureboot-pre-signing-to-the-kernel.patch
|
||||||
|
|
||||||
|
@ -221,9 +208,6 @@ if [ -s Module.markers ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# then drop all but the needed Makefiles/Kconfig files
|
# then drop all but the needed Makefiles/Kconfig files
|
||||||
%if %{fedora} == 31
|
|
||||||
rm -rf %{kernel_modpath}/build/Documentation
|
|
||||||
%endif
|
|
||||||
rm -rf %{kernel_modpath}/build/scripts
|
rm -rf %{kernel_modpath}/build/scripts
|
||||||
rm -rf %{kernel_modpath}/build/include
|
rm -rf %{kernel_modpath}/build/include
|
||||||
cp .config %{kernel_modpath}/build
|
cp .config %{kernel_modpath}/build
|
||||||
|
|
Loading…
Reference in a new issue