commit afd1f81611e1d75a2733d5ad6c4af2f03161e904

OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=1402
This commit is contained in:
Kernel Bugs 2020-12-02 08:08:02 +00:00 committed by Git OBS Bridge
parent 028dfe59a5
commit 669d0bdff7
38 changed files with 98 additions and 543 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:c89b769078dc4e743ff17a6ace97b961401492763ca1240cd4dadc44306d2116 oid sha256:017444c6ef4c720dfe29969a190b0168672f7dc4eaf96f494605b12ebd2aab49
size 276580 size 276660

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

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

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

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

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

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

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -31,7 +31,7 @@
Name: dtb-riscv64 Name: dtb-riscv64
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%obsolete_rebuilds %name %obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh Source2: source-post.sh
@ -454,7 +454,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -759,6 +759,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -792,6 +794,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -309,7 +309,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -614,6 +614,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -647,6 +649,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%ifarch ppc64 %ifarch ppc64
Provides: kernel-kdump = 2.6.28 Provides: kernel-kdump = 2.6.28
Obsoletes: kernel-kdump <= 2.6.28 Obsoletes: kernel-kdump <= 2.6.28
@ -460,7 +460,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -765,6 +765,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -798,6 +800,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%ifarch %ix86 %ifarch %ix86
Provides: kernel-smp = 2.6.17 Provides: kernel-smp = 2.6.17
Obsoletes: kernel-smp <= 2.6.17 Obsoletes: kernel-smp <= 2.6.17
@ -503,7 +503,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -808,6 +808,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -841,6 +843,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

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

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%obsolete_rebuilds %name %obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh Source2: source-post.sh
@ -458,7 +458,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -763,6 +763,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -796,6 +798,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%obsolete_rebuilds %name %obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh Source2: source-post.sh
@ -452,7 +452,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -757,6 +757,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -790,6 +792,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -45,7 +45,7 @@ BuildRequires: util-linux
%endif %endif
%endif %endif
%endif %endif
BuildRequires: kernel%kernel_flavor-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 BuildRequires: kernel%kernel_flavor-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%if 0%{?rhel_version} %if 0%{?rhel_version}
BuildRequires: kernel BuildRequires: kernel
@ -66,7 +66,7 @@ License: GPL-2.0
Group: SLES Group: SLES
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

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

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%ifarch %ix86 %ifarch %ix86
Provides: kernel-bigsmp = 2.6.17 Provides: kernel-bigsmp = 2.6.17
Obsoletes: kernel-bigsmp <= 2.6.17 Obsoletes: kernel-bigsmp <= 2.6.17
@ -480,7 +480,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -785,6 +785,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -818,6 +820,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -32,7 +32,7 @@ License: GPL-2.0
Group: Development/Sources Group: Development/Sources
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -43,7 +43,7 @@ BuildRequires: fdupes
BuildRequires: sed BuildRequires: sed
Requires(post): coreutils sed Requires(post): coreutils sed
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: linux Provides: linux
Provides: multiversion(kernel) Provides: multiversion(kernel)
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
@ -224,6 +224,8 @@ cd ..
%endif %endif
%if ! %vanilla_only %if ! %vanilla_only
ln -sf XXlinux%variant linux%variant # dummy symlink
cd linux-%kernelrelease%variant cd linux-%kernelrelease%variant
%_sourcedir/apply-patches %_sourcedir/series.conf %my_builddir %symbols %_sourcedir/apply-patches %_sourcedir/series.conf %my_builddir %symbols
rm -f $(find . -name ".gitignore") rm -f $(find . -name ".gitignore")

View File

