commit 018878b257ecdc5e269780c1a27ecb1ade8d48f2
OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=1038
This commit is contained in:
parent
e27cc81c80
commit
ba2a01fd58
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8ab5128c6aa6bd666ef3285111eb60b6fed26570caa0a761cb82afe1cd3a30c
|
||||
size 189460
|
||||
oid sha256:8c6d9d030e5fa43678a4a03de2bdeebfd290d49c7d6bf24ef7d7b5de064b0f6e
|
||||
size 189387
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
%define dtc_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: dtb-aarch64
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -100,13 +100,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
%define dtc_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: dtb-armv6l
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -100,13 +100,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
%define dtc_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: dtb-armv7l
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -100,13 +100,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,10 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
@ -227,13 +226,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -336,7 +335,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -747,7 +745,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -758,9 +756,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -174,6 +173,7 @@ Provides: kernel-%build_flavor-base-srchash-@COMMIT_FULL@
|
||||
Provides: kernel-srchash-@COMMIT_FULL@
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-@COMMIT_FULL@
|
||||
@PROVIDES_OBSOLETES@
|
||||
@PROVIDES_OBSOLETES_BASE@
|
||||
%obsolete_rebuilds %name
|
||||
@SOURCES@
|
||||
@ -193,8 +193,6 @@ BuildArch: i686
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
@NOSOURCE@
|
||||
# END BINARY DEPS
|
||||
@PROVIDES_OBSOLETES@
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -602,7 +600,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -613,9 +611,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,14 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump = 2.6.28
|
||||
Obsoletes: kernel-kdump <= 2.6.28
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-base = 2.6.28
|
||||
Obsoletes: kernel-kdump-base <= 2.6.28
|
||||
@ -231,13 +234,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -340,11 +343,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump = 2.6.28
|
||||
Obsoletes: kernel-kdump <= 2.6.28
|
||||
%endif
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -753,7 +751,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -764,9 +762,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
117
kernel-default-base.spec.txt
Normal file
117
kernel-default-base.spec.txt
Normal file
@ -0,0 +1,117 @@
|
||||
#
|
||||
# Sample spec file using the subpackage infrastructure.
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
# needssslcertforbuild
|
||||
|
||||
# To be defined by user
|
||||
%define build_flavor default
|
||||
# variant includes dash: %%define variant -azure
|
||||
%define variant %{nil}
|
||||
%define subpackage base
|
||||
%define extrasummary base modules
|
||||
%define extradescription This package contains only the base modules, required in all installs.
|
||||
|
||||
%define misc_modules button edd iscsi_ibft i6300esb
|
||||
|
||||
%define virtio_modules virtio_blk virtio-rng virtio_console virtio-gpu \
|
||||
virtio_net virtio_scsi virtio virtio_balloon virtio_input virtio_mmio \
|
||||
virtio_pci virtio_ring
|
||||
|
||||
%define xen_modules xen-blkfront xen-kbdfront xen-netfront xen-fbfront xenblk xennet
|
||||
|
||||
%define vmware_modules vmw_balloon vmw_vmci vmxnet3 vmw_pvscsi vmw_vsock_vmci_transport
|
||||
|
||||
%define hyperv_modules hid-hyperv hv_balloon hv_utils \
|
||||
hv_vmbus hyperv-keyboard hv_netvsc hv_storvsc scsi_transport_fc hyperv_fb
|
||||
|
||||
%define net_drivers 8390 ne2k-pci tulip e100 e1000 e1000e 8139cp 8139too
|
||||
|
||||
%define scsi_modules scsi_transport_iscsi sd_mod sg sr_mod st scsi_mod
|
||||
|
||||
%define block_drivers loop dm-mod ahci ata_piix mptsas mptspi BusLogic sym53c8xx aam53c974
|
||||
|
||||
%define usb_modules usb-common usbcore ehci-hcd ehci-pci ohci-hcd ohci-pci uhci-hcd \
|
||||
xhci-hcd xhci-pci typec_ucsi ucsi_acpi typec ums-alauda ums-cypress ums-datafab \
|
||||
ums-eneub6250 ums-freecom ums-isd200 ums-jumpshot ums-karma ums-onetouch \
|
||||
ums-realtek ums-sddr09 ums-sddr55 ums-usbat usb-storage
|
||||
|
||||
%define filesystems autofs4 btrfs ext4 vfat isofs jbd2 mbcache nfsv2 nfsv3 nfsv4 overlay xfs \
|
||||
nls_cp437 nls_iso8859-1
|
||||
|
||||
%define networking tun veth bridge arp_tables arpt_mangle arptable_filter \
|
||||
ip_tables ipt_ECN ipt_MASQUERADE ipt_REJECT ipt_SYNPROXY ipt_ah ipt_rpfilter \
|
||||
iptable_filter iptable_mangle iptable_nat iptable_raw iptable_security \
|
||||
nf_conntrack_ipv4 nf_defrag_ipv4 nf_dup_ipv4 nf_log_arp nf_log_ipv4 nf_nat_h323 \
|
||||
nf_nat_ipv4 nf_nat_masquerade_ipv4 nf_nat_pptp nf_nat_proto_gre \
|
||||
nf_nat_snmp_basic ip6_tables ip6t_MASQUERADE ip6t_NPT ip6t_REJECT ip6t_SYNPROXY \
|
||||
ip6t_ah ip6t_eui64 ip6t_frag ip6t_hbh ip6t_ipv6header ip6t_mh ip6t_rpfilter \
|
||||
ip6t_rt ip6table_filter ip6table_mangle ip6table_nat ip6table_raw \
|
||||
ip6table_security nf_conntrack_ipv6 nf_defrag_ipv6 nf_dup_ipv6 nf_log_ipv6 \
|
||||
nf_nat_ipv6 nf_nat_masquerade_ipv6 ip_set ip_set_bitmap_ip ip_set_bitmap_ipmac \
|
||||
ip_set_bitmap_port ip_set_hash_ip ip_set_hash_ipmark ip_set_hash_ipport \
|
||||
ip_set_hash_ipportip ip_set_hash_ipportnet ip_set_hash_mac ip_set_hash_net \
|
||||
ip_set_hash_netiface ip_set_hash_netnet ip_set_hash_netport \
|
||||
ip_set_hash_netportnet ip_set_list_set nf_conntrack nf_conntrack_amanda \
|
||||
nf_conntrack_broadcast nf_conntrack_ftp nf_conntrack_h323 nf_conntrack_irc \
|
||||
nf_conntrack_netbios_ns nf_conntrack_netlink nf_conntrack_pptp \
|
||||
nf_conntrack_proto_gre nf_conntrack_sane nf_conntrack_sip nf_conntrack_slp \
|
||||
nf_conntrack_snmp nf_conntrack_tftp nf_log_common nf_nat nf_nat_amanda \
|
||||
nf_nat_ftp nf_nat_irc nf_nat_redirect nf_nat_sip nf_nat_tftp nf_synproxy_core \
|
||||
nfnetlink nfnetlink_acct nfnetlink_cthelper nfnetlink_cttimeout nfnetlink_log \
|
||||
nfnetlink_queue x_tables xt_AUDIT xt_CHECKSUM xt_CLASSIFY xt_CONNSECMARK xt_CT \
|
||||
xt_DSCP xt_HL xt_HMARK xt_IDLETIMER xt_LED xt_LOG xt_NETMAP xt_NFLOG xt_NFQUEUE \
|
||||
xt_RATEEST xt_REDIRECT xt_SECMARK xt_TCPMSS xt_TCPOPTSTRIP xt_TEE xt_TPROXY \
|
||||
xt_TRACE xt_addrtype xt_bpf xt_cgroup xt_cluster xt_comment xt_connbytes \
|
||||
xt_connlabel xt_connlimit xt_connmark xt_conntrack xt_cpu xt_dccp xt_devgroup \
|
||||
xt_dscp xt_ecn xt_esp xt_hashlimit xt_helper xt_hl xt_ipcomp xt_iprange xt_l2tp \
|
||||
xt_length xt_limit xt_mac xt_mark xt_multiport xt_nat xt_nfacct xt_osf xt_owner \
|
||||
xt_physdev xt_pkttype xt_policy xt_quota xt_rateest xt_realm xt_recent xt_sctp \
|
||||
xt_set xt_socket xt_state xt_statistic xt_string xt_tcpmss xt_tcpudp xt_time \
|
||||
xt_u32 af_packet
|
||||
|
||||
%define modules %usb_modules %net_drivers %scsi_modules %block_drivers \
|
||||
%hyperv_modules %virtio_modules %vmware_modules %xen_modules \
|
||||
%networking %filesystems %misc_modules
|
||||
|
||||
# Reasonable defaults that might be overriden if needed
|
||||
%define kernel_package_name kernel-%build_flavor
|
||||
%define package_name %kernel_package_name-%subpackage
|
||||
%define url %(rpm -q --qf '%%{URL}' %kernel_package_name)
|
||||
%define group %(rpm -q --qf '%%{GROUP}' %kernel_package_name)
|
||||
%define summary %(rpm -q --qf '%%{SUMMARY}' %kernel_package_name) - %extrasummary
|
||||
|
||||
Name: %package_name
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: device-mapper
|
||||
BuildRequires: dracut
|
||||
BuildRequires: kmod
|
||||
BuildRequires: %kernel_package_name
|
||||
BuildRequires: %kernel_package_name-devel
|
||||
BuildRequires: kernel-subpackage-macros
|
||||
BuildRequires: util-linux
|
||||
Summary: %summary
|
||||
URL: %url
|
||||
Group: %group
|
||||
License: GPL-2.0
|
||||
|
||||
# Internal stuff begins
|
||||
%define rpm_kver %(rpm -q --qf '%%{VERSION}' %kernel_package_name)
|
||||
%define rpm_krel %(rpm -q --qf '%%{RELEASE}' %kernel_package_name)
|
||||
Version: %rpm_kver
|
||||
Release: %rpm_krel.<RELEASE>
|
||||
|
||||
%define scriptdir /usr/lib/rpm/kernel
|
||||
%include %scriptdir/kernel-subpackage-spec
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,38 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%ifarch %ix86
|
||||
Provides: kernel-smp = 2.6.17
|
||||
Obsoletes: kernel-smp <= 2.6.17
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump = 2.6.28
|
||||
Obsoletes: kernel-kdump <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
Provides: kernel-smp = 2.6.17
|
||||
Obsoletes: kernel-smp <= 2.6.17
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
Provides: kernel-bigsmp = 3.1
|
||||
Obsoletes: kernel-bigsmp <= 3.1
|
||||
Provides: kernel-desktop = 4.3
|
||||
Obsoletes: kernel-desktop <= 4.3
|
||||
Provides: kernel-xen = 4.4
|
||||
Obsoletes: kernel-xen <= 4.4
|
||||
Provides: kernel-ec2 = 4.4
|
||||
Obsoletes: kernel-ec2 <= 4.4
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Provides: kernel-trace-base = 3.13
|
||||
Obsoletes: kernel-trace-base <= 3.13
|
||||
@ -251,13 +278,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -360,35 +387,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
%ifarch %ix86
|
||||
Provides: kernel-smp = 2.6.17
|
||||
Obsoletes: kernel-smp <= 2.6.17
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump = 2.6.28
|
||||
Obsoletes: kernel-kdump <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
Provides: kernel-smp = 2.6.17
|
||||
Obsoletes: kernel-smp <= 2.6.17
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
Provides: kernel-bigsmp = 3.1
|
||||
Obsoletes: kernel-bigsmp <= 3.1
|
||||
Provides: kernel-desktop = 4.3
|
||||
Obsoletes: kernel-desktop <= 4.3
|
||||
Provides: kernel-xen = 4.4
|
||||
Obsoletes: kernel-xen <= 4.4
|
||||
Provides: kernel-ec2 = 4.4
|
||||
Obsoletes: kernel-ec2 <= 4.4
|
||||
%endif
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -796,7 +794,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -807,9 +805,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
%define build_html 1
|
||||
%define build_pdf 0
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
Name: kernel-docs
|
||||
Summary: Kernel Documentation
|
||||
@ -33,7 +33,7 @@ License: GPL-2.0
|
||||
Group: Documentation/Man
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%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-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
|
||||
@ -118,13 +118,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,10 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
@ -227,13 +226,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -336,7 +335,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -751,7 +749,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -762,9 +760,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -45,7 +45,7 @@ BuildRequires: util-linux
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: kernel%kernel_flavor-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
BuildRequires: kernel%kernel_flavor-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
|
||||
%if 0%{?rhel_version}
|
||||
BuildRequires: kernel
|
||||
@ -66,7 +66,7 @@ License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -38,7 +38,7 @@ License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,22 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%ifarch %ix86
|
||||
Provides: kernel-bigsmp = 2.6.17
|
||||
Obsoletes: kernel-bigsmp <= 2.6.17
|
||||
Provides: kernel-vmi = 2.6.38
|
||||
Obsoletes: kernel-vmi <= 2.6.38
|
||||
Provides: kernel-desktop = 4.3
|
||||
Obsoletes: kernel-desktop <= 4.3
|
||||
Provides: kernel-xen = 4.4
|
||||
Obsoletes: kernel-xen <= 4.4
|
||||
Provides: kernel-ec2 = 4.4
|
||||
Obsoletes: kernel-ec2 <= 4.4
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Provides: kernel-vmi-base = 2.6.38
|
||||
Obsoletes: kernel-vmi-base <= 2.6.38
|
||||
@ -237,13 +248,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -346,19 +357,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
%ifarch %ix86
|
||||
Provides: kernel-bigsmp = 2.6.17
|
||||
Obsoletes: kernel-bigsmp <= 2.6.17
|
||||
Provides: kernel-vmi = 2.6.38
|
||||
Obsoletes: kernel-vmi <= 2.6.38
|
||||
Provides: kernel-desktop = 4.3
|
||||
Obsoletes: kernel-desktop <= 4.3
|
||||
Provides: kernel-xen = 4.4
|
||||
Obsoletes: kernel-xen <= 4.4
|
||||
Provides: kernel-ec2 = 4.4
|
||||
Obsoletes: kernel-ec2 <= 4.4
|
||||
%endif
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -773,7 +771,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -784,9 +782,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -32,7 +32,7 @@ License: GPL-2.0
|
||||
Group: Development/Sources
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -43,7 +43,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: sed
|
||||
Requires(post): coreutils sed
|
||||
Provides: %name = %version-%source_rel
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: linux
|
||||
Provides: multiversion(kernel)
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
|
||||
@ -98,13 +98,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -131,7 +131,7 @@ Recommends: flex
|
||||
Recommends: libelf-devel
|
||||
Recommends: openssl-devel
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%define symbols %(set -- $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*)
|
||||
%define variant_symbols %(case %name in (*-rt) echo "RT" ;; esac)
|
||||
@ -162,6 +162,7 @@ external kernel modules.
|
||||
%package -n kernel-macros
|
||||
Summary: RPM macros for building Kernel Module Packages
|
||||
Group: Development/Sources
|
||||
Provides: kernel-subpackage-macros
|
||||
|
||||
%description -n kernel-macros
|
||||
This package provides the rpm macros and templates for Kernel Module Pakcages
|
||||
@ -241,6 +242,10 @@ install -m 644 %_sourcedir/macros.kernel-source $RPM_BUILD_ROOT/etc/rpm/
|
||||
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
install -m 644 %_sourcedir/kernel-{module,cert}-subpackage \
|
||||
$RPM_BUILD_ROOT/usr/lib/rpm/
|
||||
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm/kernel
|
||||
install -m 755 %_sourcedir/{splitflist,mergedep,moddep,modflist,kernel-subpackage-build} $RPM_BUILD_ROOT/usr/lib/rpm/kernel
|
||||
install -m 644 %_sourcedir/kernel-subpackage-spec $RPM_BUILD_ROOT/usr/lib/rpm/kernel
|
||||
install -m 644 -T %_sourcedir/kernel-default-base.spec.txt $RPM_BUILD_ROOT/usr/lib/rpm/kernel/kernel-default-base.spec
|
||||
%endif
|
||||
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
@ -278,6 +283,8 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
|
||||
%defattr(-,root,root)
|
||||
/etc/rpm/macros.kernel-source
|
||||
/usr/lib/rpm/kernel-*-subpackage
|
||||
%dir /usr/lib/rpm/kernel
|
||||
/usr/lib/rpm/kernel/*
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
@ -98,13 +98,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -162,6 +162,7 @@ external kernel modules.
|
||||
%package -n kernel-macros
|
||||
Summary: RPM macros for building Kernel Module Packages
|
||||
Group: Development/Sources
|
||||
Provides: kernel-subpackage-macros
|
||||
|
||||
%description -n kernel-macros
|
||||
This package provides the rpm macros and templates for Kernel Module Pakcages
|
||||
@ -241,6 +242,10 @@ install -m 644 %_sourcedir/macros.kernel-source $RPM_BUILD_ROOT/etc/rpm/
|
||||
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
install -m 644 %_sourcedir/kernel-{module,cert}-subpackage \
|
||||
$RPM_BUILD_ROOT/usr/lib/rpm/
|
||||
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm/kernel
|
||||
install -m 755 %_sourcedir/{splitflist,mergedep,moddep,modflist,kernel-subpackage-build} $RPM_BUILD_ROOT/usr/lib/rpm/kernel
|
||||
install -m 644 %_sourcedir/kernel-subpackage-spec $RPM_BUILD_ROOT/usr/lib/rpm/kernel
|
||||
install -m 644 -T %_sourcedir/kernel-default-base.spec.txt $RPM_BUILD_ROOT/usr/lib/rpm/kernel/kernel-default-base.spec
|
||||
%endif
|
||||
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
@ -278,6 +283,8 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
|
||||
%defattr(-,root,root)
|
||||
/etc/rpm/macros.kernel-source
|
||||
/usr/lib/rpm/kernel-*-subpackage
|
||||
%dir /usr/lib/rpm/kernel
|
||||
/usr/lib/rpm/kernel/*
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
@ -10,25 +10,20 @@
|
||||
%define using_buildservice 0%(echo %disturl | grep -q '^obs://build\.[^.]*suse\.' && echo 1)
|
||||
%endif
|
||||
|
||||
# allow override in kernel-subpackage
|
||||
%if %{?kernel_spec_release:0}%{!?kernel_spec_release:1}
|
||||
%define kernel_spec_release %release
|
||||
%endif
|
||||
|
||||
# source_rel is the package release string, without the rebuild counter
|
||||
# generated by the build service. If the release string has a non-digit
|
||||
# suffix, we keep that suffix and strip the rightmost digit component.
|
||||
# This is used in KOTD builds: 2.1.g1234567 -> 2.g1234567
|
||||
# In PTF projects, there is no rebuild counter, so we leave the release
|
||||
# string intact.
|
||||
%define source_rel %kernel_spec_release
|
||||
%define source_rel %release
|
||||
%define obsolete_rebuilds() %nil
|
||||
%if %using_buildservice && ! 0%{?is_ptf}
|
||||
%define source_rel %(echo %kernel_spec_release | sed -r 's/\\.[0-9]+($|\\.[^.]*[^.0-9][^.]*$)/\\1/')
|
||||
%define source_rel %(echo %release | sed -r 's/\\.[0-9]+($|\\.[^.]*[^.0-9][^.]*$)/\\1/')
|
||||
# If the rebuild counter is > 1, obsolete all previous rebuilds (boo#867595)
|
||||
%define obsolete_rebuilds() %( %{verbose:set -x} \
|
||||
set -- $(echo %kernel_spec_release | sed -rn 's/(.*\\.)([0-9]+)($|\\.[^.]*[^.0-9][^.]*$)/\\1 \\2 \\3/p') \
|
||||
if test -n "$2" && test "$2" -gt 99; then echo "warning: Rebuild counter too high in %kernel_spec_release" >&2; exit 0; fi \
|
||||
set -- $(echo %release | sed -rn 's/(.*\\.)([0-9]+)($|\\.[^.]*[^.0-9][^.]*$)/\\1 \\2 \\3/p') \
|
||||
if test -n "$2" && test "$2" -gt 99; then echo "warning: Rebuild counter too high in %release" >&2; exit 0; fi \
|
||||
seq 1 $(($2-1)) | sed "s/.*/Obsoletes: %1 = %version-$1&$3/" \
|
||||
)
|
||||
%endif
|
||||
|
82
kernel-subpackage-build
Normal file
82
kernel-subpackage-build
Normal file
@ -0,0 +1,82 @@
|
||||
#!/bin/bash -xe
|
||||
# %scriptdir/kernel-subpackage-build %kernel_package_name %rpm_kver-%rpm_krel %package_name-%version-%release
|
||||
|
||||
scriptdir=$(dirname $0)
|
||||
kernel_package_name=$1
|
||||
kernel_nvrq=$(echo $1-$2 | sed -e 's/[.]/[.]/g')
|
||||
package_nvr=$3
|
||||
|
||||
|
||||
set -o pipefail
|
||||
install -d -m 0755 $RPM_BUILD_ROOT/boot
|
||||
|
||||
$scriptdir/splitflist $kernel_package_name kernel.flist kernel-ghost.flist
|
||||
echo Missing files:
|
||||
cat kernel-ghost.flist
|
||||
|
||||
rpm -q --qf '%{PREIN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > prein.sh
|
||||
rpm -q --qf '%{PREUN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > preun.sh
|
||||
rpm -q --qf '%{POSTIN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > postin.sh
|
||||
rpm -q --qf '%{POSTUN}' $kernel_package_name | sed -e "s/$kernel_nvrq/$package_nvr/g" > postun.sh
|
||||
|
||||
[ -z "$(rpm -q --triggers $kernel_package_name)" ] # not handled
|
||||
|
||||
KREL=$(cat kernel.flist | grep ^/lib/modules | { sort -r ||: ;} | head -n 1 | sed -e s,^/lib/modules/,, -e 's,/.*,,')
|
||||
|
||||
$scriptdir/mergedep $KREL > modules.dep
|
||||
|
||||
|
||||
$scriptdir/moddep modules.dep request-modules modules
|
||||
|
||||
$scriptdir/modflist kernel.flist modules modules.flist /lib/modules/$KREL/modules.builtin
|
||||
cat kernel.flist | grep -v ^/lib/modules >> modules.flist
|
||||
[ -d /lib/modules/$KREL/vdso ] && echo /lib/modules/$KREL/vdso >> modules.flist ||:
|
||||
echo /lib/modules/$KREL/modules.* | tr ' ' '\n' >> modules.flist
|
||||
|
||||
tar -C / -cf- -T modules.flist | tar -C $RPM_BUILD_ROOT -xvf-
|
||||
|
||||
moderr="$(/usr/sbin/depmod -b $RPM_BUILD_ROOT -e -F /boot/System.map-$KREL $KREL 2>&1 > /dev/null)"
|
||||
|
||||
if [ "$moderr" ] ; then
|
||||
echo Picked modules have errors:
|
||||
echo $moderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "%defattr(-,root,root)" > subpackage.flist
|
||||
cat kernel.flist | grep -v ^/lib/modules >> subpackage.flist
|
||||
echo /lib/modules/$KREL >> subpackage.flist
|
||||
cat kernel-ghost.flist | sed -e 's/^/%ghost /' >> subpackage.flist
|
||||
|
||||
cat kernel-ghost.flist | while read ghost ; do
|
||||
case $ghost in
|
||||
/boot/image-%build_flavor | /boot/vmlinux-%build_flavor | /boot/vmlinuz-%build_flavor | \
|
||||
/boot/Image-%build_flavor | /boot/initrd-%build_flavor)
|
||||
ln -s $(basename $ghost -%build_flavor)-$KREL $RPM_BUILD_ROOT$ghost
|
||||
;;
|
||||
/boot/vmlinux | /boot/vmlinuz | /boot/Image | /boot/image | /boot/initrd)
|
||||
ln -s $ghost-$KREL $RPM_BUILD_ROOT$ghost
|
||||
;;
|
||||
/boot/vmlinux-$KREL)
|
||||
[ -f /boot/vmlinux-$KREL.gz ] && gunzip -dc < /boot/vmlinux-$KREL.gz > vmlinux-$KREL
|
||||
size="$(ls -l vmlinux-$KREL | sed -e 's/^\([^ ]* \)\{4\}//' -e 's/ .*//')"
|
||||
dd if=/dev/zero bs=1 count=1 seek="$(expr $size - 1)" of=$RPM_BUILD_ROOT$ghost
|
||||
;;
|
||||
/boot/initrd-$KREL | /boot/initrd-$KREL-kdump)
|
||||
# Create a dummy initrd with roughly the size the real one will have.
|
||||
# That way, YaST will know that this package requires some additional
|
||||
# space in /boot.
|
||||
dd if=/dev/zero of=$RPM_BUILD_ROOT$ghost \
|
||||
bs=1024 seek=2047 count=1
|
||||
chmod 0600 $RPM_BUILD_ROOT$ghost
|
||||
;;
|
||||
/lib/modules/$KREL/modules.*)
|
||||
[ -f $RPM_BUILD_ROOT$ghost ]
|
||||
;;
|
||||
*)
|
||||
echo Missing file "$ghost" not handled.
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
70
kernel-subpackage-spec
Normal file
70
kernel-subpackage-spec
Normal file
@ -0,0 +1,70 @@
|
||||
%define rpm_kver %(rpm -q --qf '%%{VERSION}' %kernel_package_name)
|
||||
%define rpm_krel %(rpm -q --qf '%%{RELEASE}' %kernel_package_name)
|
||||
|
||||
# Force bzip2 instead of lzma compression to
|
||||
# 1) allow install on older dist versions, and
|
||||
# 2) decrease build times (bsc#962356)
|
||||
# %%define _binary_payload w9.bzdio
|
||||
# Do not recompute the build-id of vmlinux in find-debuginfo.sh (bsc#964063)
|
||||
%undefine _unique_build_ids
|
||||
%define _no_recompute_build_ids 1
|
||||
# prevent usr/lib/debug/boot/vmlinux-4.12.14-11.10-default-4.12.14-11.10.ppc64le.debug
|
||||
%undefine _unique_debug_names
|
||||
|
||||
%define kernel_requires %(rpm -q --queryformat '[%%{REQUIREFLAGS:deptype},%%{REQUIRENEVRS}\\n]' %kernel_package_name | grep -vE 'rpmlib,|interp,' | grep -E 'manual,' | sed -e 's/.*,//' | tr '\\n' ' ')
|
||||
%define kernel_requires_pre %(rpm -q --queryformat '[%%{REQUIREFLAGS:deptype},%%{REQUIRENEVRS}\\n]' %kernel_package_name | grep -vE 'rpmlib,|interp,' | grep -E 'pre,' | sed -e 's/.*,//' | tr '\\n' ' ')
|
||||
%define kernel_requires_preun %(rpm -q --queryformat '[%%{REQUIREFLAGS:deptype},%%{REQUIRENEVRS}\\n]' %kernel_package_name | grep -vE 'rpmlib,|interp,' | grep -E 'preun,' | sed -e 's/.*,//' | tr '\\n' ' ')
|
||||
%define kernel_requires_post %(rpm -q --queryformat '[%%{REQUIREFLAGS:deptype},%%{REQUIRENEVRS}\\n]' %kernel_package_name | grep -vE 'rpmlib,|interp,' | grep -E 'post,' | sed -e 's/.*,//' | tr '\\n' ' ')
|
||||
%define kernel_requires_postun %(rpm -q --queryformat '[%%{REQUIREFLAGS:deptype},%%{REQUIRENEVRS}\\n]' %kernel_package_name | grep -vE 'rpmlib,|interp,' | grep -E 'postun,' | sed -e 's/.*,//' | tr '\\n' ' ')
|
||||
|
||||
%if ! %(expr 1 - 1)
|
||||
%if "%{kernel_requires}" != ""
|
||||
Requires: %kernel_requires
|
||||
%endif
|
||||
%if "%{kernel_requires_pre}" != ""
|
||||
Requires(pre): %kernel_requires_pre
|
||||
%endif
|
||||
%if "%{kernel_requires_preun}" != ""
|
||||
Requires(preun):%kernel_requires_preun
|
||||
%endif
|
||||
%if "%{kernel_requires_post}" != ""
|
||||
Requires(post): %kernel_requires_post
|
||||
%endif
|
||||
%if "%{kernel_requires_postun}" != ""
|
||||
Requires(postun):%kernel_requires_postun
|
||||
%endif
|
||||
%endif
|
||||
Provides: %(rpm -q --queryformat '[%%{PROVIDENEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
|
||||
Conflicts: %(rpm -q --queryformat '[%%{CONFLICTNEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
|
||||
Obsoletes: %(rpm -q --queryformat '[%%{OBSOLETENEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
|
||||
Recommends: %(rpm -q --queryformat '[%%{RECOMMENDNEVRS}\n]' %kernel_package_name | grep -vE '^ksym|^kmod' | tr '\n' ' ')
|
||||
# This is in place of obsolete_rebuilds. This should give Conflicts: %%kernel_package_name = %%source_rel as old kernel-default-base did.
|
||||
Conflicts: %(rpm -q --queryformat '[%%{PROVIDENEVRS}\n]' %kernel_package_name | grep '^%kernel_package_name =' | sort -V | head -n 1)
|
||||
|
||||
%description
|
||||
%(rpm -q --qf '%%{DESCRIPTION}' %kernel_package_name)
|
||||
%extradescription
|
||||
|
||||
This is a subpackage of %kernel_package_name. Development files are in
|
||||
%kernel_package_name-devel and sources in kernel-source%variant.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
|
||||
echo "%{?modules}" | tr ', ' '\n\n' > request-modules
|
||||
%scriptdir/kernel-subpackage-build %kernel_package_name %rpm_kver-%rpm_krel %package_name-%version-%release
|
||||
|
||||
%preun -f preun.sh
|
||||
|
||||
%postun -f postun.sh
|
||||
|
||||
%pre -f prein.sh
|
||||
|
||||
%post -f postin.sh
|
||||
|
||||
%files -f subpackage.flist
|
||||
|
||||
%changelog
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -27,7 +27,7 @@ Group: Development/Sources
|
||||
Version: 5.0.2
|
||||
%if %using_buildservice
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -52,7 +52,7 @@ Requires: kernel-zfcpdump-devel = %version-%source_rel
|
||||
%endif
|
||||
Requires: pesign-obs-integration
|
||||
Provides: %name = %version-%source_rel
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: multiversion(kernel)
|
||||
Source: README.KSYMS
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,10 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
@ -227,13 +226,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -336,7 +335,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -744,7 +742,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -755,9 +753,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 07:50:55 CET 2019 - jslaby@suse.cz
|
||||
|
||||
- cifs: Fix NULL pointer dereference of devname (bnc#1129519).
|
||||
- commit 018878b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:51:44 CET 2019 - mkubecek@suse.cz
|
||||
|
||||
- config: enable RANDOM_TRUST_CPU
|
||||
The outcome from mailing list discussion when this config option
|
||||
appeared was that it makes more sense to enable it by default and let
|
||||
those who do not trust their CPU override it on command line; but then
|
||||
I forgot to actually change the value.
|
||||
- commit 138b5df
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:03:28 CET 2019 - tiwai@suse.de
|
||||
|
||||
- Update config files: disable CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER (bsc#1127552)
|
||||
The deferred fbcon takeover makes little sense with the current openSUSE
|
||||
boot setup, and it's harmful (more glitches, etc). Disable it for now.
|
||||
- commit 14fa903
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:32:22 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Remove the previous subpackage infrastructure.
|
||||
This partially reverts commit 9b3ca32c11854156b2f950ff5e26131377d8445e
|
||||
("Add kernel-subpackage-build.spec (FATE#326579).")
|
||||
- commit a5ee24e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 00:14:36 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Add sample kernel-default-base spec file (FATE#326579, jsc#SLE-4117,
|
||||
jsc#SLE-3853, bsc#1128910).
|
||||
- commit 35c4a52
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:01:12 CET 2019 - msuchanek@suse.de
|
||||
|
||||
- Install extra rpm scripts for kernel subpackaging (FATE#326579,
|
||||
jsc#SLE-4117, jsc#SLE-3853, bsc#1128910).
|
||||
- commit ad7c227
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 08:57:42 CET 2019 - jslaby@suse.cz
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
%define klp_symbols 1
|
||||
%endif
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist})
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -64,7 +64,7 @@ License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 5.0.2
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gd1f1d19
|
||||
Release: <RELEASE>.g018878b
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -91,7 +91,6 @@ BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
# BEGIN BINARY DEPS
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -104,7 +103,7 @@ Provides: multiversion(kernel)
|
||||
# obsolete the -base subpackage from SLE11, so that the base files are not
|
||||
# owned by multiple packages now. The dependency is not correct wrt openSUSE
|
||||
# 11.2 - 11.4, but we primarily care about the supported upgrade path.
|
||||
Obsoletes: kernel-%build_flavor-base < 3.1
|
||||
Obsoletes: %name-base < 3.1
|
||||
Recommends: kernel-firmware
|
||||
# The following is copied to the -base subpackage as well
|
||||
# BEGIN COMMON DEPS
|
||||
@ -170,10 +169,10 @@ Conflicts: hyper-v < 4
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
Provides: kernel-%build_flavor-base-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: kernel-%build_flavor-base-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
Provides: kernel-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
# END COMMON DEPS
|
||||
Provides: %name-srchash-d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
Provides: %name-srchash-018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
@ -227,13 +226,13 @@ Source75: release-projects
|
||||
Source76: check-module-license
|
||||
Source77: klp-symbols
|
||||
Source78: modules.fips
|
||||
Source79: kernel-subpackage-build.spec.in
|
||||
Source80: kernel-subpackage.conf
|
||||
Source81: subpackage-names.conf
|
||||
Source82: splitflist
|
||||
Source83: mergedep
|
||||
Source84: moddep
|
||||
Source85: modflist
|
||||
Source79: splitflist
|
||||
Source80: mergedep
|
||||
Source81: moddep
|
||||
Source82: modflist
|
||||
Source83: kernel-subpackage-build
|
||||
Source84: kernel-subpackage-spec
|
||||
Source85: kernel-default-base.spec.txt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -336,7 +335,6 @@ NoSource: 111
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
# END BINARY DEPS
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -747,7 +745,7 @@ fi
|
||||
|
||||
for sub in '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
'') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
@ -758,9 +756,10 @@ for sub in '' '-extra'; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE""@:%name$sub:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
|
42
mkspec
42
mkspec
@ -20,8 +20,6 @@ my %flavor_archs = parse_config_conf();
|
||||
# subset to include in kernel-syms
|
||||
my %syms_flavor_archs = parse_config_conf("syms");
|
||||
|
||||
my %subpackages = parse_subpackages();
|
||||
|
||||
my %all_archs = parse_config_conf("needs_updating");
|
||||
my @all_archs;
|
||||
for my $flavor (keys(%all_archs)) {
|
||||
@ -156,17 +154,6 @@ for my $flavor (sort keys(%flavor_archs)) {
|
||||
KMP_DEFINITIONS => $kmp_definitions,
|
||||
%obsolete_macros
|
||||
);
|
||||
for my $subpackage (@{$subpackages{$flavor}}) {
|
||||
do_spec('subpackage-build', "kernel-$flavor-$subpackage.spec", %macros,
|
||||
FLAVOR => $flavor,
|
||||
SUMMARY => $summary,
|
||||
SUBPACKAGE => $subpackage,
|
||||
DESCRIPTION => $description,
|
||||
ARCHS => join(" ", arch2rpm(@{$flavor_archs{$flavor}})),
|
||||
BINARY_DEPS => $templates{binary_deps},
|
||||
%obsolete_macros
|
||||
);
|
||||
}
|
||||
}
|
||||
# kernel-source.spec
|
||||
do_spec('source', "kernel-source$variant.spec", %macros);
|
||||
@ -240,27 +227,6 @@ copy_changes();
|
||||
exit 0;
|
||||
|
||||
|
||||
sub parse_subpackages {
|
||||
my %subpackage_names = ();
|
||||
my $file = "$dir/subpackage-names.conf";
|
||||
open my $config, $file or return %subpackage_names;
|
||||
while(my $line = <$config>) {
|
||||
$line !~ /^#/ or next;
|
||||
chomp($line);
|
||||
my @flavor = split(/:/, $line);
|
||||
if($#flavor != 1) {
|
||||
print "Malformed line in $file: $line\n";
|
||||
next;
|
||||
}
|
||||
my @subpackages = grep { $_ =~ /./ } split(/[ \t]+/, $flavor[1]);
|
||||
$flavor[0] =~ s/^\s+|\s+$//g;
|
||||
@subpackages = map { s/^\s+|\s+$//g ; $_ } @subpackages;
|
||||
@{$subpackage_names{$flavor[0]}} = @subpackages;
|
||||
}
|
||||
print "Subpackages:\n";
|
||||
print "$_:" . join(",", @{$subpackage_names{$_}}) . "\n" for (sort(keys %subpackage_names));
|
||||
return %subpackage_names;
|
||||
}
|
||||
|
||||
sub parse_config_conf {
|
||||
my @symbols = @_;
|
||||
@ -286,7 +252,7 @@ sub parse_config_conf {
|
||||
sub read_spec_templates {
|
||||
my %res;
|
||||
|
||||
for my $template (qw(binary source syms docs obs-build obs-qa subpackage-build)) {
|
||||
for my $template (qw(binary source syms docs obs-build obs-qa)) {
|
||||
xopen(my $fh, '<', "$dir/kernel-$template.spec.in");
|
||||
local $/ = undef;
|
||||
$res{$template} = <$fh>;
|
||||
@ -298,12 +264,6 @@ sub read_spec_templates {
|
||||
print STDERR "warning: Expected # BEGIN COMMON DEPS in kernel-binary.spec.in\n";
|
||||
$res{common_deps} = "";
|
||||
}
|
||||
if ($res{$template} =~ /^# BEGIN BINARY DEPS\n?(.*)^# END BINARY DEPS/ms) {
|
||||
$res{binary_deps} = $1;
|
||||
} else {
|
||||
print STDERR "warning: Expected # BINARY COMMON DEPS in kernel-binary.spec.in\n";
|
||||
$res{binary_deps} = "";
|
||||
}
|
||||
if ($res{$template} =~ s/^# BEGIN KMP\n?(.*)^# END KMP/\@KMP_DEFINITIONS\@/ms) {
|
||||
$res{kmp} = $1;
|
||||
} else {
|
||||
|
3
modflist
3
modflist
@ -2,8 +2,9 @@
|
||||
flist=$1
|
||||
modules=$2
|
||||
output=$3
|
||||
mod_builtin=$4
|
||||
|
||||
while read MOD ; do
|
||||
[ -n "$MOD" ] || continue
|
||||
cat $flist | grep /$MOD[.]ko\$ >> $output || echo Module $MOD missing
|
||||
cat $flist | grep /$MOD[.]ko\$ >> $output || { grep -q /$MOD[.]ko\$ $mod_builtin && echo Module $MOD built-in ;} || echo Module $MOD missing
|
||||
done < $modules
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91b8455989d3f7c9d60ce8e96ed4004d942e1b496a6014e45f0473ee8ea21f1b
|
||||
size 58916
|
||||
oid sha256:e021ee02ac2e771d48e9427595c720a2b24b16550f51c31250c492259f034d26
|
||||
size 59548
|
||||
|
@ -293,6 +293,7 @@
|
||||
########################################################
|
||||
# cifs patches
|
||||
########################################################
|
||||
patches.suse/cifs-Fix-NULL-pointer-dereference-of-devname.patch
|
||||
|
||||
########################################################
|
||||
# ext2/ext3
|
||||
|
@ -1,3 +1,3 @@
|
||||
2019-03-14 08:29:17 +0000
|
||||
GIT Revision: d1f1d19eba1b818d1d526bc8fffc7eb4eff5920c
|
||||
2019-03-18 06:50:55 +0000
|
||||
GIT Revision: 018878b257ecdc5e269780c1a27ecb1ade8d48f2
|
||||
GIT Branch: stable
|
||||
|
Loading…
Reference in New Issue
Block a user