Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2018-04-06 17:44:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Fri Apr 6 17:44:12 2018 rev:418 rq:593559 version:4.16.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2018-04-04 11:02:51.525606387 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/dtb-aarch64.changes 2018-04-06 17:44:17.350886631 +0200
@@ -1,0 +2,309 @@
+Wed Apr 4 15:34:30 CEST 2018 - jslaby@suse.cz
+
+- Revert "tools: fix cross-compile var clobbering" (build fix).
+- commit 590ff92
+
+-------------------------------------------------------------------
+Mon Apr 2 16:19:10 CEST 2018 - jeffm@suse.com
+
+- Update to 4.16-final.
+- commit 1b10c5b
+
+-------------------------------------------------------------------
+Sat Mar 31 21:42:52 CEST 2018 - jslaby@suse.cz
+
+- Linux 4.15.15 (bnc#1012628).
+- team: Fix double free in error path (bnc#1012628).
+- skbuff: Fix not waking applications when errors are enqueued
+ (bnc#1012628).
+- qede: Fix qedr link update (bnc#1012628).
+- net: systemport: Rewrite __bcm_sysport_tx_reclaim()
+ (bnc#1012628).
+- net: Only honor ifindex in IP_PKTINFO if non-0 (bnc#1012628).
+- netlink: avoid a double skb free in genlmsg_mcast()
+ (bnc#1012628).
+- net/iucv: Free memory obtained by kzalloc (bnc#1012628).
+- net: fec: Fix unbalanced PM runtime calls (bnc#1012628).
+- net: ethernet: ti: cpsw: add check for in-band mode setting
+ with RGMII PHY interface (bnc#1012628).
+- commit 4904fc3
+
+-------------------------------------------------------------------
+Sat Mar 31 21:40:22 CEST 2018 - jslaby@suse.cz
+
+- net: ethernet: arc: Fix a potential memory leak if an optional
+ regulator is deferred (bnc#1012628).
+- l2tp: do not accept arbitrary sockets (bnc#1012628).
+- ipv6: fix access to non-linear packet in
+ ndisc_fill_redirect_hdr_option() (bnc#1012628).
+- dccp: check sk for closed state in dccp_sendmsg() (bnc#1012628).
+- dpaa_eth: remove duplicate increment of the tx_errors counter
+ (bnc#1012628).
+- dpaa_eth: increment the RX dropped counter when needed
+ (bnc#1012628).
+- dpaa_eth: remove duplicate initialization (bnc#1012628).
+- dpaa_eth: fix error in dpaa_remove() (bnc#1012628).
+- soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
+ (bnc#1012628).
+- s390/qeth: on channel error, reject further cmd requests
+ (bnc#1012628).
+- s390/qeth: lock read device while queueing next buffer
+ (bnc#1012628).
+- s390/qeth: when thread completes, wake up all waiters
+ (bnc#1012628).
+- s390/qeth: free netdevice when removing a card (bnc#1012628).
+- net: Fix hlist corruptions in inet_evict_bucket() (bnc#1012628).
+- net: use skb_to_full_sk() in skb_update_prio() (bnc#1012628).
+- ieee802154: 6lowpan: fix possible NULL deref in
+ lowpan_device_event() (bnc#1012628).
+- sch_netem: fix skb leak in netem_enqueue() (bnc#1012628).
+- kcm: lock lower socket in kcm_attach (bnc#1012628).
+- test_rhashtable: add test case for rhltable with duplicate
+ objects (bnc#1012628).
+- rhashtable: Fix rhlist duplicates insertion (bnc#1012628).
+- ppp: avoid loop in xmit recursion detection code (bnc#1012628).
+- net sched actions: return explicit error when tunnel_key mode
+ is not specified (bnc#1012628).
+- ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less
+ routes (bnc#1012628).
+- net: phy: Tell caller result of phy_change() (bnc#1012628).
+- mlxsw: spectrum_buffers: Set a minimum quota for CPU port
+ traffic (bnc#1012628).
+- ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel
+ state (bnc#1012628).
+- ipv6: sr: fix NULL pointer dereference when setting encap
+ source address (bnc#1012628).
+- ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
+ (bnc#1012628).
+- net: ipv6: keep sk status consistent after datagram connect
+ failure (bnc#1012628).
+- macvlan: filter out unsupported feature flags (bnc#1012628).
+- devlink: Remove redundant free on error path (bnc#1012628).
+- net: phy: relax error checking when creating sysfs link
+ netdev->phydev (bnc#1012628).
+- sysfs: symlink: export sysfs_create_link_nowarn() (bnc#1012628).
+- qed: Fix non TCP packets should be dropped on iWARP ll2
+ connection (bnc#1012628).
+- tcp: purge write queue upon aborting the connection
+ (bnc#1012628).
+- qed: Fix MPA unalign flow in case header is split across two
+ packets (bnc#1012628).
+- openvswitch: meter: fix the incorrect calculation of max delta_t
+ (bnc#1012628).
+- net: dsa: Fix dsa_is_user_port() test inversion (bnc#1012628).
+- commit 0e7b541
+
+-------------------------------------------------------------------
+Thu Mar 29 09:56:18 CEST 2018 - jslaby@suse.cz
+
+- Linux 4.15.14 (bnc#1012628).
+- MIPS: ralink: Remove ralink_halt() (bnc#1012628).
+- MIPS: ralink: Fix booting on MT7621 (bnc#1012628).
+- MIPS: lantiq: Fix Danube USB clock (bnc#1012628).
+- MIPS: lantiq: Enable AHB Bus for USB (bnc#1012628).
+- MIPS: lantiq: ase: Enable MFD_SYSCON (bnc#1012628).
+- iio: chemical: ccs811: Corrected firmware boot/application
+ mode transition (bnc#1012628).
+- iio: st_pressure: st_accel: pass correct platform data to init
+ (bnc#1012628).
+- iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
+ (bnc#1012628).
+- ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
+ (bnc#1012628).
+- ALSA: aloop: Sync stale timer before release (bnc#1012628).
+- ALSA: aloop: Fix access to not-yet-ready substream via cable
+ (bnc#1012628).
+- ALSA: hda - Force polling mode on CFL for fixing codec
+ communication (bnc#1012628).
+- ALSA: hda/realtek - Fix speaker no sound after system resume
+ (bnc#1012628).
+- ALSA: hda/realtek - Fix Dell headset Mic can't record
+ (bnc#1012628).
+- ALSA: hda/realtek - Always immediately update mute LED with
+ pin VREF (bnc#1012628).
+- mmc: core: Fix tracepoint print of blk_addr and blksz
+ (bnc#1012628).
+- mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
+ (bnc#1012628).
+- mmc: block: fix updating ext_csd caches on ioctl call
+ (bnc#1012628).
+- mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for
+ 32-bit systems (bnc#1012628).
+- mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
+ (bnc#1012628).
+- mmc: dw_mmc: fix falling from idmac to PIO mode when
+ dw_mci_reset occurs (bnc#1012628).
+- PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID
+ 644L (bnc#1012628).
+- ahci: Add PCI-id for the Highpoint Rocketraid 644L card
+ (bnc#1012628).
+- lockdep: fix fs_reclaim warning (bnc#1012628).
+- clk: bcm2835: Fix ana->maskX definitions (bnc#1012628).
+- clk: bcm2835: Protect sections updating shared registers
+ (bnc#1012628).
+- clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops (bnc#1012628).
+- RDMA/mlx5: Fix crash while accessing garbage pointer and freed
+ memory (bnc#1012628).
+- Drivers: hv: vmbus: Fix ring buffer signaling (bnc#1012628).
+- pinctrl: samsung: Validate alias coming from DT (bnc#1012628).
+- Bluetooth: btusb: Remove Yoga 920 from the
+ btusb_needs_reset_resume_table (bnc#1012628).
+- Bluetooth: btusb: Add Dell OptiPlex 3060 to
+ btusb_needs_reset_resume_table (bnc#1012628).
+- libata: fix length validation of ATAPI-relayed SCSI commands
+ (bnc#1012628).
+- libata: remove WARN() for DMA or PIO command without data
+ (bnc#1012628).
+- libata: don't try to pass through NCQ commands to non-NCQ
+ devices (bnc#1012628).
+- libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
+ (bnc#1012628).
+- libata: disable LPM for Crucial BX100 SSD 500GB drive
+ (bnc#1012628).
+- libata: Enable queued TRIM for Samsung SSD 860 (bnc#1012628).
+- libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
+ (bnc#1012628).
+- libata: Make Crucial BX100 500GB LPM quirk apply to all firmware
+ versions (bnc#1012628).
+- libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to
+ MU01 version (bnc#1012628).
+- sched, cgroup: Don't reject lower cpu.max on ancestors
+ (bnc#1012628).
+- cgroup: fix rule checking for threaded mode switching
+ (bnc#1012628).
+- nfsd: remove blocked locks on client teardown (bnc#1012628).
+- media: tegra-cec: reset rx_buf_cnt when start bit detected
+ (bnc#1012628).
+- hugetlbfs: check for pgoff value overflow (bnc#1012628).
+- h8300: remove extraneous __BIG_ENDIAN definition (bnc#1012628).
+- mm/vmalloc: add interfaces to free unmapped page table
+ (bnc#1012628).
+- x86/mm: implement free pmd/pte page interfaces (bnc#1012628).
+- mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
+ (bnc#1012628).
+- mm/thp: do not wait for lock_page() in deferred_split_scan()
+ (bnc#1012628).
+- mm/shmem: do not wait for lock_page() in
+ shmem_unused_huge_shrink() (bnc#1012628).
+- Revert "mm: page_alloc: skip over regions of invalid pfns
+ where possible" (bnc#1012628).
+- drm/vmwgfx: Fix black screen and device errors when running
+ without fbdev (bnc#1012628).
+- drm/vmwgfx: Fix a destoy-while-held mutex problem (bnc#1012628).
+- drm/radeon: Don't turn off DP sink when disconnected
+ (bnc#1012628).
+- drm/amd/display: We shouldn't set format_default on plane as
+ atomic driver (bnc#1012628).
+- drm/amd/display: Add one to EDID's audio channel count when
++++ 467 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
New Changes file:
--- /dev/null 2018-03-29 10:35:27.759803458 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-kvmsmall.changes 2018-04-06 17:44:30.858398868 +0200
@@ -0,0 +1,56249 @@
+-------------------------------------------------------------------
+Wed Apr 4 15:34:30 CEST 2018 - jslaby@suse.cz
+
+- Revert "tools: fix cross-compile var clobbering" (build fix).
+- commit 590ff92
+
+-------------------------------------------------------------------
+Mon Apr 2 16:19:10 CEST 2018 - jeffm@suse.com
+
+- Update to 4.16-final.
+- commit 1b10c5b
+
+-------------------------------------------------------------------
+Sat Mar 31 21:42:52 CEST 2018 - jslaby@suse.cz
+
+- Linux 4.15.15 (bnc#1012628).
+- team: Fix double free in error path (bnc#1012628).
+- skbuff: Fix not waking applications when errors are enqueued
+ (bnc#1012628).
+- qede: Fix qedr link update (bnc#1012628).
+- net: systemport: Rewrite __bcm_sysport_tx_reclaim()
+ (bnc#1012628).
+- net: Only honor ifindex in IP_PKTINFO if non-0 (bnc#1012628).
+- netlink: avoid a double skb free in genlmsg_mcast()
+ (bnc#1012628).
+- net/iucv: Free memory obtained by kzalloc (bnc#1012628).
+- net: fec: Fix unbalanced PM runtime calls (bnc#1012628).
+- net: ethernet: ti: cpsw: add check for in-band mode setting
+ with RGMII PHY interface (bnc#1012628).
+- commit 4904fc3
+
+-------------------------------------------------------------------
+Sat Mar 31 21:40:22 CEST 2018 - jslaby@suse.cz
+
+- net: ethernet: arc: Fix a potential memory leak if an optional
+ regulator is deferred (bnc#1012628).
+- l2tp: do not accept arbitrary sockets (bnc#1012628).
+- ipv6: fix access to non-linear packet in
+ ndisc_fill_redirect_hdr_option() (bnc#1012628).
+- dccp: check sk for closed state in dccp_sendmsg() (bnc#1012628).
+- dpaa_eth: remove duplicate increment of the tx_errors counter
+ (bnc#1012628).
+- dpaa_eth: increment the RX dropped counter when needed
+ (bnc#1012628).
+- dpaa_eth: remove duplicate initialization (bnc#1012628).
+- dpaa_eth: fix error in dpaa_remove() (bnc#1012628).
+- soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
+ (bnc#1012628).
+- s390/qeth: on channel error, reject further cmd requests
+ (bnc#1012628).
+- s390/qeth: lock read device while queueing next buffer
+ (bnc#1012628).
+- s390/qeth: when thread completes, wake up all waiters
+ (bnc#1012628).
+- s390/qeth: free netdevice when removing a card (bnc#1012628).
+- net: Fix hlist corruptions in inet_evict_bucket() (bnc#1012628).
+- net: use skb_to_full_sk() in skb_update_prio() (bnc#1012628).
+- ieee802154: 6lowpan: fix possible NULL deref in
+ lowpan_device_event() (bnc#1012628).
+- sch_netem: fix skb leak in netem_enqueue() (bnc#1012628).
+- kcm: lock lower socket in kcm_attach (bnc#1012628).
+- test_rhashtable: add test case for rhltable with duplicate
+ objects (bnc#1012628).
+- rhashtable: Fix rhlist duplicates insertion (bnc#1012628).
+- ppp: avoid loop in xmit recursion detection code (bnc#1012628).
+- net sched actions: return explicit error when tunnel_key mode
+ is not specified (bnc#1012628).
+- ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less
+ routes (bnc#1012628).
+- net: phy: Tell caller result of phy_change() (bnc#1012628).
+- mlxsw: spectrum_buffers: Set a minimum quota for CPU port
+ traffic (bnc#1012628).
+- ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel
+ state (bnc#1012628).
+- ipv6: sr: fix NULL pointer dereference when setting encap
+ source address (bnc#1012628).
+- ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
+ (bnc#1012628).
+- net: ipv6: keep sk status consistent after datagram connect
+ failure (bnc#1012628).
+- macvlan: filter out unsupported feature flags (bnc#1012628).
+- devlink: Remove redundant free on error path (bnc#1012628).
+- net: phy: relax error checking when creating sysfs link
+ netdev->phydev (bnc#1012628).
+- sysfs: symlink: export sysfs_create_link_nowarn() (bnc#1012628).
+- qed: Fix non TCP packets should be dropped on iWARP ll2
+ connection (bnc#1012628).
+- tcp: purge write queue upon aborting the connection
+ (bnc#1012628).
+- qed: Fix MPA unalign flow in case header is split across two
+ packets (bnc#1012628).
+- openvswitch: meter: fix the incorrect calculation of max delta_t
+ (bnc#1012628).
+- net: dsa: Fix dsa_is_user_port() test inversion (bnc#1012628).
+- commit 0e7b541
+
+-------------------------------------------------------------------
+Thu Mar 29 09:56:18 CEST 2018 - jslaby@suse.cz
+
+- Linux 4.15.14 (bnc#1012628).
+- MIPS: ralink: Remove ralink_halt() (bnc#1012628).
+- MIPS: ralink: Fix booting on MT7621 (bnc#1012628).
+- MIPS: lantiq: Fix Danube USB clock (bnc#1012628).
+- MIPS: lantiq: Enable AHB Bus for USB (bnc#1012628).
+- MIPS: lantiq: ase: Enable MFD_SYSCON (bnc#1012628).
+- iio: chemical: ccs811: Corrected firmware boot/application
+ mode transition (bnc#1012628).
+- iio: st_pressure: st_accel: pass correct platform data to init
+ (bnc#1012628).
+- iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
+ (bnc#1012628).
+- ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
+ (bnc#1012628).
+- ALSA: aloop: Sync stale timer before release (bnc#1012628).
+- ALSA: aloop: Fix access to not-yet-ready substream via cable
+ (bnc#1012628).
+- ALSA: hda - Force polling mode on CFL for fixing codec
+ communication (bnc#1012628).
+- ALSA: hda/realtek - Fix speaker no sound after system resume
+ (bnc#1012628).
+- ALSA: hda/realtek - Fix Dell headset Mic can't record
+ (bnc#1012628).
+- ALSA: hda/realtek - Always immediately update mute LED with
+ pin VREF (bnc#1012628).
+- mmc: core: Fix tracepoint print of blk_addr and blksz
+ (bnc#1012628).
+- mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
+ (bnc#1012628).
+- mmc: block: fix updating ext_csd caches on ioctl call
+ (bnc#1012628).
+- mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for
+ 32-bit systems (bnc#1012628).
+- mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
+ (bnc#1012628).
+- mmc: dw_mmc: fix falling from idmac to PIO mode when
+ dw_mci_reset occurs (bnc#1012628).
+- PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID
+ 644L (bnc#1012628).
+- ahci: Add PCI-id for the Highpoint Rocketraid 644L card
+ (bnc#1012628).
+- lockdep: fix fs_reclaim warning (bnc#1012628).
+- clk: bcm2835: Fix ana->maskX definitions (bnc#1012628).
+- clk: bcm2835: Protect sections updating shared registers
+ (bnc#1012628).
+- clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops (bnc#1012628).
+- RDMA/mlx5: Fix crash while accessing garbage pointer and freed
+ memory (bnc#1012628).
+- Drivers: hv: vmbus: Fix ring buffer signaling (bnc#1012628).
+- pinctrl: samsung: Validate alias coming from DT (bnc#1012628).
+- Bluetooth: btusb: Remove Yoga 920 from the
+ btusb_needs_reset_resume_table (bnc#1012628).
+- Bluetooth: btusb: Add Dell OptiPlex 3060 to
+ btusb_needs_reset_resume_table (bnc#1012628).
+- libata: fix length validation of ATAPI-relayed SCSI commands
+ (bnc#1012628).
+- libata: remove WARN() for DMA or PIO command without data
+ (bnc#1012628).
+- libata: don't try to pass through NCQ commands to non-NCQ
+ devices (bnc#1012628).
+- libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
+ (bnc#1012628).
+- libata: disable LPM for Crucial BX100 SSD 500GB drive
+ (bnc#1012628).
+- libata: Enable queued TRIM for Samsung SSD 860 (bnc#1012628).
+- libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
+ (bnc#1012628).
+- libata: Make Crucial BX100 500GB LPM quirk apply to all firmware
+ versions (bnc#1012628).
+- libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to
+ MU01 version (bnc#1012628).
+- sched, cgroup: Don't reject lower cpu.max on ancestors
+ (bnc#1012628).
+- cgroup: fix rule checking for threaded mode switching
+ (bnc#1012628).
+- nfsd: remove blocked locks on client teardown (bnc#1012628).
+- media: tegra-cec: reset rx_buf_cnt when start bit detected
+ (bnc#1012628).
+- hugetlbfs: check for pgoff value overflow (bnc#1012628).
+- h8300: remove extraneous __BIG_ENDIAN definition (bnc#1012628).
+- mm/vmalloc: add interfaces to free unmapped page table
+ (bnc#1012628).
+- x86/mm: implement free pmd/pte page interfaces (bnc#1012628).
+- mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
+ (bnc#1012628).
+- mm/thp: do not wait for lock_page() in deferred_split_scan()
+ (bnc#1012628).
+- mm/shmem: do not wait for lock_page() in
+ shmem_unused_huge_shrink() (bnc#1012628).
+- Revert "mm: page_alloc: skip over regions of invalid pfns
+ where possible" (bnc#1012628).
+- drm/vmwgfx: Fix black screen and device errors when running
+ without fbdev (bnc#1012628).
+- drm/vmwgfx: Fix a destoy-while-held mutex problem (bnc#1012628).
+- drm/radeon: Don't turn off DP sink when disconnected
+ (bnc#1012628).
+- drm/amd/display: We shouldn't set format_default on plane as
+ atomic driver (bnc#1012628).
++++ 56052 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-kvmsmall.changes
--- /work/SRC/openSUSE:Factory/kernel-source/kernel-lpae.changes 2018-04-04 11:03:02.341214371 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-lpae.changes 2018-04-06 17:44:31.138388758 +0200
@@ -1,0 +2,309 @@
+Wed Apr 4 15:34:30 CEST 2018 - jslaby@suse.cz
+
+- Revert "tools: fix cross-compile var clobbering" (build fix).
+- commit 590ff92
+
+-------------------------------------------------------------------
+Mon Apr 2 16:19:10 CEST 2018 - jeffm@suse.com
+
+- Update to 4.16-final.
+- commit 1b10c5b
+
+-------------------------------------------------------------------
+Sat Mar 31 21:42:52 CEST 2018 - jslaby@suse.cz
+
+- Linux 4.15.15 (bnc#1012628).
+- team: Fix double free in error path (bnc#1012628).
+- skbuff: Fix not waking applications when errors are enqueued
+ (bnc#1012628).
+- qede: Fix qedr link update (bnc#1012628).
+- net: systemport: Rewrite __bcm_sysport_tx_reclaim()
+ (bnc#1012628).
+- net: Only honor ifindex in IP_PKTINFO if non-0 (bnc#1012628).
+- netlink: avoid a double skb free in genlmsg_mcast()
+ (bnc#1012628).
+- net/iucv: Free memory obtained by kzalloc (bnc#1012628).
+- net: fec: Fix unbalanced PM runtime calls (bnc#1012628).
+- net: ethernet: ti: cpsw: add check for in-band mode setting
+ with RGMII PHY interface (bnc#1012628).
+- commit 4904fc3
+
+-------------------------------------------------------------------
+Sat Mar 31 21:40:22 CEST 2018 - jslaby@suse.cz
+
+- net: ethernet: arc: Fix a potential memory leak if an optional
+ regulator is deferred (bnc#1012628).
+- l2tp: do not accept arbitrary sockets (bnc#1012628).
+- ipv6: fix access to non-linear packet in
+ ndisc_fill_redirect_hdr_option() (bnc#1012628).
+- dccp: check sk for closed state in dccp_sendmsg() (bnc#1012628).
+- dpaa_eth: remove duplicate increment of the tx_errors counter
+ (bnc#1012628).
+- dpaa_eth: increment the RX dropped counter when needed
+ (bnc#1012628).
+- dpaa_eth: remove duplicate initialization (bnc#1012628).
+- dpaa_eth: fix error in dpaa_remove() (bnc#1012628).
+- soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
+ (bnc#1012628).
+- s390/qeth: on channel error, reject further cmd requests
+ (bnc#1012628).
+- s390/qeth: lock read device while queueing next buffer
+ (bnc#1012628).
+- s390/qeth: when thread completes, wake up all waiters
+ (bnc#1012628).
+- s390/qeth: free netdevice when removing a card (bnc#1012628).
+- net: Fix hlist corruptions in inet_evict_bucket() (bnc#1012628).
+- net: use skb_to_full_sk() in skb_update_prio() (bnc#1012628).
+- ieee802154: 6lowpan: fix possible NULL deref in
+ lowpan_device_event() (bnc#1012628).
+- sch_netem: fix skb leak in netem_enqueue() (bnc#1012628).
+- kcm: lock lower socket in kcm_attach (bnc#1012628).
+- test_rhashtable: add test case for rhltable with duplicate
+ objects (bnc#1012628).
+- rhashtable: Fix rhlist duplicates insertion (bnc#1012628).
+- ppp: avoid loop in xmit recursion detection code (bnc#1012628).
+- net sched actions: return explicit error when tunnel_key mode
+ is not specified (bnc#1012628).
+- ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less
+ routes (bnc#1012628).
+- net: phy: Tell caller result of phy_change() (bnc#1012628).
+- mlxsw: spectrum_buffers: Set a minimum quota for CPU port
+ traffic (bnc#1012628).
+- ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel
+ state (bnc#1012628).
+- ipv6: sr: fix NULL pointer dereference when setting encap
+ source address (bnc#1012628).
+- ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
+ (bnc#1012628).
+- net: ipv6: keep sk status consistent after datagram connect
+ failure (bnc#1012628).
+- macvlan: filter out unsupported feature flags (bnc#1012628).
+- devlink: Remove redundant free on error path (bnc#1012628).
+- net: phy: relax error checking when creating sysfs link
+ netdev->phydev (bnc#1012628).
+- sysfs: symlink: export sysfs_create_link_nowarn() (bnc#1012628).
+- qed: Fix non TCP packets should be dropped on iWARP ll2
+ connection (bnc#1012628).
+- tcp: purge write queue upon aborting the connection
+ (bnc#1012628).
+- qed: Fix MPA unalign flow in case header is split across two
+ packets (bnc#1012628).
+- openvswitch: meter: fix the incorrect calculation of max delta_t
+ (bnc#1012628).
+- net: dsa: Fix dsa_is_user_port() test inversion (bnc#1012628).
+- commit 0e7b541
+
+-------------------------------------------------------------------
+Thu Mar 29 09:56:18 CEST 2018 - jslaby@suse.cz
+
+- Linux 4.15.14 (bnc#1012628).
+- MIPS: ralink: Remove ralink_halt() (bnc#1012628).
+- MIPS: ralink: Fix booting on MT7621 (bnc#1012628).
+- MIPS: lantiq: Fix Danube USB clock (bnc#1012628).
+- MIPS: lantiq: Enable AHB Bus for USB (bnc#1012628).
+- MIPS: lantiq: ase: Enable MFD_SYSCON (bnc#1012628).
+- iio: chemical: ccs811: Corrected firmware boot/application
+ mode transition (bnc#1012628).
+- iio: st_pressure: st_accel: pass correct platform data to init
+ (bnc#1012628).
+- iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
+ (bnc#1012628).
+- ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
+ (bnc#1012628).
+- ALSA: aloop: Sync stale timer before release (bnc#1012628).
+- ALSA: aloop: Fix access to not-yet-ready substream via cable
+ (bnc#1012628).
+- ALSA: hda - Force polling mode on CFL for fixing codec
+ communication (bnc#1012628).
+- ALSA: hda/realtek - Fix speaker no sound after system resume
+ (bnc#1012628).
+- ALSA: hda/realtek - Fix Dell headset Mic can't record
+ (bnc#1012628).
+- ALSA: hda/realtek - Always immediately update mute LED with
+ pin VREF (bnc#1012628).
+- mmc: core: Fix tracepoint print of blk_addr and blksz
+ (bnc#1012628).
+- mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
+ (bnc#1012628).
+- mmc: block: fix updating ext_csd caches on ioctl call
+ (bnc#1012628).
+- mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for
+ 32-bit systems (bnc#1012628).
+- mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
+ (bnc#1012628).
+- mmc: dw_mmc: fix falling from idmac to PIO mode when
+ dw_mci_reset occurs (bnc#1012628).
+- PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID
+ 644L (bnc#1012628).
+- ahci: Add PCI-id for the Highpoint Rocketraid 644L card
+ (bnc#1012628).
+- lockdep: fix fs_reclaim warning (bnc#1012628).
+- clk: bcm2835: Fix ana->maskX definitions (bnc#1012628).
+- clk: bcm2835: Protect sections updating shared registers
+ (bnc#1012628).
+- clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops (bnc#1012628).
+- RDMA/mlx5: Fix crash while accessing garbage pointer and freed
+ memory (bnc#1012628).
+- Drivers: hv: vmbus: Fix ring buffer signaling (bnc#1012628).
+- pinctrl: samsung: Validate alias coming from DT (bnc#1012628).
+- Bluetooth: btusb: Remove Yoga 920 from the
+ btusb_needs_reset_resume_table (bnc#1012628).
+- Bluetooth: btusb: Add Dell OptiPlex 3060 to
+ btusb_needs_reset_resume_table (bnc#1012628).
+- libata: fix length validation of ATAPI-relayed SCSI commands
+ (bnc#1012628).
+- libata: remove WARN() for DMA or PIO command without data
+ (bnc#1012628).
+- libata: don't try to pass through NCQ commands to non-NCQ
+ devices (bnc#1012628).
+- libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
+ (bnc#1012628).
+- libata: disable LPM for Crucial BX100 SSD 500GB drive
+ (bnc#1012628).
+- libata: Enable queued TRIM for Samsung SSD 860 (bnc#1012628).
+- libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
+ (bnc#1012628).
+- libata: Make Crucial BX100 500GB LPM quirk apply to all firmware
+ versions (bnc#1012628).
+- libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to
+ MU01 version (bnc#1012628).
+- sched, cgroup: Don't reject lower cpu.max on ancestors
+ (bnc#1012628).
+- cgroup: fix rule checking for threaded mode switching
+ (bnc#1012628).
+- nfsd: remove blocked locks on client teardown (bnc#1012628).
+- media: tegra-cec: reset rx_buf_cnt when start bit detected
+ (bnc#1012628).
+- hugetlbfs: check for pgoff value overflow (bnc#1012628).
+- h8300: remove extraneous __BIG_ENDIAN definition (bnc#1012628).
+- mm/vmalloc: add interfaces to free unmapped page table
+ (bnc#1012628).
+- x86/mm: implement free pmd/pte page interfaces (bnc#1012628).
+- mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
+ (bnc#1012628).
+- mm/thp: do not wait for lock_page() in deferred_split_scan()
+ (bnc#1012628).
+- mm/shmem: do not wait for lock_page() in
+ shmem_unused_huge_shrink() (bnc#1012628).
+- Revert "mm: page_alloc: skip over regions of invalid pfns
+ where possible" (bnc#1012628).
+- drm/vmwgfx: Fix black screen and device errors when running
+ without fbdev (bnc#1012628).
+- drm/vmwgfx: Fix a destoy-while-held mutex problem (bnc#1012628).
+- drm/radeon: Don't turn off DP sink when disconnected
+ (bnc#1012628).
+- drm/amd/display: We shouldn't set format_default on plane as
+ atomic driver (bnc#1012628).
+- drm/amd/display: Add one to EDID's audio channel count when
++++ 467 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/kernel-lpae.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new/kernel-lpae.changes
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
kernel-zfcpdump.changes: same change
Old:
----
linux-4.15.tar.xz
New:
----
check-module-license
kernel-kvmsmall.changes
kernel-kvmsmall.spec
linux-4.16.tar.xz
release-projects
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.629034909 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.629034909 +0200
@@ -16,8 +16,8 @@
#
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -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})
+%(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})
Name: dtb-aarch64
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -96,6 +96,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
dtb-armv6l.spec: same change
dtb-armv7l.spec: same change
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.721031587 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.721031587 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -37,7 +37,7 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%(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})
+%(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})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
@@ -58,9 +58,9 @@
Summary: Kernel with 64kb PAGE_SIZE
License: GPL-2.0
Group: System/Kernel
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
# END COMMON DEPS
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -213,6 +217,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -290,6 +296,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
@@ -458,9 +466,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -832,6 +849,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -967,7 +992,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
@@ -995,7 +1020,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -1030,6 +1055,8 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%obsolete_rebuilds %name-base
%ifarch %ix86
@@ -1062,10 +1089,10 @@
Summary: Kernel with 64kb PAGE_SIZE - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.745030720 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.749030576 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -37,7 +37,7 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%(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})
+%(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})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
@@ -58,9 +58,9 @@
Summary: A Debug Version of the Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
# END COMMON DEPS
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%ifarch ppc64
Provides: kernel-kdump = 2.6.28
Obsoletes: kernel-kdump <= 2.6.28
@@ -221,6 +225,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -298,6 +304,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
@@ -464,9 +472,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -838,6 +855,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -973,7 +998,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
@@ -1001,7 +1026,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -1036,6 +1061,8 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%ifarch ppc64
Provides: kernel-kdump-base = 2.6.28
@@ -1070,10 +1097,10 @@
Summary: A Debug Version of the Kernel - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.777029564 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.781029420 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -37,7 +37,7 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%(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})
+%(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})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
@@ -58,9 +58,9 @@
Summary: The Standard Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
# END COMMON DEPS
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%ifarch %ix86
Provides: kernel-smp = 2.6.17
Obsoletes: kernel-smp <= 2.6.17
@@ -265,6 +269,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -342,6 +348,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
@@ -507,9 +515,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -881,6 +898,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -1016,7 +1041,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
@@ -1044,7 +1069,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -1079,6 +1104,8 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%ifarch %ix86
Provides: kernel-trace-base = 3.13
@@ -1132,10 +1159,10 @@
Summary: The Standard Kernel - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.809028409 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.809028409 +0200
@@ -16,8 +16,8 @@
#
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -25,15 +25,15 @@
%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})
+%(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})
Name: kernel-docs
Summary: Kernel Documentation
License: GPL-2.0
Group: Documentation/Man
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -63,6 +63,7 @@
%endif
Url: http://www.kernel.org/
Provides: %name = %version-%source_rel
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
@@ -113,6 +114,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -176,6 +179,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
++++++ kernel-kvmsmall.spec ++++++
++++ 1236 lines (skipped)
++++++ kernel-lpae.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.861026531 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.865026387 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -37,7 +37,7 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%(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})
+%(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})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
@@ -58,9 +58,9 @@
Summary: Kernel for LPAE enabled systems
License: GPL-2.0
Group: System/Kernel
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
# END COMMON DEPS
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -213,6 +217,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -290,6 +296,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
@@ -456,9 +464,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -830,6 +847,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -965,7 +990,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
@@ -993,7 +1018,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -1028,6 +1053,8 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%obsolete_rebuilds %name-base
%ifarch %ix86
@@ -1058,10 +1085,10 @@
Summary: Kernel for LPAE enabled systems - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.893025375 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.893025375 +0200
@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
-%define patchversion 4.15.13
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -45,7 +45,7 @@
%endif
%endif
%endif
-BuildRequires: kernel%kernel_flavor
+BuildRequires: kernel%kernel_flavor-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%if 0%{?rhel_version}
BuildRequires: kernel
@@ -64,9 +64,9 @@
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0
Group: SLES
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.921024364 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.925024220 +0200
@@ -17,7 +17,7 @@
# needsrootforbuild
-%define patchversion 4.15.13
+%define patchversion 4.16.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.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.957023065 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.961022920 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -37,7 +37,7 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%(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})
+%(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})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
@@ -58,9 +58,9 @@
Summary: Kernel with PAE Support
License: GPL-2.0
Group: System/Kernel
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
# END COMMON DEPS
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%ifarch %ix86
Provides: kernel-bigsmp = 2.6.17
Obsoletes: kernel-bigsmp <= 2.6.17
@@ -235,6 +239,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -312,6 +318,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
@@ -484,9 +492,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -858,6 +875,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -993,7 +1018,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
@@ -1021,7 +1046,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -1056,6 +1081,8 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%ifarch %ix86
Provides: kernel-vmi-base = 2.6.38
@@ -1102,10 +1129,10 @@
Summary: Kernel with PAE Support - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:08.997021619 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:08.997021619 +0200
@@ -17,8 +17,8 @@
# icecream 0
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.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.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -43,6 +43,7 @@
BuildRequires: sed
Requires(post): coreutils sed
Provides: %name = %version-%source_rel
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
Provides: linux
Provides: multiversion(kernel)
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
@@ -93,6 +94,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -111,10 +114,10 @@
BuildArch: noarch
Prefix: /usr/src
# Source is only complete with devel files.
-Requires: kernel-devel%variant = %version-%release
+Requires: kernel-devel%variant = %version-%source_rel
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})
+%(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})
%define symbols %(set -- $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*)
%define variant_symbols %(case %name in (*-rt) echo "RT" ;; esac)
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:09.025020609 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:09.029020464 +0200
@@ -24,10 +24,10 @@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0
Group: Development/Sources
-Version: 4.15.13
+Version: 4.16.0
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -55,6 +55,7 @@
%endif
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
++++++ kernel-syzkaller.spec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:09.053019598 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:09.061019309 +0200
@@ -17,8 +17,8 @@
# needssslcertforbuild
-%define srcversion 4.15
-%define patchversion 4.15.13
+%define srcversion 4.16
+%define patchversion 4.16.0
%define variant %{nil}
%define vanilla_only 0
@@ -37,7 +37,7 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
-%(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})
+%(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})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
@@ -58,9 +58,9 @@
Summary: Kernel used for fuzzing by syzkaller
License: GPL-2.0
Group: System/Kernel
-Version: 4.15.13
+Version: 4.16.0
%if 0%{?is_kotd}
-Release: <RELEASE>.g12abbef
+Release: <RELEASE>.ge16f96d
%else
Release: 0
%endif
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
# END COMMON DEPS
+Provides: %name-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -213,6 +217,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -290,6 +296,8 @@
NoSource: 72
NoSource: 73
NoSource: 74
+NoSource: 75
+NoSource: 76
NoSource: 100
NoSource: 101
NoSource: 102
@@ -457,9 +465,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -831,6 +848,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -966,7 +991,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
@@ -994,7 +1019,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -1029,6 +1054,8 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = e16f96dd974cbabe1558b188a35578128b803c64
+Provides: kernel-%build_flavor-base-srchash = e16f96dd974cbabe1558b188a35578128b803c64
%obsolete_rebuilds %name-base
%ifarch %ix86
@@ -1060,10 +1087,10 @@
Summary: Kernel used for fuzzing by syzkaller - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
kernel-vanilla.spec: same change
kernel-zfcpdump.spec: same change
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:09.261012087 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:09.265011942 +0200
@@ -5,6 +5,7 @@
<package>kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-default</package>
+<package>kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-syzkaller</package>
@@ -56,6 +57,7 @@
<package>kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-default</package>
+<package>kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-syzkaller</package>
@@ -77,6 +79,7 @@
<package>kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-default</package>
+<package>kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-syzkaller</package>
@@ -97,6 +100,7 @@
<package>kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-default</package>
+<package>kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-syzkaller</package>
@@ -117,6 +121,7 @@
<package>kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-default</package>
+<package>kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-syzkaller</package>
++++++ arch-symbols ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:09.293010931 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:09.301010642 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#############################################################################
# Copyright (c) 2003-2005,2009 Novell, Inc.
++++++ check-module-license ++++++
#!/bin/sh
rc=0
for file in $(find "$@" -name '*.ko'); do
l=$(/sbin/modinfo -F license "$file")
if [ -z "$l" ]; then
echo "ERROR: No license is included for module ${file##*/lib/modules/}"
rc=1
fi
done
exit $rc
++++++ config.conf ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:09.389007464 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:09.389007464 +0200
@@ -17,6 +17,7 @@
+x86_64 -syms x86_64/debug
+x86_64 -syms x86_64/syzkaller
+x86_64 x86_64/vanilla
++x86_64 -syms x86_64/kvmsmall
+ppc64 ppc64/default
+ppc64 -syms ppc64/debug
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:09.409006742 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:09.413006597 +0200
@@ -1,5 +1,5 @@
# The version of the main tarball to use
-SRCVERSION=4.15
+SRCVERSION=4.16
# variant of the kernel-source package, either empty or "-rt"
VARIANT=
# buildservice projects to build the kernel against
++++++ config.tar.bz2 ++++++
++++ 8665 lines of diff (skipped)
++++++ kernel-binary.spec.in ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.096981898 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.100981753 +0200
@@ -69,6 +69,7 @@
BuildRequires: bison
BuildRequires: coreutils
BuildRequires: fdupes
+BuildRequires: flex
# Cannot test %%CONFIG_GCC_PLUGINS here because the buildservice parser
# does not expand %%(...)
%if "%build_flavor" == "syzkaller"
@@ -88,7 +89,7 @@
Provides: %name = %version-%source_rel
# bnc#901925
Provides: %name-%version-%source_rel
-Provides: %{name}_%_target_cpu = %version-%release
+Provides: %{name}_%_target_cpu = %version-%source_rel
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
# In SLE11, kernel-$flavor complemented kernel-$flavor-base. With SLE12,
@@ -128,7 +129,7 @@
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
-#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
+#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools udev insserv
%ifarch s390 s390x
%if %build_vanilla && 0%{?suse_version} < 1130
@@ -163,7 +164,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
+Provides: kernel-srchash = @COMMIT_FULL@
+Provides: kernel-%build_flavor-base-srchash = @COMMIT_FULL@
# END COMMON DEPS
+Provides: %name-srchash = @COMMIT_FULL@
@PROVIDES_OBSOLETES@
@PROVIDES_OBSOLETES_BASE@
%obsolete_rebuilds %name
@@ -335,9 +339,18 @@
# the top of the specfile
../scripts/kconfig/merge_config.sh -m .config %my_builddir/config.addon/%cpu_arch_flavor
fi
+
+CONFIG_SUSE_KERNEL_RELEASED="--disable CONFIG_SUSE_KERNEL_RELEASED"
+%if 0%{?_project:1}
+if echo %_project | egrep -qx -f %_sourcedir/release-projects; then
+ CONFIG_SUSE_KERNEL_RELEASED="--enable CONFIG_SUSE_KERNEL_RELEASED"
+fi
+%endif
+
../scripts/config \
--set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \
+ $CONFIG_SUSE_KERNEL_RELEASED \
%if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO
%else
@@ -709,6 +722,14 @@
fi
fi
+ # Check the license in each module
+ if ! sh %_sourcedir/check-module-license %buildroot; then
+ echo "Please fix the missing licenses!"
+%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
+ exit 1
+%endif
+ fi
+
# These files are required for building external modules
for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
if [ -f %kernel_build_dir/$FILE ]; then
@@ -844,7 +865,7 @@
Url: http://www.kernel.org/
Provides: kernel-base = %version-%source_rel
Provides: multiversion(kernel)
-Conflicts: %name = %version-%release
+Conflicts: %name = %version-%source_rel
@COMMON_DEPS@
@PROVIDES_OBSOLETES_BASE@
%obsolete_rebuilds %name-base
@@ -875,10 +896,10 @@
Summary: @SUMMARY@ - Unsupported kernel modules
Group: System/Kernel
Url: http://www.kernel.org/
-Provides: %name-extra_%_target_cpu = %version-%release
+Provides: %name-extra_%_target_cpu = %version-%source_rel
Provides: kernel-extra = %version-%source_rel
Provides: multiversion(kernel)
-Requires: %{name}_%_target_cpu = %version-%release
+Requires: %{name}_%_target_cpu = %version-%source_rel
Requires(pre): coreutils awk
Requires(post): modutils
Requires(post): perl-Bootloader
@@ -1007,8 +1028,8 @@
%package -n @KMP_NAME@-%build_flavor
Summary: @KMP_SUMMARY@
Group: System/Kernel
-Requires: %name = %version-%release
-Provides: @KMP_NAME@ = %version-%release
+Requires: %name = %version-%source_rel
+Provides: @KMP_NAME@ = %version-%source_rel
Provides: multiversion(kernel)
# tell weak-modules2 to ignore this package
Provides: kmp_in_kernel
++++++ kernel-docs.spec.in ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.152979875 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.156979731 +0200
@@ -63,6 +63,7 @@
%endif
Url: http://www.kernel.org/
Provides: %name = %version-%source_rel
+Provides: %name-srchash = @COMMIT_FULL@
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@SOURCES@
++++++ kernel-obs-build.spec.in ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.200978142 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.204977998 +0200
@@ -45,7 +45,7 @@
%endif
%endif
%endif
-BuildRequires: kernel%kernel_flavor
+BuildRequires: kernel%kernel_flavor-srchash = @COMMIT_FULL@
%if 0%{?rhel_version}
BuildRequires: kernel
++++++ kernel-source.spec.in ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.276975397 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.280975253 +0200
@@ -43,6 +43,7 @@
BuildRequires: sed
Requires(post): coreutils sed
Provides: %name = %version-%source_rel
+Provides: %name-srchash = @COMMIT_FULL@
Provides: linux
Provides: multiversion(kernel)
Source0: @TARBALL_URL@linux-%srcversion.tar.xz
@@ -93,6 +94,8 @@
Source72: compress-vmlinux.sh
Source73: dtb.spec.in.in
Source74: mkspec-dtb
+Source75: release-projects
+Source76: check-module-license
Source100: config.tar.bz2
Source101: config.addon.tar.bz2
Source102: patches.arch.tar.bz2
@@ -111,7 +114,7 @@
BuildArch: noarch
Prefix: /usr/src
# Source is only complete with devel files.
-Requires: kernel-devel%variant = %version-%release
+Requires: kernel-devel%variant = %version-%source_rel
Recommends: openssl-devel
%(chmod +x %_sourcedir/{@SCRIPTS@})
++++++ kernel-syms.spec.in ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.324973664 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.324973664 +0200
@@ -41,6 +41,7 @@
@REQUIRES@
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
+Provides: %name-srchash = @COMMIT_FULL@
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
++++++ linux-4.15.tar.xz -> linux-4.16.tar.xz ++++++
/work/SRC/openSUSE:Factory/kernel-source/linux-4.15.tar.xz /work/SRC/openSUSE:Factory/.kernel-source.new/linux-4.16.tar.xz differ: char 15, line 1
++++++ mkspec ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.420970197 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.420970197 +0200
@@ -75,6 +75,7 @@
}
my $commit = get_commit();
+my $commit_full = get_commit(1);
my %macros = (
VARIANT => $variant,
@@ -85,6 +86,7 @@
TARBALL_URL => $tarball_url,
RELEASE => $rpmrelease,
COMMIT => $commit,
+ COMMIT_FULL => $commit_full,
SOURCES => $sources,
NOSOURCE => $nosource,
UNPACK_PATCHES => $unpack_patches,
@@ -151,11 +153,11 @@
# kernel-docs.spec
do_spec('docs', "kernel-docs$variant.spec", %macros);
+ my $all_archs;
# kernel-syms.spec
{
my $requires = "";
my %all_archs;
- my $all_archs;
for my $flavor (sort keys(%syms_flavor_archs)) {
next if $flavor eq "vanilla";
my @archs = arch2rpm(@{$syms_flavor_archs{$flavor}});
@@ -194,8 +196,8 @@
# dtb-*.spec
if (!$variant) {
do_spec('dtb', "dtb.spec.in", %macros);
- print "./mkspec-dtb\n";
- system("./mkspec-dtb\n");
+ print "./mkspec-dtb $all_archs\n";
+ system("./mkspec-dtb $all_archs\n");
unlink("$dir/dtb.spec.in");
if ($?) {
exit(($? >> 8) || ($? & 127 + 128) || 1);
@@ -456,7 +458,9 @@
}
sub get_commit {
- my ($commit, $fh);
+ my ($commit, $fh, $full);
+
+ $full = $_[0] // 0;
if (!open($fh, '<', "source-timestamp")) {
print STDERR "warning: source-timestamp: $!\n";
@@ -464,7 +468,7 @@
return "0000000";
}
while (<$fh>) {
- if (/^GIT Revision: ([0-9a-f]{7})/) {
+ if ($full ? /^GIT Revision: ([0-9a-f]{40})/ : /^GIT Revision: ([0-9a-f]{7})/) {
$commit = $1;
}
}
++++++ mkspec-dtb ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.444969331 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.448969186 +0200
@@ -186,7 +186,12 @@
close(TEMPLATE);
close(SPEC);
}
-
+if ( grep( /armv7/, @ARGV)) {
generate_spec('dtb-armv7l', "armv7l armv7hl", \@armv7l_package_list);
+}
+if ( grep( /armv6/, @ARGV)) {
generate_spec('dtb-armv6l', "armv6l armv6hl", \@armv6l_package_list);
+}
+if ( grep( /aarch64/, @ARGV)) {
generate_spec('dtb-aarch64', "aarch64", \@aarch64_package_list);
+}
++++++ package-descriptions ++++++
--- /var/tmp/diff_new_pack.ZEVjkb/_old 2018-04-06 17:45:10.504967164 +0200
+++ /var/tmp/diff_new_pack.ZEVjkb/_new 2018-04-06 17:45:10.508967020 +0200
@@ -22,6 +22,18 @@
The standard kernel for both uniprocessor and multiprocessor systems.
+=== kernel-kvmsmall ===
+The Small Developer Kernel for KVM
+
+This kernel is intended for kernel developers to use in simple virtual
+machines. It contains only the device drivers necessary to use a
+KVM virtual machine *without* device passthrough enabled. Common
+local and network file systems are enabled. All device mapper targets
+are enabled. Only the network and graphics drivers for devices that qemu
+emulates are enabled. Many subsystems enabled in the default kernel
+are entirely disabled. This kernel is meant to be small and to build
+very quickly. The configuration may change arbitrarily between builds.
+
=== kernel-pae ===
Kernel with PAE Support
++++++ patches.kernel.org.tar.bz2 ++++++
++++ 103528 lines of diff (skipped)
++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch new/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch
--- old/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch 2018-03-19 14:10:36.000000000 +0100
+++ new/patches.suse/0001-x86-speculation-Add-basic-IBRS-support-infrastructur.patch 2018-04-04 15:34:30.000000000 +0200
@@ -27,8 +27,8 @@
arch/x86/include/asm/nospec-branch.h | 2 -
arch/x86/kernel/cpu/bugs.c | 35 ++++++++++++++++++------
arch/x86/lib/Makefile | 2 -
- arch/x86/lib/retpoline.S | 5 +++
- 6 files changed, 35 insertions(+), 11 deletions(-)
+ arch/x86/lib/retpoline.S | 4 ++
+ 6 files changed, 34 insertions(+), 11 deletions(-)
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -42,7 +42,7 @@
spectre_v2=auto.
--- a/arch/x86/include/asm/cpufeatures.h
+++ b/arch/x86/include/asm/cpufeatures.h
-@@ -212,6 +212,7 @@
+@@ -211,6 +211,7 @@
#define X86_FEATURE_USE_IBPB ( 7*32+21) /* "" Indirect Branch Prediction Barrier enabled */
#define X86_FEATURE_USE_IBRS_FW ( 7*32+22) /* "" Use IBRS during runtime firmware calls */
@@ -52,7 +52,7 @@
#define X86_FEATURE_TPR_SHADOW ( 8*32+ 0) /* Intel TPR Shadow */
--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
-@@ -225,7 +225,6 @@ extern char __indirect_thunk_end[];
+@@ -155,17 +155,15 @@ extern char __indirect_thunk_end[];
*/
static inline void vmexit_fill_RSB(void)
{
@@ -60,7 +60,9 @@
unsigned long loops;
asm volatile (ANNOTATE_NOSPEC_ALTERNATIVE
-@@ -235,7 +234,6 @@ static inline void vmexit_fill_RSB(void)
+ ALTERNATIVE("jmp 910f",
+ __stringify(__FILL_RETURN_BUFFER(%0, RSB_CLEAR_LOOPS, %1)),
+ X86_FEATURE_RETPOLINE)
"910:"
: "=r" (loops), ASM_CALL_CONSTRAINT
: : "memory" );
@@ -165,9 +167,9 @@
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -26,7 +26,7 @@ lib-y += memcpy_$(BITS).o
- lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o
lib-$(CONFIG_INSTRUCTION_DECODER) += insn.o inat.o insn-eval.o
lib-$(CONFIG_RANDOMIZE_BASE) += kaslr.o
+ lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
-lib-$(CONFIG_RETPOLINE) += retpoline.o
+lib-y += retpoline.o
@@ -175,7 +177,7 @@
--- a/arch/x86/lib/retpoline.S
+++ b/arch/x86/lib/retpoline.S
-@@ -8,6 +8,8 @@
+@@ -9,6 +9,8 @@
#include