Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2017-05-16 14:30:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Tue May 16 14:30:51 2017 rev:363 rq:492444 version:4.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2017-05-02 08:54:20.347007300 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/dtb-aarch64.changes 2017-05-16 14:30:52.311535844 +0200
@@ -1,0 +2,22 @@
+Mon May 1 15:12:41 CEST 2017 - jeffm@suse.com
+
+- Update to 4.11-final.
+- commit adde629
+
+-------------------------------------------------------------------
+Fri Apr 28 15:00:57 CEST 2017 - mkubecek@suse.cz
+
+- supported.conf: move ipvs modules from cluster-network-kmp to kernel packages (fate#323221)
+- commit 3b2c2cd
+
+-------------------------------------------------------------------
+Fri Apr 28 11:39:01 CEST 2017 - jdelvare@suse.de
+
+- Update x86 config files: disable SILEAD_DMI
+ The silead_dmi "driver" is in an horrible shape. The design is pretty
+ bad and the implementation is poor, to stay polite. I wish such code
+ would not make it into the upstream kernel in the first place. I
+ don't want it to run on any openSUSE system until it is fixed.
+- commit ec41301
+
+-------------------------------------------------------------------
@@ -21,0 +44,19 @@
+Tue Apr 25 15:57:33 CEST 2017 - mmarek@suse.com
+
+- rpm/kernel-binary.spec.in: Do not split KMPs for openSUSE (fate#319339)
+- commit a259f75
+
+-------------------------------------------------------------------
+Tue Apr 25 15:53:00 CEST 2017 - mmarek@suse.com
+
+- rpm/dtb.spec.in.in: Do not depend on kernel-source (bsc#1034066)
+ Apply the patches during build, just like kernel-binary.spec.in does.
+- commit 4e37db7
+
+-------------------------------------------------------------------
+Mon Apr 24 22:43:58 CEST 2017 - jeffm@suse.com
+
+- Update to 4.11-rc8.
+- commit 20b036c
+
+-------------------------------------------------------------------
@@ -27,0 +69,12 @@
+Mon Apr 24 17:43:18 CEST 2017 - tiwai@suse.de
+
+- Disable CONFIG_POWER_SUPPLY_DEBUG in debug kernels (bsc#1031500).
+- commit d90dab6
+
+-------------------------------------------------------------------
+Mon Apr 24 11:02:44 CEST 2017 - mkubecek@suse.cz
+
+- supported.conf: sync core networking with SLE12-SP3
+- commit e3b9ed8
+
+-------------------------------------------------------------------
@@ -37,0 +91,122 @@
+Thu Apr 20 12:20:19 CEST 2017 - tiwai@suse.de
+
+- Input: soc_button_array - properly map usage 0x07/0xe3 to
+ KEY_LEFTMETA (boo#1019337,boo#1034642).
+- Input: soc_button_array - add support for ACPI 6.0 Generic
+ Button Device (boo#1019337,boo#1034642).
+- Input: soc_button_array - get rid of MAX_NBUTTONS
+ (boo#1019337,boo#1034642).
+- Input: soc_button_array - Propagate error from gpiod_count()
+ (boo#1019337,boo#1034642).
+- Input: soc_button_array - use NULL for GPIO connection ID
+ (boo#1019337,boo#1034642).
+- commit 5e4b2c2
+
+-------------------------------------------------------------------
+Thu Apr 20 12:12:08 CEST 2017 - tiwai@suse.de
+
+- Input: axp20x-pek - do not register input device on some systems
+ (bsc#1035040,boo#1019337).
+- Input: axp20x_pek - add axp20x_pek_probe_input_device helper
+ (bsc#1035040,boo#1019337).
+- Input: axp20x-pek - use our own device for errors
+ (bsc#1035040,boo#1019337).
+- commit 9642058
+
+-------------------------------------------------------------------
+Thu Apr 20 12:02:36 CEST 2017 - tiwai@suse.de
+
+- i2c: designware-baytrail: fix potential null pointer dereference
+ on dev (boo#1026458,bsc#1011913).
+- i2c: designware: Get selected speed mode sda-hold-time via ACPI
+ (boo#1026458,bsc#1011913).
+- i2c: designware: Disable pm for PMIC i2c-bus even if there is
+ no _SEM method (boo#1026458,bsc#1011913).
+- i2c: designware: Never suspend i2c-busses used for accessing
+ the system PMIC (boo#1026458,bsc#1011913).
+- i2c-designware: increase timeout of semaphore transfer
+ (boo#1026458,bsc#1011913).
+- drm/i915: Listen for PMIC bus access notifications
+ (boo#1026458,bsc#1011913).
+- drm/i915: Add intel_uncore_suspend / resume functions
+ (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Call pmic_bus_access_notifier_chain
+ (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Acquire P-Unit access on bus acquire
+ (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Add support for cherrytrail
+ (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Fix race when resetting the semaphore
+ (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Disallow the CPU to enter C6 or C7
+ while holding the punit semaphore (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Only check iosf_mbi_available()
+ for shared hosts (boo#1026458,bsc#1011913).
+- i2c: designware-baytrail: Pass dw_i2c_dev into helper functions
+ (boo#1026458,bsc#1011913).
+- i2c: designware: Rename accessor_flags to flags
+ (boo#1026458,bsc#1011913).
+- x86/platform/intel/iosf_mbi: Add a PMIC bus access notifier
+ (boo#1026458,bsc#1011913).
+- x86/platform/intel/iosf_mbi: Add a mutex for P-Unit access
+ (boo#1026458,bsc#1011913).
+- commit 72f33ac
+
+-------------------------------------------------------------------
+Thu Apr 20 12:00:46 CEST 2017 - tiwai@suse.de
+
+- HID: asus: change mapping from KEY_WLAN to KEY_RFKILL
+ (bsc#1026458).
+- HID: asus: ignore declared dummy usages (bsc#1026458).
+- HID: asus: fix and generalize ambiguous preprocessor macros
+ (bsc#1026458).
+- HID: asus: support Republic of Gamers special keys
+ (bsc#1026458).
+- HID: asus: drop dependency on I2C_HID (bsc#1026458).
+- commit b794289
+
+-------------------------------------------------------------------
+Thu Apr 20 10:59:14 CEST 2017 - tiwai@suse.de
+
+- Enable CONFIG_INTEL_SOC_PMIC and CONFIG_PMIC_OPREGION (boo#1035040).
+ Some of these configs are built-in only, unfortunately, and consequently
+ it requires CONFIG_MFD_CORE=y, too.
+- commit a2ce90f
+
+-------------------------------------------------------------------
+Thu Apr 20 10:54:55 CEST 2017 - tiwai@suse.de
+
+- Enable configs for AXP I2C stuff on Cherrytail devices (boo#1035040).
+- commit 636bfd4
+
+-------------------------------------------------------------------
+Thu Apr 20 10:52:22 CEST 2017 - tiwai@suse.de
+
+- Enable CONFIG_INPUT_SOC_BUTTON_ARRAY for x86 (boo#1034642).
+- commit a7fc032
+
+-------------------------------------------------------------------
+Wed Apr 19 23:33:35 CEST 2017 - mmarek@suse.cz
+
+- rpm/kernel-binary.spec.in: Do not sign modules if CONFIG_MODULE_SIG=n (bsc#1035053)
+- commit 50db9ef
+
+-------------------------------------------------------------------
+Wed Apr 19 02:49:59 CEST 2017 - jeffm@suse.com
+
+- Update to 4.11-rc7.
+- commit 6e80a14
+
+-------------------------------------------------------------------
+Wed Apr 19 02:02:13 CEST 2017 - afaerber@suse.de
+
+- config: arm64: Enable SUN8I_H3_CCU for Allwinner H5
+- commit 967bdfb
+
+-------------------------------------------------------------------
+Tue Apr 18 23:30:14 CEST 2017 - tiwai@suse.de
+
+- Enable CONFIG_KXCJK1013 for Cherrytrail devices (boo#1034809).
+- commit 9add148
+
+-------------------------------------------------------------------
@@ -45,0 +221,14 @@
+Thu Apr 13 11:18:57 CEST 2017 - afaerber@suse.de
+
+- config: ARM: Make SERIAL_DEV_BUS built-in
+- Makes available SERIAL_DEV_CTRL_TTYPORT
+- commit 2cea027
+
+-------------------------------------------------------------------
+Thu Apr 13 03:17:06 CEST 2017 - afaerber@suse.de
+
+- rpm/dtb.spec.in.in: Enable overlay support for Tumbleweed and Leap 42.3
+- Generate __symbols__ node to allow resolution of labels in overlays
+- commit c94e646
+
+-------------------------------------------------------------------
@@ -63,0 +253,25 @@
+Mon Apr 10 15:15:15 CEST 2017 - jeffm@suse.com
+
+- Update to 4.11-rc6.
++++ 323 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new/dtb-aarch64.changes
dtb-armv6l.changes: same change
dtb-armv7l.changes: same change
kernel-64kb.changes: same change
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-docs.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa.changes: same change
kernel-pae.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-syzkaller.changes: same change
kernel-vanilla.changes: same change
Old:
----
linux-4.10.tar.xz
New:
----
linux-4.11.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.025187839 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.029187278 +0200
@@ -16,15 +16,22 @@
#
-%define patchversion 4.10.13
-%define vanilla_only 0
+%define srcversion 4.11
+%define patchversion 4.11.0
+%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
+%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} >= 120300 )
+%define dtc_symbols 1
+%endif
+
+%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb})
+
Name: dtb-aarch64
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -32,16 +39,81 @@
License: GPL-2.0
Group: System/Boot
Url: http://www.kernel.org/
-%if %vanilla_only
-BuildRequires: kernel-source-vanilla
-%else
-BuildRequires: kernel-source
-%endif
ExclusiveArch: aarch64
BuildRequires: cpp
+%if 0%{?dtc_symbols}
+BuildRequires: dtc >= 1.4.3
+%else
BuildRequires: dtc >= 1.4.0
+%endif
BuildRequires: xz
Requires: kernel = %version
+Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
+Source2: source-post.sh
+Source3: kernel-source.rpmlintrc
+Source8: devel-pre.sh
+Source9: devel-post.sh
+Source10: preun.sh
+Source11: postun.sh
+Source12: pre.sh
+Source13: post.sh
+Source14: series.conf
+Source16: guards
+Source17: apply-patches
+Source21: config.conf
+Source23: supported.conf
+Source33: check-for-config-changes
+Source35: group-source-files.pl
+Source36: README.PATCH-POLICY.SUSE
+Source37: README.SUSE
+Source38: README.KSYMS
+Source39: config-options.changes.txt
+Source40: source-timestamp
+Source44: find-provides
+Source45: find-requires
+Source46: split-modules
+Source47: modversions
+Source48: macros.kernel-source
+Source49: kernel-module-subpackage
+Source50: kabi.pl
+Source51: mkspec
+Source52: kernel-source%variant.changes
+Source53: kernel-source.spec.in
+Source54: kernel-binary.spec.in
+Source55: kernel-syms.spec.in
+Source56: kernel-docs.spec.in
+Source57: kernel-cert-subpackage
+Source58: constraints.in
+Source60: config.sh
+Source61: compute-PATCHVERSION.sh
+Source62: old-flavors
+Source63: arch-symbols
+Source64: package-descriptions
+Source65: kernel-spec-macros
+Source67: log.sh
+Source68: host-memcpy-hack.h
+Source69: try-disable-staging-driver
+Source70: kernel-obs-build.spec.in
+Source71: kernel-obs-qa.spec.in
+Source72: compress-vmlinux.sh
+Source73: dtb.spec.in.in
+Source74: mkspec-dtb
+Source100: config.tar.bz2
+Source101: config.addon.tar.bz2
+Source102: patches.arch.tar.bz2
+Source103: patches.drivers.tar.bz2
+Source104: patches.fixes.tar.bz2
+Source105: patches.rpmify.tar.bz2
+Source106: patches.suse.tar.bz2
+Source107: patches.xen.tar.bz2
+Source108: patches.addon.tar.bz2
+Source109: patches.kernel.org.tar.bz2
+Source110: patches.apparmor.tar.bz2
+Source111: patches.rt.tar.bz2
+Source112: patches.trace.tar.bz2
+Source113: patches.kabi.tar.bz2
+Source120: kabi.tar.bz2
+Source121: sysctl.tar.bz2
%description
Device Tree files for $MACHINES.
@@ -261,16 +333,21 @@
%prep
+# Unpack all sources and patches
+%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 107 -a 108 -a 109 -a 110 -a 111 -a 112 -a 113 -a 120 -a 121
+cd linux-%srcversion
+%_sourcedir/apply-patches %_sourcedir/series.conf ..
+
%build
-source=/usr/src/linux-%kernelrelease
-%if %vanilla_only
-source=$source-vanilla
-%endif
+source=linux-%srcversion
cp $source/COPYING .
mkdir pp
PPDIR=`pwd`/pp
export DTC_FLAGS="-R 4 -p 0x1000"
+%if 0%{?dtc_symbols}
+DTC_FLAGS="$DTC_FLAGS -@"
+%endif
cd $source/arch/arm64/boot/dts
for dts in al/*.dts allwinner/*.dts altera/*.dts amd/*.dts amlogic/*.dts apm/*.dts arm/*.dts broadcom/*.dts cavium/*.dts exynos/*.dts freescale/*.dts hisilicon/*.dts lg/*.dts marvell/*.dts mediatek/*.dts nvidia/*.dts qcom/*.dts renesas/*.dts rockchip/*.dts socionext/*.dts sprd/*.dts xilinx/*.dts zte/*.dts ; do
++++++ dtb-armv6l.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.065182221 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.069181659 +0200
@@ -16,15 +16,22 @@
#
-%define patchversion 4.10.13
-%define vanilla_only 0
+%define srcversion 4.11
+%define patchversion 4.11.0
+%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
+%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} >= 120300 )
+%define dtc_symbols 1
+%endif
+
+%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb})
+
Name: dtb-armv6l
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -32,16 +39,81 @@
License: GPL-2.0
Group: System/Boot
Url: http://www.kernel.org/
-%if %vanilla_only
-BuildRequires: kernel-source-vanilla
-%else
-BuildRequires: kernel-source
-%endif
ExclusiveArch: armv6l armv6hl
BuildRequires: cpp
+%if 0%{?dtc_symbols}
+BuildRequires: dtc >= 1.4.3
+%else
BuildRequires: dtc >= 1.4.0
+%endif
BuildRequires: xz
Requires: kernel = %version
+Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
+Source2: source-post.sh
+Source3: kernel-source.rpmlintrc
+Source8: devel-pre.sh
+Source9: devel-post.sh
+Source10: preun.sh
+Source11: postun.sh
+Source12: pre.sh
+Source13: post.sh
+Source14: series.conf
+Source16: guards
+Source17: apply-patches
+Source21: config.conf
+Source23: supported.conf
+Source33: check-for-config-changes
+Source35: group-source-files.pl
+Source36: README.PATCH-POLICY.SUSE
+Source37: README.SUSE
+Source38: README.KSYMS
+Source39: config-options.changes.txt
+Source40: source-timestamp
+Source44: find-provides
+Source45: find-requires
+Source46: split-modules
+Source47: modversions
+Source48: macros.kernel-source
+Source49: kernel-module-subpackage
+Source50: kabi.pl
+Source51: mkspec
+Source52: kernel-source%variant.changes
+Source53: kernel-source.spec.in
+Source54: kernel-binary.spec.in
+Source55: kernel-syms.spec.in
+Source56: kernel-docs.spec.in
+Source57: kernel-cert-subpackage
+Source58: constraints.in
+Source60: config.sh
+Source61: compute-PATCHVERSION.sh
+Source62: old-flavors
+Source63: arch-symbols
+Source64: package-descriptions
+Source65: kernel-spec-macros
+Source67: log.sh
+Source68: host-memcpy-hack.h
+Source69: try-disable-staging-driver
+Source70: kernel-obs-build.spec.in
+Source71: kernel-obs-qa.spec.in
+Source72: compress-vmlinux.sh
+Source73: dtb.spec.in.in
+Source74: mkspec-dtb
+Source100: config.tar.bz2
+Source101: config.addon.tar.bz2
+Source102: patches.arch.tar.bz2
+Source103: patches.drivers.tar.bz2
+Source104: patches.fixes.tar.bz2
+Source105: patches.rpmify.tar.bz2
+Source106: patches.suse.tar.bz2
+Source107: patches.xen.tar.bz2
+Source108: patches.addon.tar.bz2
+Source109: patches.kernel.org.tar.bz2
+Source110: patches.apparmor.tar.bz2
+Source111: patches.rt.tar.bz2
+Source112: patches.trace.tar.bz2
+Source113: patches.kabi.tar.bz2
+Source120: kabi.tar.bz2
+Source121: sysctl.tar.bz2
%description
Device Tree files for $MACHINES.
@@ -58,16 +130,21 @@
%prep
+# Unpack all sources and patches
+%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 107 -a 108 -a 109 -a 110 -a 111 -a 112 -a 113 -a 120 -a 121
+cd linux-%srcversion
+%_sourcedir/apply-patches %_sourcedir/series.conf ..
+
%build
-source=/usr/src/linux-%kernelrelease
-%if %vanilla_only
-source=$source-vanilla
-%endif
+source=linux-%srcversion
cp $source/COPYING .
mkdir pp
PPDIR=`pwd`/pp
export DTC_FLAGS="-R 4 -p 0x1000"
+%if 0%{?dtc_symbols}
+DTC_FLAGS="$DTC_FLAGS -@"
+%endif
cd $source/arch/arm/boot/dts
for dts in bcm2835*.dts ; do
++++++ dtb-armv7l.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.121174355 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.129173231 +0200
@@ -16,15 +16,22 @@
#
-%define patchversion 4.10.13
-%define vanilla_only 0
+%define srcversion 4.11
+%define patchversion 4.11.0
+%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
+%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} >= 120300 )
+%define dtc_symbols 1
+%endif
+
+%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb})
+
Name: dtb-armv7l
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -32,16 +39,81 @@
License: GPL-2.0
Group: System/Boot
Url: http://www.kernel.org/
-%if %vanilla_only
-BuildRequires: kernel-source-vanilla
-%else
-BuildRequires: kernel-source
-%endif
ExclusiveArch: armv7l armv7hl
BuildRequires: cpp
+%if 0%{?dtc_symbols}
+BuildRequires: dtc >= 1.4.3
+%else
BuildRequires: dtc >= 1.4.0
+%endif
BuildRequires: xz
Requires: kernel = %version
+Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
+Source2: source-post.sh
+Source3: kernel-source.rpmlintrc
+Source8: devel-pre.sh
+Source9: devel-post.sh
+Source10: preun.sh
+Source11: postun.sh
+Source12: pre.sh
+Source13: post.sh
+Source14: series.conf
+Source16: guards
+Source17: apply-patches
+Source21: config.conf
+Source23: supported.conf
+Source33: check-for-config-changes
+Source35: group-source-files.pl
+Source36: README.PATCH-POLICY.SUSE
+Source37: README.SUSE
+Source38: README.KSYMS
+Source39: config-options.changes.txt
+Source40: source-timestamp
+Source44: find-provides
+Source45: find-requires
+Source46: split-modules
+Source47: modversions
+Source48: macros.kernel-source
+Source49: kernel-module-subpackage
+Source50: kabi.pl
+Source51: mkspec
+Source52: kernel-source%variant.changes
+Source53: kernel-source.spec.in
+Source54: kernel-binary.spec.in
+Source55: kernel-syms.spec.in
+Source56: kernel-docs.spec.in
+Source57: kernel-cert-subpackage
+Source58: constraints.in
+Source60: config.sh
+Source61: compute-PATCHVERSION.sh
+Source62: old-flavors
+Source63: arch-symbols
+Source64: package-descriptions
+Source65: kernel-spec-macros
+Source67: log.sh
+Source68: host-memcpy-hack.h
+Source69: try-disable-staging-driver
+Source70: kernel-obs-build.spec.in
+Source71: kernel-obs-qa.spec.in
+Source72: compress-vmlinux.sh
+Source73: dtb.spec.in.in
+Source74: mkspec-dtb
+Source100: config.tar.bz2
+Source101: config.addon.tar.bz2
+Source102: patches.arch.tar.bz2
+Source103: patches.drivers.tar.bz2
+Source104: patches.fixes.tar.bz2
+Source105: patches.rpmify.tar.bz2
+Source106: patches.suse.tar.bz2
+Source107: patches.xen.tar.bz2
+Source108: patches.addon.tar.bz2
+Source109: patches.kernel.org.tar.bz2
+Source110: patches.apparmor.tar.bz2
+Source111: patches.rt.tar.bz2
+Source112: patches.trace.tar.bz2
+Source113: patches.kabi.tar.bz2
+Source120: kabi.tar.bz2
+Source121: sysctl.tar.bz2
%description
Device Tree files for $MACHINES.
@@ -429,16 +501,21 @@
%prep
+# Unpack all sources and patches
+%setup -q -c -T -a 0 -a 100 -a 101 -a 102 -a 103 -a 104 -a 105 -a 106 -a 107 -a 108 -a 109 -a 110 -a 111 -a 112 -a 113 -a 120 -a 121
+cd linux-%srcversion
+%_sourcedir/apply-patches %_sourcedir/series.conf ..
+
%build
-source=/usr/src/linux-%kernelrelease
-%if %vanilla_only
-source=$source-vanilla
-%endif
+source=linux-%srcversion
cp $source/COPYING .
mkdir pp
PPDIR=`pwd`/pp
export DTC_FLAGS="-R 4 -p 0x1000"
+%if 0%{?dtc_symbols}
+DTC_FLAGS="$DTC_FLAGS -@"
+%endif
cd $source/arch/arm/boot/dts
for dts in am335x-*.dts am3517*.dts am57xx-*.dts armada-370-*.dts armada-375-*.dts armada-385-*.dts armada-388-*.dts armada-398-*.dts armada-xp-*.dts bcm2836*.dts dove-*.dts exynos4*.dts exynos5*.dts imx5*.dts imx6*.dts imx7*.dts keystone-*.dts meson6-*.dts meson8-*.dts meson8b-*.dts omap3*.dts omap4*.dts omap5*.dts qcom-*.dts rk3*.dts socfpga_*.dts ste-*.dts sun4i-*.dts sun5i-*.dts sun6i-*.dts sun7i-*.dts sun8i-*.dts sun9i-*.dts tegra20-*.dts tegra30-*.dts tegra114-*.dts tegra124-*.dts vexpress-*.dts vf500-*.dts vf610-*.dts xenvm-*.dts zynq-*.dts ; do
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.177166489 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.181165927 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.10
-%define patchversion 4.10.13
+%define srcversion 4.11
+%define patchversion 4.11.0
%define variant %{nil}
%define vanilla_only 0
@@ -58,9 +58,9 @@
Summary: Kernel with 64kb PAGE_SIZE
License: GPL-2.0
Group: System/Kernel
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -68,6 +68,8 @@
BuildRequires: bc
BuildRequires: coreutils
BuildRequires: fdupes
+# Needed by scripts/gcc-plugin.sh
+BuildRequires: gcc-c++ gcc-devel
%if 0%{?suse_version} > 1310
BuildRequires: hmaccalc
%endif
@@ -405,7 +407,13 @@
print $(NF);
}
' >%kernel_build_dir/Module.supported
-for package in base ; do
+subpackages=(
+ base
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+
+%endif
+)
+for package in "${subpackages[@]}"; do
%_sourcedir/guards --default=0 "$package" \
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
sort -u >%kernel_build_dir/Module."$package"
@@ -538,15 +546,19 @@
%install
# sign the modules, firmware and possibly the kernel in the buildservice
-export BRP_PESIGN_FILES="*.ko"
+BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
-BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
+BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
+%endif
+%if %CONFIG_MODULE_SIG == "y"
+BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
+export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
@@ -635,11 +647,11 @@
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
- for f in *.x509; do
+ for f in %_sourcedir/*.crt; do
if ! test -s "$f"; then
continue
fi
- h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
+ h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
@@ -647,7 +659,7 @@
continue
fi
mkdir -p %buildroot/etc/uefi/certs
- cp "$f" %buildroot/"$cert"
+ openssl x509 -inform PEM -in "$f" -outform DER -out %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
@@ -1121,6 +1133,8 @@
%dir /lib/modules/%kernelrelease-%build_flavor
%endif
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
%changelog
kernel-debug.spec: same change
kernel-default.spec: same change
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.273153004 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.277152442 +0200
@@ -16,7 +16,7 @@
#
-%define patchversion 4.10.13
+%define patchversion 4.11.0
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -42,9 +42,9 @@
Summary: Kernel Documentation (man pages)
License: GPL-2.0
Group: Documentation/Man
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
++++++ kernel-lpae.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.317146824 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.321146262 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.10
-%define patchversion 4.10.13
+%define srcversion 4.11
+%define patchversion 4.11.0
%define variant %{nil}
%define vanilla_only 0
@@ -58,9 +58,9 @@
Summary: Kernel for LPAE enabled systems
License: GPL-2.0
Group: System/Kernel
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -68,6 +68,8 @@
BuildRequires: bc
BuildRequires: coreutils
BuildRequires: fdupes
+# Needed by scripts/gcc-plugin.sh
+BuildRequires: gcc-c++ gcc-devel
%if 0%{?suse_version} > 1310
BuildRequires: hmaccalc
%endif
@@ -403,7 +405,13 @@
print $(NF);
}
' >%kernel_build_dir/Module.supported
-for package in base ; do
+subpackages=(
+ base
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+
+%endif
+)
+for package in "${subpackages[@]}"; do
%_sourcedir/guards --default=0 "$package" \
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
sort -u >%kernel_build_dir/Module."$package"
@@ -536,15 +544,19 @@
%install
# sign the modules, firmware and possibly the kernel in the buildservice
-export BRP_PESIGN_FILES="*.ko"
+BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
-BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
+BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
+%endif
+%if %CONFIG_MODULE_SIG == "y"
+BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
+export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
@@ -633,11 +645,11 @@
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
- for f in *.x509; do
+ for f in %_sourcedir/*.crt; do
if ! test -s "$f"; then
continue
fi
- h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
+ h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
@@ -645,7 +657,7 @@
continue
fi
mkdir -p %buildroot/etc/uefi/certs
- cp "$f" %buildroot/"$cert"
+ openssl x509 -inform PEM -in "$f" -outform DER -out %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
@@ -1115,6 +1127,8 @@
%dir /lib/modules/%kernelrelease-%build_flavor
%endif
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
%changelog
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.345142891 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.349142329 +0200
@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
-%define patchversion 4.10.13
+%define patchversion 4.11.0
%define variant %{nil}
%define vanilla_only 0
@@ -57,9 +57,9 @@
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0
Group: SLES
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.385137272 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.389136710 +0200
@@ -17,7 +17,7 @@
# needsrootforbuild
-%define patchversion 4.10.13
+%define patchversion 4.11.0
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -36,9 +36,9 @@
Summary: Basic QA tests for the kernel
License: GPL-2.0
Group: SLES
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.425131654 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.433130530 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.10
-%define patchversion 4.10.13
+%define srcversion 4.11
+%define patchversion 4.11.0
%define variant %{nil}
%define vanilla_only 0
@@ -58,9 +58,9 @@
Summary: Kernel with PAE Support
License: GPL-2.0
Group: System/Kernel
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -68,6 +68,8 @@
BuildRequires: bc
BuildRequires: coreutils
BuildRequires: fdupes
+# Needed by scripts/gcc-plugin.sh
+BuildRequires: gcc-c++ gcc-devel
%if 0%{?suse_version} > 1310
BuildRequires: hmaccalc
%endif
@@ -431,7 +433,13 @@
print $(NF);
}
' >%kernel_build_dir/Module.supported
-for package in base ; do
+subpackages=(
+ base
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+
+%endif
+)
+for package in "${subpackages[@]}"; do
%_sourcedir/guards --default=0 "$package" \
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
sort -u >%kernel_build_dir/Module."$package"
@@ -564,15 +572,19 @@
%install
# sign the modules, firmware and possibly the kernel in the buildservice
-export BRP_PESIGN_FILES="*.ko"
+BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
-BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
+BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
+%endif
+%if %CONFIG_MODULE_SIG == "y"
+BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
+export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
@@ -661,11 +673,11 @@
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
- for f in *.x509; do
+ for f in %_sourcedir/*.crt; do
if ! test -s "$f"; then
continue
fi
- h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
+ h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
@@ -673,7 +685,7 @@
continue
fi
mkdir -p %buildroot/etc/uefi/certs
- cp "$f" %buildroot/"$cert"
+ openssl x509 -inform PEM -in "$f" -outform DER -out %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
@@ -1185,6 +1197,8 @@
%dir /lib/modules/%kernelrelease-%build_flavor
%endif
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
%changelog
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.465126035 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.469125473 +0200
@@ -17,8 +17,8 @@
# icecream 0
-%define srcversion 4.10
-%define patchversion 4.10.13
+%define srcversion 4.11
+%define patchversion 4.11.0
%define variant %{nil}
%define vanilla_only 0
@@ -30,9 +30,9 @@
Summary: The Linux Kernel Sources
License: GPL-2.0
Group: Development/Sources
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.525117607 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.529117045 +0200
@@ -24,10 +24,10 @@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0
Group: Development/Sources
-Version: 4.10.13
+Version: 4.11.0
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
++++++ kernel-syzkaller.spec ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.573110865 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.577110303 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.10
-%define patchversion 4.10.13
+%define srcversion 4.11
+%define patchversion 4.11.0
%define variant %{nil}
%define vanilla_only 0
@@ -58,9 +58,9 @@
Summary: Kernel used for fuzzing by syzkaller
License: GPL-2.0
Group: System/Kernel
-Version: 4.10.13
+Version: 4.11.0
%if 0%{?is_kotd}
-Release: <RELEASE>.ge5d11ce
+Release: <RELEASE>.g1b516a5
%else
Release: 0
%endif
@@ -68,6 +68,8 @@
BuildRequires: bc
BuildRequires: coreutils
BuildRequires: fdupes
+# Needed by scripts/gcc-plugin.sh
+BuildRequires: gcc-c++ gcc-devel
%if 0%{?suse_version} > 1310
BuildRequires: hmaccalc
%endif
@@ -404,7 +406,13 @@
print $(NF);
}
' >%kernel_build_dir/Module.supported
-for package in base ; do
+subpackages=(
+ base
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+
+%endif
+)
+for package in "${subpackages[@]}"; do
%_sourcedir/guards --default=0 "$package" \
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
sort -u >%kernel_build_dir/Module."$package"
@@ -537,15 +545,19 @@
%install
# sign the modules, firmware and possibly the kernel in the buildservice
-export BRP_PESIGN_FILES="*.ko"
+BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
-BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
+BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
+%endif
+%if %CONFIG_MODULE_SIG == "y"
+BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
+export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
@@ -634,11 +646,11 @@
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
- for f in *.x509; do
+ for f in %_sourcedir/*.crt; do
if ! test -s "$f"; then
continue
fi
- h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
+ h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
@@ -646,7 +658,7 @@
continue
fi
mkdir -p %buildroot/etc/uefi/certs
- cp "$f" %buildroot/"$cert"
+ openssl x509 -inform PEM -in "$f" -outform DER -out %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
@@ -1118,6 +1130,8 @@
%dir /lib/modules/%kernelrelease-%build_flavor
%endif
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
%changelog
kernel-vanilla.spec: same change
++++++ README.SUSE ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.861070411 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.865069849 +0200
@@ -174,7 +174,7 @@
/usr/src/linux-obj/$ARCH/$FLAVOR, or
(3) by creating a Kernel Module Package (KMP) as described in the
- Kernel Module Packages Manual, http://www.suse.de/~agruen/KMPM/.
+ Kernel Module Packages Manual, https://drivers.suse.com/doc/kmpm/.
The first method involves the following steps:
@@ -462,4 +462,4 @@
Andreas Gruenbacher: Kernel Module Packages Manual.
Versions for CODE9 (SLES9, SUSE LINUX 10.0) and CODE10
(SUSE Linux 10.1, SLES10),
- http://www.suse.de/~agruen/KMPM/
+ https://drivers.suse.com/doc/kmpm/
++++++ apply-patches ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:09.917062545 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:09.917062545 +0200
@@ -38,7 +38,7 @@
echo "set -ex"
"$DIR"/guards "$@" <"$series" | \
if $vanilla; then
- egrep '^patches\.(kernel\.org|rpmify)/'
+ sed -rn '/^patches\.(kernel\.org|rpmify)\//p'
else
cat
fi |\
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:10.069041194 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:10.069041194 +0200
@@ -1,5 +1,5 @@
# The version of the main tarball to use
-SRCVERSION=4.10
+SRCVERSION=4.11
# variant of the kernel-source package, either empty or "-rt"
VARIANT=
# buildservice projects to build the kernel against
++++++ config.tar.bz2 ++++++
++++ 46923 lines of diff (skipped)
++++++ dtb.spec.in.in ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:10.572970400 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:10.572970400 +0200
@@ -16,11 +16,18 @@
#
+%define srcversion @SRCVERSION@
%define patchversion @PATCHVERSION@
-%define vanilla_only @VANILLA_ONLY@
+%define variant @VARIANT@%{nil}
%include %_sourcedir/kernel-spec-macros
+%if 0%{?suse_version} > 1320 || ( 0%{?suse_version} == 1315 && 0%{?sle_version} >= 120300 )
+%define dtc_symbols 1
+%endif
+
+%(chmod +x %_sourcedir/{@SCRIPTS@})
+
Name: $NAME
Version: @RPMVERSION@
%if 0%{?is_kotd}
@@ -32,16 +39,16 @@
License: GPL-2.0
Group: System/Boot
Url: http://www.kernel.org/
-%if %vanilla_only
-BuildRequires: kernel-source-vanilla
-%else
-BuildRequires: kernel-source
-%endif
$ARCH_RESTRICTIONS
BuildRequires: cpp
+%if 0%{?dtc_symbols}
+BuildRequires: dtc >= 1.4.3
+%else
BuildRequires: dtc >= 1.4.0
+%endif
BuildRequires: xz
Requires: kernel = %version
+@SOURCES@
%description
Device Tree files for $MACHINES.
@@ -49,16 +56,21 @@
$SUBPKG_DESC
%prep
+# Unpack all sources and patches
+%setup -q -c -T -a 0 @UNPACK_PATCHES@
+cd linux-%srcversion
+%_sourcedir/apply-patches %_sourcedir/series.conf ..
+
%build
-source=/usr/src/linux-%kernelrelease
-%if %vanilla_only
-source=$source-vanilla
-%endif
+source=linux-%srcversion
cp $source/COPYING .
mkdir pp
PPDIR=`pwd`/pp
export DTC_FLAGS="-R 4 -p 0x1000"
+%if 0%{?dtc_symbols}
+DTC_FLAGS="$DTC_FLAGS -@"
+%endif
cd $source/$DTS_folder
for dts in $ALL_SUPPORTED_DTB; do
++++++ kernel-binary.spec.in ++++++
--- /var/tmp/diff_new_pack.za4Adm/_old 2017-05-16 14:31:10.752945116 +0200
+++ /var/tmp/diff_new_pack.za4Adm/_new 2017-05-16 14:31:10.752945116 +0200
@@ -68,6 +68,8 @@
BuildRequires: bc
BuildRequires: coreutils
BuildRequires: fdupes
+# Needed by scripts/gcc-plugin.sh
+BuildRequires: gcc-c++ gcc-devel
%if 0%{?suse_version} > 1310
BuildRequires: hmaccalc
%endif
@@ -274,7 +276,13 @@
print $(NF);
}
' >%kernel_build_dir/Module.supported
-for package in base @KMPS@; do
+subpackages=(
+ base
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ @KMPS@
+%endif
+)
+for package in "${subpackages[@]}"; do
%_sourcedir/guards --default=0 "$package" \
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
sort -u >%kernel_build_dir/Module."$package"
@@ -407,15 +415,19 @@
%install
# sign the modules, firmware and possibly the kernel in the buildservice
-export BRP_PESIGN_FILES="*.ko"
+BRP_PESIGN_FILES=""
%if %CONFIG_EFI_STUB == "y"
-BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
+BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
+%endif
+%if %CONFIG_MODULE_SIG == "y"
+BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko"
%endif
%ifarch %ix86
# XXX: do not sign on x86, as the repackaging changes kernel-pae
# from i686 to i586
BRP_PESIGN_FILES=""
%endif
+export BRP_PESIGN_FILES
# get rid of /usr/lib/rpm/brp-strip-debug
# strip removes too much from the vmlinux ELF binary
@@ -504,11 +516,11 @@
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
- for f in *.x509; do
+ for f in %_sourcedir/*.crt; do
if ! test -s "$f"; then
continue
fi
- h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
+ h=$(openssl x509 -inform PEM -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
@@ -516,7 +528,7 @@
continue
fi
mkdir -p %buildroot/etc/uefi/certs
- cp "$f" %buildroot/"$cert"
+ openssl x509 -inform PEM -in "$f" -outform DER -out %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
@@ -965,6 +977,7 @@
%dir /lib/modules/%kernelrelease-%build_flavor
%endif
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
# BEGIN KMP
%package -n @KMP_NAME@-%build_flavor
Summary: @KMP_SUMMARY@
@@ -1006,6 +1019,7 @@
%files -n @KMP_NAME@-%build_flavor -f @KMP_NAME@.files
%defattr(-, root, root)
# END KMP
+%endif # %CONFIG_SUSE_KERNEL_SUPPORTED
%endif # %CONFIG_MODULES
%changelog
++++++ linux-4.10.tar.xz -> linux-4.11.tar.xz ++++++
/work/SRC/openSUSE:Factory/kernel-source/linux-4.10.tar.xz /work/SRC/openSUSE:Factory/.kernel-source.new/linux-4.11.tar.xz differ: char 26, line 1
++++++ patches.apparmor.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.apparmor/apparmor-basic-networking-rules-4.11-rc1.patch new/patches.apparmor/apparmor-basic-networking-rules-4.11-rc1.patch
--- old/patches.apparmor/apparmor-basic-networking-rules-4.11-rc1.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.apparmor/apparmor-basic-networking-rules-4.11-rc1.patch 2017-03-07 16:07:46.000000000 +0100
@@ -0,0 +1,142 @@
+From: Jeff Mahoney