commit afc46980b090099e95ee8b2e9b34470187e6796f

OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=1133
This commit is contained in:
Michal Suchanek 2019-07-25 08:06:00 +00:00 committed by Git OBS Bridge
parent 71b0e706e6
commit 704c0b508a
37 changed files with 567 additions and 52 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1946c7a3fffb79f9a86dca2bf8b23d9a3a0a1928cf3c08fe0a18ad95154e2d6b
size 213697
oid sha256:51bdeef57e7cb6ce0a0bf7cf6d38057bf099179ec8076f2ef5cb78790631804d
size 213721

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -31,7 +31,7 @@
Name: dtb-aarch64
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -31,7 +31,7 @@
Name: dtb-armv6l
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -31,7 +31,7 @@
Name: dtb-armv7l
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -717,6 +718,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -21,6 +21,7 @@
%define patchversion @PATCHVERSION@
%define variant @VARIANT@%{nil}
%define vanilla_only @VANILLA_ONLY@
%define compress_modules @COMPRESS_MODULES@
%include %_sourcedir/kernel-spec-macros
@ -572,6 +573,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%ifarch ppc64
Provides: kernel-kdump = 2.6.28
Obsoletes: kernel-kdump <= 2.6.28
@ -723,6 +724,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%ifarch %ix86
Provides: kernel-smp = 2.6.17
Obsoletes: kernel-smp <= 2.6.17
@ -766,6 +767,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -33,7 +33,7 @@ License: GPL-2.0
Group: Documentation/Man
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -63,7 +63,7 @@ BuildRequires: texlive-zapfding
%endif
Url: http://www.kernel.org/
Provides: %name = %version-%source_rel
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -721,6 +722,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -715,6 +716,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -45,7 +45,7 @@ BuildRequires: util-linux
%endif
%endif
%endif
BuildRequires: kernel%kernel_flavor-srchash-adfddac4f7170653097d38112dfc6922cfababd8
BuildRequires: kernel%kernel_flavor-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%if 0%{?rhel_version}
BuildRequires: kernel
@ -66,7 +66,7 @@ License: GPL-2.0
Group: SLES
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -38,7 +38,7 @@ License: GPL-2.0
Group: SLES
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%ifarch %ix86
Provides: kernel-bigsmp = 2.6.17
Obsoletes: kernel-bigsmp <= 2.6.17
@ -743,6 +744,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -32,7 +32,7 @@ License: GPL-2.0
Group: Development/Sources
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -43,7 +43,7 @@ BuildRequires: fdupes
BuildRequires: sed
Requires(post): coreutils sed
Provides: %name = %version-%source_rel
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: linux
Provides: multiversion(kernel)
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -27,7 +27,7 @@ Group: Development/Sources
Version: 5.2.2
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -55,7 +55,7 @@ Requires: kernel-zfcpdump-devel = %version-%source_rel
%endif
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -714,6 +715,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jul 23 17:48:41 CEST 2019 - tiwai@suse.de
- Add kernel module compression support (bsc#1135854)
For enabling the kernel module compress, add the item COMPRESS_MODULES="xz"
in config.sh, then mkspec will pass it to the spec file.
- commit cdf5806
-------------------------------------------------------------------
Tue Jul 23 00:11:24 CEST 2019 - jeffm@suse.com
- config: enable PPPoE for kvmsmall (bsc#1133945).
- commit 72c928d
-------------------------------------------------------------------
Mon Jul 22 16:43:10 CEST 2019 - mkubecek@suse.cz
- rpm/klp-symbols: update to work with kernel >= 5.3
Since mainline commit b7dca6dd1e59 ("kbuild: create *.mod with full
directory path and remove MODVERDIR") in v5.3-rc1, *.mod files are created
in the build tree rather than in a single directory .tmp_versions
($MODVERDIR). They also do not provide path to the *.ko module file on
their first line as the path is the same (except for the suffix).
Update klp-symbols script to handle this new layout and format of *.mod
files to fix build of 5.3-rc1 and newer kernel.
Note: this is a quick band-aid to fix master branch build without risk of
breaking any other branch. A more proper cleanup will follow.
- commit c32f8e7
-------------------------------------------------------------------
Sun Jul 21 19:42:03 CEST 2019 - mkubecek@suse.cz

View File

@ -21,6 +21,7 @@
%define patchversion 5.2.2
%define variant %{nil}
%define vanilla_only 0
%define compress_modules none
%include %_sourcedir/kernel-spec-macros
@ -64,7 +65,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.2.2
%if 0%{?is_kotd}
Release: <RELEASE>.gadfddac
Release: <RELEASE>.gafc4698
%else
Release: 0
%endif
@ -169,10 +170,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: kernel-%build_flavor-base-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
Provides: kernel-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
# END COMMON DEPS
Provides: %name-srchash-adfddac4f7170653097d38112dfc6922cfababd8
Provides: %name-srchash-afc46980b090099e95ee8b2e9b34470187e6796f
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -717,6 +718,9 @@ BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
%if %{compress_modules} != "none"
export BRP_PESIGN_COMPRESS_MODULE=%{compress_modules}
%endif
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor

View File

@ -30,8 +30,13 @@ if ! test -f "$VMLINUX" ; then
fi
if ! test -d "$MODVER_DIR" ; then
echo "Error: Directory does not exist: $MODVER_DIR" >&2
exit 1
# kernel >= 5.3 has *.mod in the build tree
mod_cnt=$(find "$KERNEL_BUILD_DIR" -name '*.mod' | wc -l)
if [ $mod_cnt -eq 0 ]; then
echo "Error: Directory does not exist: $MODVER_DIR" >&2
exit 1
fi
MODVER_DIR="$KERNEL_BUILD_DIR"
fi
get_symbols()
@ -44,8 +49,13 @@ echo "*vmlinux" >> "$KLP_SYMBOLS"
get_symbols "$VMLINUX" >> "$KLP_SYMBOLS"
find "$MODVER_DIR" -iname '*.mod' | while read KMOD ; do
# read .ko path and file from .mod file
KO_FILE="$(head -n1 $KMOD)"
if [ "$MODVER_DIR" = "$KERNEL_BUILD_DIR" ]; then
# kernel >= 5.3, just replace the suffix
KO_FILE="${KMOD%.mod}.ko"
else
# kernel <= 5.2, read .ko path and file from .mod file
KO_FILE="$(head -n1 $KMOD)"
fi
# obtain module name and its object file by processing .ko file name
NO_SUFFIX="$(basename -s .ko $KO_FILE)"

5
mkspec
View File

@ -37,6 +37,10 @@ my @kmps = read_kmps();
my %vars = parse_config_sh();
my ($srcversion, $variant, $vanilla_only) =
($vars{'SRCVERSION'}, $vars{'VARIANT'}, $vars{'VANILLA_ONLY'});
my $compress_modules = 'none';
if (defined($vars{'COMPRESS_MODULES'})) {
$compress_modules = $vars{'COMPRESS_MODULES'};
}
$vanilla_only ||= "0";
if (!defined ($rpmrelease)) {
$rpmrelease = $vars{'RELEASE'} || 0;
@ -100,6 +104,7 @@ my %macros = (
UNPACK_PATCHES => $unpack_patches,
SCRIPTS => $scripts,
YEAR => (localtime time)[5] + 1900,
COMPRESS_MODULES => $compress_modules,
);
# binary spec files

View File

@ -1,3 +1,3 @@
2019-07-22 10:29:33 +0000
GIT Revision: adfddac4f7170653097d38112dfc6922cfababd8
2019-07-24 07:23:58 +0000
GIT Revision: afc46980b090099e95ee8b2e9b34470187e6796f
GIT Branch: stable