@ -224,6 +224,8 @@ cd ..
%endif %endif
%if ! %vanilla_only %if ! %vanilla_only
ln -sf XXlinux%variant linux%variant # dummy symlink
cd linux-%kernelrelease%variant cd linux-%kernelrelease%variant
%_sourcedir/apply-patches %_sourcedir/series.conf %my_builddir %symbols %_sourcedir/apply-patches %_sourcedir/series.conf %my_builddir %symbols
rm -f $(find . -name ".gitignore") rm -f $(find . -name ".gitignore")

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -27,7 +27,7 @@ Group: Development/Sources
Version: 5.9.11 Version: 5.9.11
%if %using_buildservice %if %using_buildservice
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -52,7 +52,7 @@ Requires: kernel-pae-devel = %version-%source_rel
%endif %endif
Requires: pesign-obs-integration Requires: pesign-obs-integration
Provides: %name = %version-%source_rel Provides: %name = %version-%source_rel
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: multiversion(kernel) Provides: multiversion(kernel)
Source: README.KSYMS Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel Requires: kernel-devel%variant = %version-%source_rel

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%obsolete_rebuilds %name %obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh Source2: source-post.sh
@ -451,7 +451,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -756,6 +756,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -789,6 +791,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,23 +1,3 @@
-------------------------------------------------------------------
Tue Dec 1 12:02:07 CET 2020 - msuchanek@suse.de
- rpm/kernel-{source,binary}.spec: do not include ghost symlinks
(boo#1179082).
- commit 76a9256
-------------------------------------------------------------------
Tue Dec 1 09:43:02 CET 2020 - jslaby@suse.cz
- Update config files.
Refresh after SOUNDWIRE removal.
- commit fa3b6ea
-------------------------------------------------------------------
Mon Nov 30 13:58:44 CET 2020 - ohering@suse.de
- scripts/lib/SUSE/MyBS.pm: properly close prjconf Macros: section
- commit 965157e
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de Mon Nov 30 11:39:07 CET 2020 - tiwai@suse.de
@ -508,14 +488,6 @@ Tue Nov 24 08:49:09 CET 2020 - jslaby@suse.cz
a bit pointless. So fix this. a bit pointless. So fix this.
- commit cc720a5 - commit cc720a5
-------------------------------------------------------------------
Mon Nov 23 11:32:29 CET 2020 - jslaby@suse.cz
- rpm/kernel-binary.spec.in: use grep -E instead of egrep (bsc#1179045)
egrep is only a deprecated bash wrapper for "grep -E". So use the latter
instead.
- commit 63d7072
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz Mon Nov 23 10:08:45 CET 2020 - jslaby@suse.cz

View File

@ -40,7 +40,7 @@
%define rpm_install_dir %buildroot%obj_install_dir %define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj %define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
%if 0%{?_project:1} && ( %(echo %_project | grep -Ex -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") ) %if 0%{?_project:1} && ( %(echo %_project | egrep -x -f %_sourcedir/release-projects | grep -v ^PTF | grep -vc openSUSE) || %(echo %_project | grep -Ec "^(Devel:)?Kernel:") )
%define klp_symbols 1 %define klp_symbols 1
%endif %endif
@ -70,7 +70,7 @@ License: GPL-2.0
Group: System/Kernel Group: System/Kernel
Version: 5.9.11 Version: 5.9.11
%if 0%{?is_kotd} %if 0%{?is_kotd}
Release: <RELEASE>.g99e4d1f Release: <RELEASE>.gafd1f81
%else %else
Release: 0 Release: 0
%endif %endif
@ -179,10 +179,10 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
Provides: kernel-%build_flavor-base-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-%build_flavor-base-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
Provides: kernel-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: kernel-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
# END COMMON DEPS # END COMMON DEPS
Provides: %name-srchash-99e4d1ff9574b11daafba271e8a25e02e9345761 Provides: %name-srchash-afd1f81611e1d75a2733d5ad6c4af2f03161e904
%obsolete_rebuilds %name %obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh Source2: source-post.sh
@ -454,7 +454,7 @@ fi
CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
%if 0%{?_project:1} %if 0%{?_project:1}
if echo %_project | grep -Eqx -f %_sourcedir/release-projects; then if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED" CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
fi fi
%endif %endif
@ -759,6 +759,8 @@ done
# keep this -suffix list in sync with post.sh and postun.sh # keep this -suffix list in sync with post.sh and postun.sh
suffix=-%build_flavor suffix=-%build_flavor
%endif %endif
ln -s XX$image$suffix %buildroot/boot/$image$suffix
ln -s XXinitrd$suffix %buildroot/boot/initrd$suffix
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
@ -792,6 +794,7 @@ chmod 0600 %buildroot/boot/initrd-%kernelrelease-%build_flavor{,-kdump}
if [ %CONFIG_MODULES = y ]; then if [ %CONFIG_MODULES = y ]; then
mkdir -p %rpm_install_dir/%cpu_arch_flavor mkdir -p %rpm_install_dir/%cpu_arch_flavor
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
ln -s XX%build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides install -m 755 -D -t %rpm_install_dir/%cpu_arch_flavor/scripts/mod/ scripts/mod/ksym-provides
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz

View File

@ -1,3 +1,3 @@
2020-12-02 06:11:58 +0000 2020-11-30 10:39:07 +0000
GIT Revision: 99e4d1ff9574b11daafba271e8a25e02e9345761 GIT Revision: afd1f81611e1d75a2733d5ad6c4af2f03161e904
GIT Branch: stable GIT Branch: stable