commit f6a2b1a6975c8cc187395cbd177b6d207fa31cbc

OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=1072
This commit is contained in:
Michal Suchanek 2019-05-11 08:09:15 +00:00 committed by Git OBS Bridge
parent 4d02acb5df
commit 7725d9643d
34 changed files with 277 additions and 181 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -619,21 +619,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -718,6 +703,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -474,21 +474,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -573,6 +558,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%ifarch ppc64
Provides: kernel-kdump = 2.6.28
Obsoletes: kernel-kdump <= 2.6.28
@ -625,21 +625,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -724,6 +709,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%ifarch %ix86
Provides: kernel-smp = 2.6.17
Obsoletes: kernel-smp <= 2.6.17
@ -668,21 +668,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -767,6 +752,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -33,7 +33,7 @@ License: GPL-2.0
Group: Documentation/Man
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%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-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
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,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -623,21 +623,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -722,6 +707,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -617,21 +617,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -716,6 +701,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -45,7 +45,7 @@ BuildRequires: util-linux
%endif
%endif
%endif
BuildRequires: kernel%kernel_flavor-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
BuildRequires: kernel%kernel_flavor-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%if 0%{?rhel_version}
BuildRequires: kernel
@ -66,7 +66,7 @@ License: GPL-2.0
Group: SLES
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%ifarch %ix86
Provides: kernel-bigsmp = 2.6.17
Obsoletes: kernel-bigsmp <= 2.6.17
@ -645,21 +645,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -744,6 +729,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -27,7 +27,7 @@ Group: Development/Sources
Version: 5.1.0
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%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-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -616,21 +616,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -715,6 +700,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 10:50:34 CEST 2019 - guillaume.gardet@free.fr
- Sign non-x86 kernels when possible (boo#1134303)
- commit bac621c
-------------------------------------------------------------------
Mon May 6 07:06:01 CEST 2019 - mkubecek@suse.cz

View File

@ -64,7 +64,7 @@ License: GPL-2.0
Group: System/Kernel
Version: 5.1.0
%if 0%{?is_kotd}
Release: <RELEASE>.g26ddffa
Release: <RELEASE>.gf6a2b1a
%else
Release: 0
%endif
@ -169,10 +169,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: kernel-%build_flavor-base-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
Provides: kernel-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
# END COMMON DEPS
Provides: %name-srchash-26ddffa2cd81ad74895ead924be01024bd1f11cf
Provides: %name-srchash-f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@ -619,21 +619,6 @@ done
%install
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
export NO_BRP_STRIP_DEBUG=true
@ -718,6 +703,21 @@ add_vmlinux()
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
# sign the modules, firmware and possibly the kernel in the buildservice
BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
BRP_PESIGN_FILES="/boot/$image-%kernelrelease-%build_flavor"
%endif
%if %CONFIG_MODULE_SIG == "y"
BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
export BRP_PESIGN_FILES
if test -x /usr/lib/rpm/pesign/gen-hmac; then
$_ -r %buildroot /boot/$image-%kernelrelease-%build_flavor
fi

View File

@ -1,3 +1,3 @@
2019-05-07 06:20:17 +0000
GIT Revision: 26ddffa2cd81ad74895ead924be01024bd1f11cf
2019-05-10 11:40:57 +0000
GIT Revision: f6a2b1a6975c8cc187395cbd177b6d207fa31cbc
GIT Branch: stable