Accepting request 115740 from Kernel:HEAD
- dl2k: Tighten ioctl permissions (bnc#758813). - commit 8d00242 - Update to 3.4-rc4. - commit 37113a8 - Update config files: Merged omap2plus changes. - commit f0e2149 - Update Xen patches to 3.4-rc3 and c/s 1172. - config.conf: Re-enabled Xen configs. - Update config files. - commit 9f943f6 - Update to 3.4-rc3. - Eliminated 1 patch. - commit 2fde7e0 - Drivers: scsi: storvsc: Account for in-transit packets in the RESET path. - commit 4c1e258 - Update to 3.4-rc2. - commit 976094f - Update AppArmor for 3.4. - apparmor: Add "profiles" list to sysfs. - commit 59517ac - Update richacl patchset for 3.4. OBS-URL: https://build.opensuse.org/request/show/115740 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-source?expand=0&rev=167
This commit is contained in:
commit
fc188e9a45
10
config.conf
10
config.conf
@ -41,11 +41,11 @@
|
||||
+ppc ppc/vanilla
|
||||
|
||||
# ARM architectures
|
||||
+armv7l armv7l/default
|
||||
+armv7l armv7l/imx51
|
||||
+armv7l armv7l/omap2plus
|
||||
+armv7l armv7l/tegra
|
||||
+armv7l armv7l/u8500
|
||||
#+armv7l armv7l/default
|
||||
#+armv7l armv7l/imx51
|
||||
#+armv7l armv7l/omap2plus
|
||||
#+armv7l armv7l/tegra
|
||||
#+armv7l armv7l/u8500
|
||||
|
||||
# SLES
|
||||
# identical to ppc64 flavor, all KMP packages need a kernel-default
|
||||
|
@ -1,5 +1,5 @@
|
||||
# The version of the main tarball to use
|
||||
SRCVERSION=3.3
|
||||
SRCVERSION=3.4-rc4
|
||||
# variant of the kernel-source package, either empty or "-rt"
|
||||
VARIANT=
|
||||
# buildservice projects to build the kernel against
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c4e79de1a10a59308321f0d596260c71b6a6493978e4057bb4be71dbfe5c78c
|
||||
size 288752
|
||||
oid sha256:2a14569cdb6d814154c2b259ec227cb07167811ebc163d2ca29b32cd41b7b2e5
|
||||
size 234453
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-debug
|
||||
Summary: A Debug Version of the Kernel
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -136,7 +136,7 @@ Provides: kernel-kdump
|
||||
Obsoletes: kernel-kdump
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-default
|
||||
Summary: The Standard Kernel
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -152,7 +152,7 @@ Provides: smp kernel-smp
|
||||
Obsoletes: smp kernel-smp
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
@ -212,7 +212,7 @@ Source113: patches.kabi.tar.bz2
|
||||
Source120: kabi.tar.bz2
|
||||
Source121: sysctl.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: armv7l %ix86 ia64 ppc ppc64 s390x x86_64
|
||||
ExclusiveArch: %ix86 ia64 ppc ppc64 s390x x86_64
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-desktop
|
||||
Summary: Kernel optimized for the desktop
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -133,7 +133,7 @@ Conflicts: libc.so.6()(64bit)
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,14 +17,14 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define patchversion 3.3.0
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
Name: kernel-docs
|
||||
Summary: Kernel Documentation
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel
|
||||
BuildRequires: kernel-source%variant
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-ec2
|
||||
Summary: The Amazon EC2 Xen Kernel
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -133,7 +133,7 @@ Conflicts: libc.so.6()(64bit)
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
25320
kernel-imx51.changes
25320
kernel-imx51.changes
File diff suppressed because it is too large
Load Diff
@ -1,942 +0,0 @@
|
||||
#
|
||||
# spec file for package kernel-imx51
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define build_flavor imx51
|
||||
%define build_default (%build_flavor == "default")
|
||||
%define build_kdump (%build_flavor == "kdump")
|
||||
%define build_xen (%build_flavor == "xen" || %build_flavor == "ec2")
|
||||
%define build_vanilla (%build_flavor == "vanilla")
|
||||
%define build_ps3 (%build_flavor == "ps3")
|
||||
|
||||
%define build_src_dir %my_builddir/linux-%srcversion
|
||||
%define src_install_dir /usr/src/linux-%kernelrelease%variant
|
||||
%define obj_install_dir %src_install_dir-obj
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
|
||||
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
|
||||
# defining them all at once.)
|
||||
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT
|
||||
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
|
||||
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
|
||||
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define install_vdso 1
|
||||
%else
|
||||
%define install_vdso 0
|
||||
%endif
|
||||
|
||||
Name: kernel-imx51
|
||||
Summary: Kernel for Freescale's iMX SoC
|
||||
Version: 3.3.0
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
BuildRequires: coreutils module-init-tools sparse
|
||||
BuildRequires: fdupes
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %{name}_%_target_cpu = %version-%release
|
||||
Provides: %name = %version-%source_rel
|
||||
%if %split_base
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
# Obsolete the -base subpackage from 11.1 and 11.2 development phase
|
||||
Obsoletes: %name-base <= 2.6.31
|
||||
%endif
|
||||
Requires(pre): coreutils awk
|
||||
# Need a module-init-tools with /usr/lib/module-init-tools/weak-modules2
|
||||
Requires(post): module-init-tools >= 3.4
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for mkinitrd.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): mkinitrd
|
||||
# Do not install p-b and mkinitrd for the install check, the %post script is
|
||||
# able to handle this
|
||||
#!BuildIgnore: perl-Bootloader mkinitrd
|
||||
# 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 fillup insserv
|
||||
|
||||
%ifarch ia64
|
||||
# arch/ia64/scripts/unwcheck.py
|
||||
BuildRequires: python
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
%if %build_vanilla && 0%{?suse_version} < 1130
|
||||
BuildRequires: dwarfextract
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
%ifarch %ix86
|
||||
%if %build_flavor != "ec2"
|
||||
Provides: kernel-xenpae = %version
|
||||
Obsoletes: kernel-xenpae < %version
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Provides: %name-nongpl = %version
|
||||
Obsoletes: %name-nongpl < %version
|
||||
%if %build_vanilla
|
||||
# force bzip2 instead of lzma compression to allow install on older dist versions
|
||||
%define _binary_payload w9.bzdio
|
||||
%endif
|
||||
# dead network if installed on SLES10, otherwise it will work (mostly)
|
||||
Conflicts: sysfsutils < 2.0
|
||||
%if ! %build_vanilla
|
||||
Conflicts: apparmor-profiles <= 2.1
|
||||
Conflicts: apparmor-parser < 2.3
|
||||
# root-lvm only works with newer udevs
|
||||
Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
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
|
||||
Source34: check-supported-list
|
||||
Source35: group-source-files.pl
|
||||
Source37: README.SUSE
|
||||
Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: split-modules
|
||||
Source46: 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
|
||||
Source60: config.sh
|
||||
Source61: compute-PATCHVERSION.sh
|
||||
Source62: old-packages.conf
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
Source66: configtool.pl
|
||||
Source67: log.sh
|
||||
Source68: host-memcpy-hack.h
|
||||
Source69: try-disable-staging-driver
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: armv7l
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
NoSource: 103
|
||||
NoSource: 104
|
||||
NoSource: 105
|
||||
NoSource: 106
|
||||
NoSource: 107
|
||||
NoSource: 108
|
||||
NoSource: 109
|
||||
NoSource: 110
|
||||
NoSource: 111
|
||||
NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
# sles10 / 10.3
|
||||
Obsoletes: iwlwifi-kmp-%build_flavor < %version
|
||||
Provides: iwlwifi-kmp-%build_flavor = %version
|
||||
Obsoletes: ipw3945-kmp-%build_flavor < %version
|
||||
Provides: ipw3945-kmp-%build_flavor = %version
|
||||
# sles10 / 11.0
|
||||
Obsoletes: uvcvideo-kmp-%build_flavor < %version
|
||||
Provides: uvcvideo-kmp-%build_flavor = %version
|
||||
# 11.0
|
||||
Obsoletes: atl2-kmp-%build_flavor < %version
|
||||
Provides: atl2-kmp-%build_flavor = %version
|
||||
Obsoletes: at76_usb-kmp-%build_flavor < %version
|
||||
Provides: at76_usb-kmp-%build_flavor = %version
|
||||
Obsoletes: btusb-kmp-%build_flavor < %version
|
||||
Provides: btusb-kmp-%build_flavor = %version
|
||||
Obsoletes: et131x-kmp-%build_flavor < %version
|
||||
Provides: et131x-kmp-%build_flavor = %version
|
||||
Obsoletes: ivtv-kmp-%build_flavor < %version
|
||||
Provides: ivtv-kmp-%build_flavor = %version
|
||||
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
|
||||
Provides: pcc-acpi-kmp-%build_flavor = %version
|
||||
Obsoletes: wlan-ng-kmp-%build_flavor < %version
|
||||
Provides: wlan-ng-kmp-%build_flavor = %version
|
||||
# sle11-ga
|
||||
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
|
||||
Provides: brocade-bfa-kmp-%build_flavor = %version
|
||||
Obsoletes: enic-kmp-%build_flavor < %version
|
||||
Provides: enic-kmp-%build_flavor = %version
|
||||
Obsoletes: fnic-kmp-%build_flavor < %version
|
||||
Provides: fnic-kmp-%build_flavor = %version
|
||||
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
|
||||
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
|
||||
Obsoletes: kvm-kmp-%build_flavor < %version
|
||||
Provides: kvm-kmp-%build_flavor = %version
|
||||
Obsoletes: msi-wmi-kmp-%build_flavor < %version
|
||||
Provides: msi-wmi-kmp-%build_flavor = %version
|
||||
Obsoletes: perfmon-kmp-%build_flavor < %version
|
||||
Provides: perfmon-kmp-%build_flavor = %version
|
||||
# sle11
|
||||
Obsoletes: ocfs2-kmp-%build_flavor < %version
|
||||
Provides: ocfs2-kmp-%build_flavor = %version
|
||||
# 11.1
|
||||
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
|
||||
Provides: quickcam-kmp-%build_flavor = 0.6.7
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
%description
|
||||
The standard kernel for Freescale's i.MX51 SoC, as found in
|
||||
devices like the Genesi EfikaMX family.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%prep
|
||||
if ! [ -e %_sourcedir/linux-%srcversion.tar.bz2 ]; then
|
||||
echo "The %name-%version.nosrc.rpm package does not contain the" \
|
||||
"complete sources. Please install kernel-source-%version.src.rpm."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SYMBOLS=
|
||||
if test -e %_sourcedir/extra-symbols; then
|
||||
SYMBOLS=$(cat %_sourcedir/extra-symbols)
|
||||
echo "extra symbol(s):" $SYMBOLS
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
mkdir -p %kernel_build_dir
|
||||
|
||||
supported_conf() {
|
||||
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u
|
||||
}
|
||||
|
||||
# Generate the list of modules to be marked as supported
|
||||
{ supported_conf base
|
||||
supported_conf --default=0 external | sed 's/$/ external/'
|
||||
} > %kernel_build_dir/Module.supported
|
||||
supported_conf --default=0 base >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
%_sourcedir/apply-patches \
|
||||
%if %{build_vanilla}
|
||||
--vanilla \
|
||||
%endif
|
||||
%_sourcedir/series.conf .. $SYMBOLS
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
# Override the timestamp 'uname -v' reports with the source timestamp and
|
||||
# the commit hash.
|
||||
date=$(head -n 1 %_sourcedir/source-timestamp)
|
||||
commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp)
|
||||
cat > .kernel-binary.spec.buildenv <<EOF
|
||||
export KBUILD_BUILD_TIMESTAMP="$(LANG=C date -d "$date") (${commit:0:7})"
|
||||
export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_OVERRIDE=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
if test -e ../config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
%_sourcedir/configtool.pl ../config{,.addon}/%cpu_arch_flavor >.config
|
||||
else
|
||||
cp ../config/%cpu_arch_flavor .config
|
||||
fi
|
||||
%build_src_dir/scripts/config \
|
||||
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \
|
||||
--enable CONFIG_SUSE_KERNEL \
|
||||
%if 0%{?__debug_package:1}
|
||||
--enable CONFIG_DEBUG_INFO \
|
||||
--disable CONFIG_DEBUG_INFO_REDUCED
|
||||
%else
|
||||
--disable CONFIG_DEBUG_INFO
|
||||
%endif
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS -C %build_src_dir O=$PWD"
|
||||
if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then
|
||||
yes '' | make oldconfig $MAKE_ARGS
|
||||
else
|
||||
cp .config .config.orig
|
||||
make silentoldconfig $MAKE_ARGS < /dev/null
|
||||
%_sourcedir/check-for-config-changes .config.orig .config
|
||||
rm .config.orig
|
||||
fi
|
||||
|
||||
make prepare $MAKE_ARGS
|
||||
make scripts $MAKE_ARGS
|
||||
krel=$(make -s kernelrelease $MAKE_ARGS)
|
||||
|
||||
if [ "$krel" != "%kernelrelease-%build_flavor" ]; then
|
||||
echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
# create *.symref files in the tree
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# The %{_smp_mflags} macro is defined to a number, make will spawn that many jobs.
|
||||
# There are several ways how to define it:
|
||||
# If you are using the build script:
|
||||
# build --jobs=N kernel-$flavor.spec
|
||||
# With plain rpmbuild:
|
||||
# rpmbuild -ba --define 'jobs N' kernel-$flavor.spec
|
||||
# To spawn as many jobs as there are cpu cores:
|
||||
# rpmbuild -ba --define "%_smp_mflags -j 0$(grep -Ec 'cpu[0-9]' /proc/stat)" \
|
||||
# kernel-$flavor.spec
|
||||
# You can also set this permanently in ~/.rpmmacros:
|
||||
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
chmod +x ../linux-%srcversion/scripts/kmsg-doc
|
||||
MAKE_ARGS="$MAKE_ARGS D=2"
|
||||
%endif
|
||||
|
||||
while true; do
|
||||
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \
|
||||
| tee buildlog
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver buildlog; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export STRIP_KEEP_SYMTAB='*/vmlinux-*'
|
||||
|
||||
# /lib/modules/%kernelrelease-%build_flavor/build will be a stale symlink until the
|
||||
# kernel-devel package is installed. Don't check for stale symlinks
|
||||
# in the brp-symlink check:
|
||||
export NO_BRP_STALE_LINK_ERROR=yes
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
mkdir -p %buildroot/boot
|
||||
# (Could strip out non-public symbols.)
|
||||
cp -p System.map %buildroot/boot/System.map-%kernelrelease-%build_flavor
|
||||
|
||||
add_vmlinux()
|
||||
{
|
||||
local vmlinux=boot/vmlinux-%kernelrelease-%build_flavor compressed=false
|
||||
|
||||
if test $1 == "--compressed"; then
|
||||
compressed=true
|
||||
fi
|
||||
cp vmlinux %buildroot/$vmlinux
|
||||
>%my_builddir/vmlinux.debug.files
|
||||
%if 0%{?__debug_package:1}
|
||||
if $compressed; then
|
||||
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
|
||||
mkdir -p $(dirname %buildroot/$vmlinux_debug)
|
||||
/usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug \
|
||||
-l vmlinux.sourcefiles %buildroot/$vmlinux
|
||||
# FIXME: create and package build-id symlinks
|
||||
objcopy --only-keep-debug \
|
||||
%buildroot/$vmlinux \
|
||||
%buildroot/$vmlinux_debug || :
|
||||
objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \
|
||||
--strip-debug \
|
||||
%buildroot/$vmlinux || :
|
||||
mkdir -p %buildroot/usr/src/debug
|
||||
LANG=C sort -z -u vmlinux.sourcefiles | grep -Ezv "<(built-in|stdin)>" \
|
||||
| ( cd %_builddir && cpio -pd0m %buildroot/usr/src/debug )
|
||||
find %buildroot/usr/src/debug -type d -print0 | xargs -0 -r chmod 0755
|
||||
find %buildroot/usr/src/debug -type f -print0 | xargs -0 -r chmod 0644
|
||||
echo -e "%%defattr(-, root, root)\\n/$vmlinux_debug" >%my_builddir/vmlinux.debug.files
|
||||
else
|
||||
# make vmlinux executable so that find-debuginfo.sh picks it up
|
||||
# (TODO: fix find-debuginfo.sh instead)
|
||||
chmod +x %buildroot/$vmlinux
|
||||
fi
|
||||
%endif
|
||||
if $compressed; then
|
||||
gzip -n -9 %buildroot/$vmlinux
|
||||
chmod a-x %buildroot/$vmlinux.gz
|
||||
fi
|
||||
}
|
||||
|
||||
%if %build_kdump
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%else
|
||||
|
||||
# architecture specifics
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
%if %build_xen
|
||||
image=vmlinuz
|
||||
%else
|
||||
image=bzImage
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch alpha
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/alpha/boot/vmlinux.gz %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch ppc ppc64
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch ia64
|
||||
add_vmlinux --compressed
|
||||
mv %buildroot/boot/vmlinux-%kernelrelease-%build_flavor.gz \
|
||||
%buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/s390/boot/image %buildroot/boot/image-%kernelrelease-%build_flavor
|
||||
image=image
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
cp -p arch/s390/boot/kerntypes.o %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)"; then
|
||||
dwarfextract vmlinux %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
mkdir -p %buildroot/usr/share/man/man9
|
||||
find man -name '*.9' -exec install -m 644 -D '{}' %buildroot/usr/share/man/man9/ ';'
|
||||
%endif
|
||||
%endif
|
||||
%ifarch sparc64
|
||||
add_vmlinux --compressed
|
||||
image=zImage
|
||||
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch %arm
|
||||
add_vmlinux --compressed
|
||||
# quickly compile uImage so we have something to boot from
|
||||
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||
image=uImage
|
||||
cp -p arch/arm/boot/$image %buildroot/boot/uImage-%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
# end of build_kdump
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_kdump || %build_xen || %build_vanilla || %build_ps3
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
ln -s $image$suffix %buildroot/boot/$image$suffix
|
||||
ln -s initrd$suffix %buildroot/boot/initrd$suffix
|
||||
|
||||
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
|
||||
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
|
||||
for file in %my_builddir/sysctl/{defaults,%cpu_arch/arch-defaults,%cpu_arch_flavor}; do
|
||||
if [ -f "$file" ]; then
|
||||
cat "$file"
|
||||
fi
|
||||
done | sed '1i # Generated file - do not edit.' >$sysctl_file
|
||||
if [ ! -s $sysctl_file ]; then
|
||||
rm $sysctl_file
|
||||
fi
|
||||
|
||||
%if %install_vdso
|
||||
# Install the unstripped vdso's that are linked in the kernel image
|
||||
make vdso_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
%endif
|
||||
|
||||
# Create a dummy initrd with roughly the size the real one will have.
|
||||
# That way, YaST will know that this package requires some additional
|
||||
# space in /boot.
|
||||
dd if=/dev/zero of=%buildroot/boot/initrd-%kernelrelease-%build_flavor \
|
||||
bs=1024 seek=2047 count=1
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
mkdir -p %rpm_install_dir/%cpu_arch_flavor
|
||||
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
|
||||
ln -s %build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
|
||||
|
||||
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz
|
||||
|
||||
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
|
||||
if ! %_sourcedir/check-supported-list \
|
||||
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
|
||||
%if %supported_modules_check
|
||||
exit 1
|
||||
%endif
|
||||
echo "Consistency check error: please update supported.conf."
|
||||
fi
|
||||
|
||||
%ifarch s390 s390x
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
:
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)" -a \
|
||||
-f %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor; then
|
||||
find %buildroot -name "*.ko" > kofiles.list
|
||||
dwarfextract %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor -C kofiles.list || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%endif
|
||||
|
||||
# Also put the resulting file in %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
# so that kernel-devel + kernel-%build_flavor is sufficient for building
|
||||
# modules that have modversions as well.
|
||||
mkdir -p %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
cp Module.symvers %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
|
||||
# Table of types used in exported symbols (for modversion debugging).
|
||||
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
|
||||
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
else
|
||||
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
fi
|
||||
|
||||
# Some architecture's $(uname -m) output is different from the ARCH
|
||||
# parameter that needs to be passed to kbuild. Create symlinks from
|
||||
# $(uname -m) to the ARCH directory.
|
||||
if [ ! -e %rpm_install_dir/%kmp_target_cpu ]; then
|
||||
ln -sf %cpu_arch %rpm_install_dir/%kmp_target_cpu
|
||||
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%kmp_target_cpu
|
||||
fi
|
||||
|
||||
# We were building in %my_builddir/linux-%srcversion, but the sources will
|
||||
# later be installed in /usr/src/linux-%srcversion-%source_rel. Fix up the
|
||||
# build symlink.
|
||||
rm -f %buildroot/lib/modules/%kernelrelease-%build_flavor/{source,build}
|
||||
ln -s %src_install_dir \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/source
|
||||
ln -s %obj_install_dir/%cpu_arch/%build_flavor \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/build
|
||||
|
||||
# Abort if there are any undefined symbols
|
||||
msg="$(/sbin/depmod -F %buildroot/boot/System.map-%kernelrelease-%build_flavor \
|
||||
-b %buildroot -ae %kernelrelease-%build_flavor 2>&1)"
|
||||
if [ $? -ne 0 ] || echo "$msg" | grep 'needs unknown symbol'; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if ! %supported_modules_check
|
||||
-i \
|
||||
%endif
|
||||
-s %kernel_build_dir/Module.supported
|
||||
%if ! %split_extra
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
|
||||
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
|
||||
Module.symvers || res=$?
|
||||
fi
|
||||
if [ $res -ne 0 ]; then
|
||||
if [ ! -e %my_builddir/kabi/%cpu_arch/ignore-%build_flavor -a \
|
||||
! -e %_sourcedir/IGNORE-KABI-BADNESS ]; then
|
||||
echo "Create a file IGNORE-KABI-BADNESS in the kernel-source" \
|
||||
"directory to build this kernel even though its badness is" \
|
||||
"higher than allowed for an official kernel."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# arch/powerpc/lib/crtsavres.o is required for building external
|
||||
# modules on powerpc
|
||||
if [ -f %kernel_build_dir/arch/powerpc/lib/crtsavres.o ]; then
|
||||
echo arch/powerpc/lib/crtsavres.o >> %my_builddir/obj-files
|
||||
fi
|
||||
|
||||
tar -cf - -T %my_builddir/obj-files | \
|
||||
tar -xf - -C %rpm_install_dir/%cpu_arch_flavor
|
||||
# bnc#507084
|
||||
find %rpm_install_dir/%cpu_arch_flavor/scripts -type f -perm -111 | \
|
||||
while read f; do
|
||||
case "$(file -b "$f")" in
|
||||
ELF\ *\ executable*)
|
||||
strip "$f"
|
||||
esac
|
||||
done
|
||||
# Replace the absolute with a relative path
|
||||
sed -i "s,%build_src_dir,../../../linux-%kernelrelease%variant,g" \
|
||||
%rpm_install_dir/%cpu_arch_flavor/Makefile
|
||||
fi
|
||||
|
||||
add_dirs_to_filelist() {
|
||||
sed -rn '
|
||||
# print file name
|
||||
p
|
||||
# remove filelist macros
|
||||
s:%%[a-z]+(\([^)]+\))? ?::g
|
||||
# add %%dir prefix
|
||||
s:^:%%dir :
|
||||
# print all parents
|
||||
:a
|
||||
# skip directories owned by other packages
|
||||
s:^%%dir (/boot|/etc|/lib/(modules|firmware)|/usr/src)/[^/]+$::
|
||||
s:/[^/]+$::p
|
||||
ta
|
||||
' "$@" | sort -u
|
||||
}
|
||||
|
||||
# Collect the file lists.
|
||||
shopt -s nullglob
|
||||
> %my_builddir/kernel-devel.files
|
||||
for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
|
||||
f=${file##%buildroot}
|
||||
echo "$f" >> %my_builddir/kernel-devel.files
|
||||
done
|
||||
|
||||
{ cd %buildroot
|
||||
find boot \
|
||||
\( -type l -o -name 'initrd-*' \) -printf '%%%%ghost /%%p\n' -o \
|
||||
-type f -name 'vmlinux-*' -printf '%%%%attr(0644, root, root) /%%p\n' -o \
|
||||
-type f -printf '/%%p\n'
|
||||
|
||||
# Add the auto-generated (by mkdumprd) kdump initrd to %ghost so that
|
||||
# the file gets removed when uninstalling the kernel.
|
||||
echo '%%ghost /boot/initrd-%kernelrelease-kdump'
|
||||
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-kdump
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
find lib/modules/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
\( -path '*/modules.*' ! -path '*/modules.order' \
|
||||
! -path '*/modules.builtin' \) -printf '%%%%ghost /%%p\n' \
|
||||
-o -name '*.ko' -prune -o -printf '/%%p\n'
|
||||
cat %my_builddir/base-modules
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u >%my_builddir/tmp
|
||||
cat %my_builddir/tmp %my_builddir/kernel-devel.files | sort | uniq -u | \
|
||||
add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
rm %my_builddir/tmp
|
||||
|
||||
%if %split_base
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
# /usr/src/linux-obj intentionally, to not accidentally break timestamps there
|
||||
%fdupes $RPM_BUILD_ROOT/lib
|
||||
|
||||
%preun -f preun.sh
|
||||
|
||||
%postun -f postun.sh
|
||||
|
||||
%pre -f pre.sh
|
||||
|
||||
%post -f post.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files -f kernel-main.files
|
||||
%defattr(-, root, root)
|
||||
%else
|
||||
|
||||
%files -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package base
|
||||
Summary: Kernel for Freescale's iMX SoC - base modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
Conflicts: %name = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
The standard kernel for Freescale's i.MX51 SoC, as found in
|
||||
devices like the Genesi EfikaMX family.
|
||||
|
||||
This package contains only the base modules, required in all installs.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun base -f preun-base.sh
|
||||
|
||||
%postun base -f postun-base.sh
|
||||
|
||||
%pre base -f pre-base.sh
|
||||
|
||||
%post base -f post-base.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files base -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package extra
|
||||
Summary: Kernel for Freescale's iMX SoC - Unsupported kernel modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-extra_%_target_cpu = %version-%release
|
||||
Provides: kernel-extra = %version-%source_rel
|
||||
Requires: %{name}_%_target_cpu = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
The standard kernel for Freescale's i.MX51 SoC, as found in
|
||||
devices like the Genesi EfikaMX family.
|
||||
|
||||
This package contains additional modules not supported by Novell.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun extra -f preun-extra.sh
|
||||
|
||||
%postun extra -f postun-extra.sh
|
||||
|
||||
%pre extra -f pre-extra.sh
|
||||
|
||||
%post extra -f post-extra.sh
|
||||
|
||||
%if %split_extra
|
||||
|
||||
%files extra -f kernel-extra.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
This package includes the man pages that have been generated from the
|
||||
kmsg message documentation comments.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files man
|
||||
%defattr(-,root,root)
|
||||
/usr/share/man/man9/*
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files necessary for building kernel modules
|
||||
Group: Development/Sources
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-devel = %version-%source_rel
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
|
||||
%description devel
|
||||
This package contains files necessary for building kernel modules (and
|
||||
kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%if %CONFIG_MODULES == "y"
|
||||
|
||||
%pre devel -f devel-pre.sh
|
||||
|
||||
%post devel -f devel-post.sh
|
||||
|
||||
%files devel -f kernel-devel.files
|
||||
%defattr(-,root,root)
|
||||
%dir %obj_install_dir
|
||||
%dir %obj_install_dir/%cpu_arch
|
||||
%dir /usr/src/linux-obj
|
||||
%dir /usr/src/linux-obj/%cpu_arch
|
||||
%ghost /usr/src/linux-obj/%cpu_arch_flavor
|
||||
%obj_install_dir/%cpu_arch_flavor
|
||||
%if %kmp_target_cpu != %cpu_arch
|
||||
%obj_install_dir/%kmp_target_cpu
|
||||
/usr/src/linux-obj/%kmp_target_cpu
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%package devel-debuginfo
|
||||
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
|
||||
Summary: Debug information for package %name-devel
|
||||
Group: Development/Debug
|
||||
|
||||
%description devel-debuginfo
|
||||
Debug information for package %name-devel
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files devel-debuginfo -f vmlinux.debug.files
|
||||
|
||||
%changelog
|
25320
kernel-omap2plus.changes
25320
kernel-omap2plus.changes
File diff suppressed because it is too large
Load Diff
@ -1,942 +0,0 @@
|
||||
#
|
||||
# spec file for package kernel-omap2plus
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define build_flavor omap2plus
|
||||
%define build_default (%build_flavor == "default")
|
||||
%define build_kdump (%build_flavor == "kdump")
|
||||
%define build_xen (%build_flavor == "xen" || %build_flavor == "ec2")
|
||||
%define build_vanilla (%build_flavor == "vanilla")
|
||||
%define build_ps3 (%build_flavor == "ps3")
|
||||
|
||||
%define build_src_dir %my_builddir/linux-%srcversion
|
||||
%define src_install_dir /usr/src/linux-%kernelrelease%variant
|
||||
%define obj_install_dir %src_install_dir-obj
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
|
||||
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
|
||||
# defining them all at once.)
|
||||
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT
|
||||
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
|
||||
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
|
||||
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define install_vdso 1
|
||||
%else
|
||||
%define install_vdso 0
|
||||
%endif
|
||||
|
||||
Name: kernel-omap2plus
|
||||
Summary: Kernel for Texas instrument's OMAP SoC
|
||||
Version: 3.3.0
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
BuildRequires: coreutils module-init-tools sparse
|
||||
BuildRequires: fdupes
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %{name}_%_target_cpu = %version-%release
|
||||
Provides: %name = %version-%source_rel
|
||||
%if %split_base
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
# Obsolete the -base subpackage from 11.1 and 11.2 development phase
|
||||
Obsoletes: %name-base <= 2.6.31
|
||||
%endif
|
||||
Requires(pre): coreutils awk
|
||||
# Need a module-init-tools with /usr/lib/module-init-tools/weak-modules2
|
||||
Requires(post): module-init-tools >= 3.4
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for mkinitrd.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): mkinitrd
|
||||
# Do not install p-b and mkinitrd for the install check, the %post script is
|
||||
# able to handle this
|
||||
#!BuildIgnore: perl-Bootloader mkinitrd
|
||||
# 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 fillup insserv
|
||||
|
||||
%ifarch ia64
|
||||
# arch/ia64/scripts/unwcheck.py
|
||||
BuildRequires: python
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
%if %build_vanilla && 0%{?suse_version} < 1130
|
||||
BuildRequires: dwarfextract
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
%ifarch %ix86
|
||||
%if %build_flavor != "ec2"
|
||||
Provides: kernel-xenpae = %version
|
||||
Obsoletes: kernel-xenpae < %version
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Provides: %name-nongpl = %version
|
||||
Obsoletes: %name-nongpl < %version
|
||||
%if %build_vanilla
|
||||
# force bzip2 instead of lzma compression to allow install on older dist versions
|
||||
%define _binary_payload w9.bzdio
|
||||
%endif
|
||||
# dead network if installed on SLES10, otherwise it will work (mostly)
|
||||
Conflicts: sysfsutils < 2.0
|
||||
%if ! %build_vanilla
|
||||
Conflicts: apparmor-profiles <= 2.1
|
||||
Conflicts: apparmor-parser < 2.3
|
||||
# root-lvm only works with newer udevs
|
||||
Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
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
|
||||
Source34: check-supported-list
|
||||
Source35: group-source-files.pl
|
||||
Source37: README.SUSE
|
||||
Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: split-modules
|
||||
Source46: 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
|
||||
Source60: config.sh
|
||||
Source61: compute-PATCHVERSION.sh
|
||||
Source62: old-packages.conf
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
Source66: configtool.pl
|
||||
Source67: log.sh
|
||||
Source68: host-memcpy-hack.h
|
||||
Source69: try-disable-staging-driver
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: armv7l
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
NoSource: 103
|
||||
NoSource: 104
|
||||
NoSource: 105
|
||||
NoSource: 106
|
||||
NoSource: 107
|
||||
NoSource: 108
|
||||
NoSource: 109
|
||||
NoSource: 110
|
||||
NoSource: 111
|
||||
NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
# sles10 / 10.3
|
||||
Obsoletes: iwlwifi-kmp-%build_flavor < %version
|
||||
Provides: iwlwifi-kmp-%build_flavor = %version
|
||||
Obsoletes: ipw3945-kmp-%build_flavor < %version
|
||||
Provides: ipw3945-kmp-%build_flavor = %version
|
||||
# sles10 / 11.0
|
||||
Obsoletes: uvcvideo-kmp-%build_flavor < %version
|
||||
Provides: uvcvideo-kmp-%build_flavor = %version
|
||||
# 11.0
|
||||
Obsoletes: atl2-kmp-%build_flavor < %version
|
||||
Provides: atl2-kmp-%build_flavor = %version
|
||||
Obsoletes: at76_usb-kmp-%build_flavor < %version
|
||||
Provides: at76_usb-kmp-%build_flavor = %version
|
||||
Obsoletes: btusb-kmp-%build_flavor < %version
|
||||
Provides: btusb-kmp-%build_flavor = %version
|
||||
Obsoletes: et131x-kmp-%build_flavor < %version
|
||||
Provides: et131x-kmp-%build_flavor = %version
|
||||
Obsoletes: ivtv-kmp-%build_flavor < %version
|
||||
Provides: ivtv-kmp-%build_flavor = %version
|
||||
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
|
||||
Provides: pcc-acpi-kmp-%build_flavor = %version
|
||||
Obsoletes: wlan-ng-kmp-%build_flavor < %version
|
||||
Provides: wlan-ng-kmp-%build_flavor = %version
|
||||
# sle11-ga
|
||||
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
|
||||
Provides: brocade-bfa-kmp-%build_flavor = %version
|
||||
Obsoletes: enic-kmp-%build_flavor < %version
|
||||
Provides: enic-kmp-%build_flavor = %version
|
||||
Obsoletes: fnic-kmp-%build_flavor < %version
|
||||
Provides: fnic-kmp-%build_flavor = %version
|
||||
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
|
||||
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
|
||||
Obsoletes: kvm-kmp-%build_flavor < %version
|
||||
Provides: kvm-kmp-%build_flavor = %version
|
||||
Obsoletes: msi-wmi-kmp-%build_flavor < %version
|
||||
Provides: msi-wmi-kmp-%build_flavor = %version
|
||||
Obsoletes: perfmon-kmp-%build_flavor < %version
|
||||
Provides: perfmon-kmp-%build_flavor = %version
|
||||
# sle11
|
||||
Obsoletes: ocfs2-kmp-%build_flavor < %version
|
||||
Provides: ocfs2-kmp-%build_flavor = %version
|
||||
# 11.1
|
||||
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
|
||||
Provides: quickcam-kmp-%build_flavor = 0.6.7
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
%description
|
||||
The standard kernel for Texas instrument's OMAP SoC, as
|
||||
found in devices like the PandaBoard and BeagleBoard.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%prep
|
||||
if ! [ -e %_sourcedir/linux-%srcversion.tar.bz2 ]; then
|
||||
echo "The %name-%version.nosrc.rpm package does not contain the" \
|
||||
"complete sources. Please install kernel-source-%version.src.rpm."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SYMBOLS=
|
||||
if test -e %_sourcedir/extra-symbols; then
|
||||
SYMBOLS=$(cat %_sourcedir/extra-symbols)
|
||||
echo "extra symbol(s):" $SYMBOLS
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
mkdir -p %kernel_build_dir
|
||||
|
||||
supported_conf() {
|
||||
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u
|
||||
}
|
||||
|
||||
# Generate the list of modules to be marked as supported
|
||||
{ supported_conf base
|
||||
supported_conf --default=0 external | sed 's/$/ external/'
|
||||
} > %kernel_build_dir/Module.supported
|
||||
supported_conf --default=0 base >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
%_sourcedir/apply-patches \
|
||||
%if %{build_vanilla}
|
||||
--vanilla \
|
||||
%endif
|
||||
%_sourcedir/series.conf .. $SYMBOLS
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
# Override the timestamp 'uname -v' reports with the source timestamp and
|
||||
# the commit hash.
|
||||
date=$(head -n 1 %_sourcedir/source-timestamp)
|
||||
commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp)
|
||||
cat > .kernel-binary.spec.buildenv <<EOF
|
||||
export KBUILD_BUILD_TIMESTAMP="$(LANG=C date -d "$date") (${commit:0:7})"
|
||||
export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_OVERRIDE=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
if test -e ../config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
%_sourcedir/configtool.pl ../config{,.addon}/%cpu_arch_flavor >.config
|
||||
else
|
||||
cp ../config/%cpu_arch_flavor .config
|
||||
fi
|
||||
%build_src_dir/scripts/config \
|
||||
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \
|
||||
--enable CONFIG_SUSE_KERNEL \
|
||||
%if 0%{?__debug_package:1}
|
||||
--enable CONFIG_DEBUG_INFO \
|
||||
--disable CONFIG_DEBUG_INFO_REDUCED
|
||||
%else
|
||||
--disable CONFIG_DEBUG_INFO
|
||||
%endif
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS -C %build_src_dir O=$PWD"
|
||||
if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then
|
||||
yes '' | make oldconfig $MAKE_ARGS
|
||||
else
|
||||
cp .config .config.orig
|
||||
make silentoldconfig $MAKE_ARGS < /dev/null
|
||||
%_sourcedir/check-for-config-changes .config.orig .config
|
||||
rm .config.orig
|
||||
fi
|
||||
|
||||
make prepare $MAKE_ARGS
|
||||
make scripts $MAKE_ARGS
|
||||
krel=$(make -s kernelrelease $MAKE_ARGS)
|
||||
|
||||
if [ "$krel" != "%kernelrelease-%build_flavor" ]; then
|
||||
echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
# create *.symref files in the tree
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# The %{_smp_mflags} macro is defined to a number, make will spawn that many jobs.
|
||||
# There are several ways how to define it:
|
||||
# If you are using the build script:
|
||||
# build --jobs=N kernel-$flavor.spec
|
||||
# With plain rpmbuild:
|
||||
# rpmbuild -ba --define 'jobs N' kernel-$flavor.spec
|
||||
# To spawn as many jobs as there are cpu cores:
|
||||
# rpmbuild -ba --define "%_smp_mflags -j 0$(grep -Ec 'cpu[0-9]' /proc/stat)" \
|
||||
# kernel-$flavor.spec
|
||||
# You can also set this permanently in ~/.rpmmacros:
|
||||
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
chmod +x ../linux-%srcversion/scripts/kmsg-doc
|
||||
MAKE_ARGS="$MAKE_ARGS D=2"
|
||||
%endif
|
||||
|
||||
while true; do
|
||||
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \
|
||||
| tee buildlog
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver buildlog; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export STRIP_KEEP_SYMTAB='*/vmlinux-*'
|
||||
|
||||
# /lib/modules/%kernelrelease-%build_flavor/build will be a stale symlink until the
|
||||
# kernel-devel package is installed. Don't check for stale symlinks
|
||||
# in the brp-symlink check:
|
||||
export NO_BRP_STALE_LINK_ERROR=yes
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
mkdir -p %buildroot/boot
|
||||
# (Could strip out non-public symbols.)
|
||||
cp -p System.map %buildroot/boot/System.map-%kernelrelease-%build_flavor
|
||||
|
||||
add_vmlinux()
|
||||
{
|
||||
local vmlinux=boot/vmlinux-%kernelrelease-%build_flavor compressed=false
|
||||
|
||||
if test $1 == "--compressed"; then
|
||||
compressed=true
|
||||
fi
|
||||
cp vmlinux %buildroot/$vmlinux
|
||||
>%my_builddir/vmlinux.debug.files
|
||||
%if 0%{?__debug_package:1}
|
||||
if $compressed; then
|
||||
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
|
||||
mkdir -p $(dirname %buildroot/$vmlinux_debug)
|
||||
/usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug \
|
||||
-l vmlinux.sourcefiles %buildroot/$vmlinux
|
||||
# FIXME: create and package build-id symlinks
|
||||
objcopy --only-keep-debug \
|
||||
%buildroot/$vmlinux \
|
||||
%buildroot/$vmlinux_debug || :
|
||||
objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \
|
||||
--strip-debug \
|
||||
%buildroot/$vmlinux || :
|
||||
mkdir -p %buildroot/usr/src/debug
|
||||
LANG=C sort -z -u vmlinux.sourcefiles | grep -Ezv "<(built-in|stdin)>" \
|
||||
| ( cd %_builddir && cpio -pd0m %buildroot/usr/src/debug )
|
||||
find %buildroot/usr/src/debug -type d -print0 | xargs -0 -r chmod 0755
|
||||
find %buildroot/usr/src/debug -type f -print0 | xargs -0 -r chmod 0644
|
||||
echo -e "%%defattr(-, root, root)\\n/$vmlinux_debug" >%my_builddir/vmlinux.debug.files
|
||||
else
|
||||
# make vmlinux executable so that find-debuginfo.sh picks it up
|
||||
# (TODO: fix find-debuginfo.sh instead)
|
||||
chmod +x %buildroot/$vmlinux
|
||||
fi
|
||||
%endif
|
||||
if $compressed; then
|
||||
gzip -n -9 %buildroot/$vmlinux
|
||||
chmod a-x %buildroot/$vmlinux.gz
|
||||
fi
|
||||
}
|
||||
|
||||
%if %build_kdump
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%else
|
||||
|
||||
# architecture specifics
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
%if %build_xen
|
||||
image=vmlinuz
|
||||
%else
|
||||
image=bzImage
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch alpha
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/alpha/boot/vmlinux.gz %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch ppc ppc64
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch ia64
|
||||
add_vmlinux --compressed
|
||||
mv %buildroot/boot/vmlinux-%kernelrelease-%build_flavor.gz \
|
||||
%buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/s390/boot/image %buildroot/boot/image-%kernelrelease-%build_flavor
|
||||
image=image
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
cp -p arch/s390/boot/kerntypes.o %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)"; then
|
||||
dwarfextract vmlinux %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
mkdir -p %buildroot/usr/share/man/man9
|
||||
find man -name '*.9' -exec install -m 644 -D '{}' %buildroot/usr/share/man/man9/ ';'
|
||||
%endif
|
||||
%endif
|
||||
%ifarch sparc64
|
||||
add_vmlinux --compressed
|
||||
image=zImage
|
||||
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch %arm
|
||||
add_vmlinux --compressed
|
||||
# quickly compile uImage so we have something to boot from
|
||||
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||
image=uImage
|
||||
cp -p arch/arm/boot/$image %buildroot/boot/uImage-%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
# end of build_kdump
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_kdump || %build_xen || %build_vanilla || %build_ps3
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
ln -s $image$suffix %buildroot/boot/$image$suffix
|
||||
ln -s initrd$suffix %buildroot/boot/initrd$suffix
|
||||
|
||||
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
|
||||
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
|
||||
for file in %my_builddir/sysctl/{defaults,%cpu_arch/arch-defaults,%cpu_arch_flavor}; do
|
||||
if [ -f "$file" ]; then
|
||||
cat "$file"
|
||||
fi
|
||||
done | sed '1i # Generated file - do not edit.' >$sysctl_file
|
||||
if [ ! -s $sysctl_file ]; then
|
||||
rm $sysctl_file
|
||||
fi
|
||||
|
||||
%if %install_vdso
|
||||
# Install the unstripped vdso's that are linked in the kernel image
|
||||
make vdso_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
%endif
|
||||
|
||||
# Create a dummy initrd with roughly the size the real one will have.
|
||||
# That way, YaST will know that this package requires some additional
|
||||
# space in /boot.
|
||||
dd if=/dev/zero of=%buildroot/boot/initrd-%kernelrelease-%build_flavor \
|
||||
bs=1024 seek=2047 count=1
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
mkdir -p %rpm_install_dir/%cpu_arch_flavor
|
||||
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
|
||||
ln -s %build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
|
||||
|
||||
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz
|
||||
|
||||
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
|
||||
if ! %_sourcedir/check-supported-list \
|
||||
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
|
||||
%if %supported_modules_check
|
||||
exit 1
|
||||
%endif
|
||||
echo "Consistency check error: please update supported.conf."
|
||||
fi
|
||||
|
||||
%ifarch s390 s390x
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
:
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)" -a \
|
||||
-f %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor; then
|
||||
find %buildroot -name "*.ko" > kofiles.list
|
||||
dwarfextract %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor -C kofiles.list || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%endif
|
||||
|
||||
# Also put the resulting file in %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
# so that kernel-devel + kernel-%build_flavor is sufficient for building
|
||||
# modules that have modversions as well.
|
||||
mkdir -p %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
cp Module.symvers %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
|
||||
# Table of types used in exported symbols (for modversion debugging).
|
||||
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
|
||||
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
else
|
||||
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
fi
|
||||
|
||||
# Some architecture's $(uname -m) output is different from the ARCH
|
||||
# parameter that needs to be passed to kbuild. Create symlinks from
|
||||
# $(uname -m) to the ARCH directory.
|
||||
if [ ! -e %rpm_install_dir/%kmp_target_cpu ]; then
|
||||
ln -sf %cpu_arch %rpm_install_dir/%kmp_target_cpu
|
||||
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%kmp_target_cpu
|
||||
fi
|
||||
|
||||
# We were building in %my_builddir/linux-%srcversion, but the sources will
|
||||
# later be installed in /usr/src/linux-%srcversion-%source_rel. Fix up the
|
||||
# build symlink.
|
||||
rm -f %buildroot/lib/modules/%kernelrelease-%build_flavor/{source,build}
|
||||
ln -s %src_install_dir \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/source
|
||||
ln -s %obj_install_dir/%cpu_arch/%build_flavor \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/build
|
||||
|
||||
# Abort if there are any undefined symbols
|
||||
msg="$(/sbin/depmod -F %buildroot/boot/System.map-%kernelrelease-%build_flavor \
|
||||
-b %buildroot -ae %kernelrelease-%build_flavor 2>&1)"
|
||||
if [ $? -ne 0 ] || echo "$msg" | grep 'needs unknown symbol'; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if ! %supported_modules_check
|
||||
-i \
|
||||
%endif
|
||||
-s %kernel_build_dir/Module.supported
|
||||
%if ! %split_extra
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
|
||||
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
|
||||
Module.symvers || res=$?
|
||||
fi
|
||||
if [ $res -ne 0 ]; then
|
||||
if [ ! -e %my_builddir/kabi/%cpu_arch/ignore-%build_flavor -a \
|
||||
! -e %_sourcedir/IGNORE-KABI-BADNESS ]; then
|
||||
echo "Create a file IGNORE-KABI-BADNESS in the kernel-source" \
|
||||
"directory to build this kernel even though its badness is" \
|
||||
"higher than allowed for an official kernel."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# arch/powerpc/lib/crtsavres.o is required for building external
|
||||
# modules on powerpc
|
||||
if [ -f %kernel_build_dir/arch/powerpc/lib/crtsavres.o ]; then
|
||||
echo arch/powerpc/lib/crtsavres.o >> %my_builddir/obj-files
|
||||
fi
|
||||
|
||||
tar -cf - -T %my_builddir/obj-files | \
|
||||
tar -xf - -C %rpm_install_dir/%cpu_arch_flavor
|
||||
# bnc#507084
|
||||
find %rpm_install_dir/%cpu_arch_flavor/scripts -type f -perm -111 | \
|
||||
while read f; do
|
||||
case "$(file -b "$f")" in
|
||||
ELF\ *\ executable*)
|
||||
strip "$f"
|
||||
esac
|
||||
done
|
||||
# Replace the absolute with a relative path
|
||||
sed -i "s,%build_src_dir,../../../linux-%kernelrelease%variant,g" \
|
||||
%rpm_install_dir/%cpu_arch_flavor/Makefile
|
||||
fi
|
||||
|
||||
add_dirs_to_filelist() {
|
||||
sed -rn '
|
||||
# print file name
|
||||
p
|
||||
# remove filelist macros
|
||||
s:%%[a-z]+(\([^)]+\))? ?::g
|
||||
# add %%dir prefix
|
||||
s:^:%%dir :
|
||||
# print all parents
|
||||
:a
|
||||
# skip directories owned by other packages
|
||||
s:^%%dir (/boot|/etc|/lib/(modules|firmware)|/usr/src)/[^/]+$::
|
||||
s:/[^/]+$::p
|
||||
ta
|
||||
' "$@" | sort -u
|
||||
}
|
||||
|
||||
# Collect the file lists.
|
||||
shopt -s nullglob
|
||||
> %my_builddir/kernel-devel.files
|
||||
for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
|
||||
f=${file##%buildroot}
|
||||
echo "$f" >> %my_builddir/kernel-devel.files
|
||||
done
|
||||
|
||||
{ cd %buildroot
|
||||
find boot \
|
||||
\( -type l -o -name 'initrd-*' \) -printf '%%%%ghost /%%p\n' -o \
|
||||
-type f -name 'vmlinux-*' -printf '%%%%attr(0644, root, root) /%%p\n' -o \
|
||||
-type f -printf '/%%p\n'
|
||||
|
||||
# Add the auto-generated (by mkdumprd) kdump initrd to %ghost so that
|
||||
# the file gets removed when uninstalling the kernel.
|
||||
echo '%%ghost /boot/initrd-%kernelrelease-kdump'
|
||||
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-kdump
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
find lib/modules/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
\( -path '*/modules.*' ! -path '*/modules.order' \
|
||||
! -path '*/modules.builtin' \) -printf '%%%%ghost /%%p\n' \
|
||||
-o -name '*.ko' -prune -o -printf '/%%p\n'
|
||||
cat %my_builddir/base-modules
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u >%my_builddir/tmp
|
||||
cat %my_builddir/tmp %my_builddir/kernel-devel.files | sort | uniq -u | \
|
||||
add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
rm %my_builddir/tmp
|
||||
|
||||
%if %split_base
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
# /usr/src/linux-obj intentionally, to not accidentally break timestamps there
|
||||
%fdupes $RPM_BUILD_ROOT/lib
|
||||
|
||||
%preun -f preun.sh
|
||||
|
||||
%postun -f postun.sh
|
||||
|
||||
%pre -f pre.sh
|
||||
|
||||
%post -f post.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files -f kernel-main.files
|
||||
%defattr(-, root, root)
|
||||
%else
|
||||
|
||||
%files -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package base
|
||||
Summary: Kernel for Texas instrument's OMAP SoC - base modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
Conflicts: %name = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
The standard kernel for Texas instrument's OMAP SoC, as
|
||||
found in devices like the PandaBoard and BeagleBoard.
|
||||
|
||||
This package contains only the base modules, required in all installs.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun base -f preun-base.sh
|
||||
|
||||
%postun base -f postun-base.sh
|
||||
|
||||
%pre base -f pre-base.sh
|
||||
|
||||
%post base -f post-base.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files base -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package extra
|
||||
Summary: Kernel for Texas instrument's OMAP SoC - Unsupported kernel modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-extra_%_target_cpu = %version-%release
|
||||
Provides: kernel-extra = %version-%source_rel
|
||||
Requires: %{name}_%_target_cpu = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
The standard kernel for Texas instrument's OMAP SoC, as
|
||||
found in devices like the PandaBoard and BeagleBoard.
|
||||
|
||||
This package contains additional modules not supported by Novell.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun extra -f preun-extra.sh
|
||||
|
||||
%postun extra -f postun-extra.sh
|
||||
|
||||
%pre extra -f pre-extra.sh
|
||||
|
||||
%post extra -f post-extra.sh
|
||||
|
||||
%if %split_extra
|
||||
|
||||
%files extra -f kernel-extra.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
This package includes the man pages that have been generated from the
|
||||
kmsg message documentation comments.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files man
|
||||
%defattr(-,root,root)
|
||||
/usr/share/man/man9/*
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files necessary for building kernel modules
|
||||
Group: Development/Sources
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-devel = %version-%source_rel
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
|
||||
%description devel
|
||||
This package contains files necessary for building kernel modules (and
|
||||
kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%if %CONFIG_MODULES == "y"
|
||||
|
||||
%pre devel -f devel-pre.sh
|
||||
|
||||
%post devel -f devel-post.sh
|
||||
|
||||
%files devel -f kernel-devel.files
|
||||
%defattr(-,root,root)
|
||||
%dir %obj_install_dir
|
||||
%dir %obj_install_dir/%cpu_arch
|
||||
%dir /usr/src/linux-obj
|
||||
%dir /usr/src/linux-obj/%cpu_arch
|
||||
%ghost /usr/src/linux-obj/%cpu_arch_flavor
|
||||
%obj_install_dir/%cpu_arch_flavor
|
||||
%if %kmp_target_cpu != %cpu_arch
|
||||
%obj_install_dir/%kmp_target_cpu
|
||||
/usr/src/linux-obj/%kmp_target_cpu
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%package devel-debuginfo
|
||||
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
|
||||
Summary: Debug information for package %name-devel
|
||||
Group: Development/Debug
|
||||
|
||||
%description devel-debuginfo
|
||||
Debug information for package %name-devel
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files devel-debuginfo -f vmlinux.debug.files
|
||||
|
||||
%changelog
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-pae
|
||||
Summary: Kernel with PAE Support
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -136,7 +136,7 @@ Provides: kernel-bigsmp
|
||||
Obsoletes: kernel-bigsmp
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-ppc64
|
||||
Summary: Kernel for ppc64 Systems
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -140,7 +140,7 @@ Provides: kernel-kdump
|
||||
Obsoletes: kernel-kdump
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-s390
|
||||
Summary: The Standard Kernel
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -136,7 +136,7 @@ Provides: kernel-32bit
|
||||
Obsoletes: kernel-32bit
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -18,8 +18,8 @@
|
||||
# norootforbuild
|
||||
# icecream 0
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
Name: kernel-source
|
||||
Summary: The Linux Kernel Sources
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: Development/Sources
|
||||
@ -41,7 +41,7 @@ Requires(post): coreutils sed
|
||||
Provides: multiversion(kernel)
|
||||
Provides: linux
|
||||
Provides: %name = %version-%source_rel
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
Name: kernel-syms
|
||||
Summary: Kernel Symbol Versions (modversions)
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
%if %using_buildservice
|
||||
Release: 0
|
||||
%else
|
||||
@ -35,18 +35,12 @@ Group: Development/Sources
|
||||
Url: http://www.kernel.org/
|
||||
AutoReqProv: off
|
||||
BuildRequires: coreutils
|
||||
%ifarch armv7l %ix86 ia64 ppc ppc64 s390x x86_64
|
||||
%ifarch %ix86 ia64 ppc ppc64 s390x x86_64
|
||||
Requires: kernel-default-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
Requires: kernel-desktop-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch armv7l
|
||||
Requires: kernel-imx51-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch armv7l
|
||||
Requires: kernel-omap2plus-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Requires: kernel-pae-devel = %version-%source_rel
|
||||
%endif
|
||||
@ -56,12 +50,6 @@ Requires: kernel-ppc64-devel = %version-%source_rel
|
||||
%ifarch s390
|
||||
Requires: kernel-s390-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch armv7l
|
||||
Requires: kernel-tegra-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch armv7l
|
||||
Requires: kernel-u8500-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
Requires: kernel-xen-devel = %version-%source_rel
|
||||
%endif
|
||||
@ -70,7 +58,7 @@ Provides: %name = %version-%source_rel
|
||||
Source: README.KSYMS
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 armv7l ia64 ppc ppc64 s390 s390x x86_64
|
||||
ExclusiveArch: %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
||||
Prefix: /usr/src
|
||||
|
||||
%description
|
||||
|
25320
kernel-tegra.changes
25320
kernel-tegra.changes
File diff suppressed because it is too large
Load Diff
@ -1,942 +0,0 @@
|
||||
#
|
||||
# spec file for package kernel-tegra
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define build_flavor tegra
|
||||
%define build_default (%build_flavor == "default")
|
||||
%define build_kdump (%build_flavor == "kdump")
|
||||
%define build_xen (%build_flavor == "xen" || %build_flavor == "ec2")
|
||||
%define build_vanilla (%build_flavor == "vanilla")
|
||||
%define build_ps3 (%build_flavor == "ps3")
|
||||
|
||||
%define build_src_dir %my_builddir/linux-%srcversion
|
||||
%define src_install_dir /usr/src/linux-%kernelrelease%variant
|
||||
%define obj_install_dir %src_install_dir-obj
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
|
||||
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
|
||||
# defining them all at once.)
|
||||
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT
|
||||
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
|
||||
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
|
||||
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define install_vdso 1
|
||||
%else
|
||||
%define install_vdso 0
|
||||
%endif
|
||||
|
||||
Name: kernel-tegra
|
||||
Summary: Kernel for Nvidia's Tegra SoC
|
||||
Version: 3.3.0
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
BuildRequires: coreutils module-init-tools sparse
|
||||
BuildRequires: fdupes
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %{name}_%_target_cpu = %version-%release
|
||||
Provides: %name = %version-%source_rel
|
||||
%if %split_base
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
# Obsolete the -base subpackage from 11.1 and 11.2 development phase
|
||||
Obsoletes: %name-base <= 2.6.31
|
||||
%endif
|
||||
Requires(pre): coreutils awk
|
||||
# Need a module-init-tools with /usr/lib/module-init-tools/weak-modules2
|
||||
Requires(post): module-init-tools >= 3.4
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for mkinitrd.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): mkinitrd
|
||||
# Do not install p-b and mkinitrd for the install check, the %post script is
|
||||
# able to handle this
|
||||
#!BuildIgnore: perl-Bootloader mkinitrd
|
||||
# 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 fillup insserv
|
||||
|
||||
%ifarch ia64
|
||||
# arch/ia64/scripts/unwcheck.py
|
||||
BuildRequires: python
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
%if %build_vanilla && 0%{?suse_version} < 1130
|
||||
BuildRequires: dwarfextract
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
%ifarch %ix86
|
||||
%if %build_flavor != "ec2"
|
||||
Provides: kernel-xenpae = %version
|
||||
Obsoletes: kernel-xenpae < %version
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Provides: %name-nongpl = %version
|
||||
Obsoletes: %name-nongpl < %version
|
||||
%if %build_vanilla
|
||||
# force bzip2 instead of lzma compression to allow install on older dist versions
|
||||
%define _binary_payload w9.bzdio
|
||||
%endif
|
||||
# dead network if installed on SLES10, otherwise it will work (mostly)
|
||||
Conflicts: sysfsutils < 2.0
|
||||
%if ! %build_vanilla
|
||||
Conflicts: apparmor-profiles <= 2.1
|
||||
Conflicts: apparmor-parser < 2.3
|
||||
# root-lvm only works with newer udevs
|
||||
Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
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
|
||||
Source34: check-supported-list
|
||||
Source35: group-source-files.pl
|
||||
Source37: README.SUSE
|
||||
Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: split-modules
|
||||
Source46: 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
|
||||
Source60: config.sh
|
||||
Source61: compute-PATCHVERSION.sh
|
||||
Source62: old-packages.conf
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
Source66: configtool.pl
|
||||
Source67: log.sh
|
||||
Source68: host-memcpy-hack.h
|
||||
Source69: try-disable-staging-driver
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: armv7l
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
NoSource: 103
|
||||
NoSource: 104
|
||||
NoSource: 105
|
||||
NoSource: 106
|
||||
NoSource: 107
|
||||
NoSource: 108
|
||||
NoSource: 109
|
||||
NoSource: 110
|
||||
NoSource: 111
|
||||
NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
# sles10 / 10.3
|
||||
Obsoletes: iwlwifi-kmp-%build_flavor < %version
|
||||
Provides: iwlwifi-kmp-%build_flavor = %version
|
||||
Obsoletes: ipw3945-kmp-%build_flavor < %version
|
||||
Provides: ipw3945-kmp-%build_flavor = %version
|
||||
# sles10 / 11.0
|
||||
Obsoletes: uvcvideo-kmp-%build_flavor < %version
|
||||
Provides: uvcvideo-kmp-%build_flavor = %version
|
||||
# 11.0
|
||||
Obsoletes: atl2-kmp-%build_flavor < %version
|
||||
Provides: atl2-kmp-%build_flavor = %version
|
||||
Obsoletes: at76_usb-kmp-%build_flavor < %version
|
||||
Provides: at76_usb-kmp-%build_flavor = %version
|
||||
Obsoletes: btusb-kmp-%build_flavor < %version
|
||||
Provides: btusb-kmp-%build_flavor = %version
|
||||
Obsoletes: et131x-kmp-%build_flavor < %version
|
||||
Provides: et131x-kmp-%build_flavor = %version
|
||||
Obsoletes: ivtv-kmp-%build_flavor < %version
|
||||
Provides: ivtv-kmp-%build_flavor = %version
|
||||
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
|
||||
Provides: pcc-acpi-kmp-%build_flavor = %version
|
||||
Obsoletes: wlan-ng-kmp-%build_flavor < %version
|
||||
Provides: wlan-ng-kmp-%build_flavor = %version
|
||||
# sle11-ga
|
||||
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
|
||||
Provides: brocade-bfa-kmp-%build_flavor = %version
|
||||
Obsoletes: enic-kmp-%build_flavor < %version
|
||||
Provides: enic-kmp-%build_flavor = %version
|
||||
Obsoletes: fnic-kmp-%build_flavor < %version
|
||||
Provides: fnic-kmp-%build_flavor = %version
|
||||
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
|
||||
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
|
||||
Obsoletes: kvm-kmp-%build_flavor < %version
|
||||
Provides: kvm-kmp-%build_flavor = %version
|
||||
Obsoletes: msi-wmi-kmp-%build_flavor < %version
|
||||
Provides: msi-wmi-kmp-%build_flavor = %version
|
||||
Obsoletes: perfmon-kmp-%build_flavor < %version
|
||||
Provides: perfmon-kmp-%build_flavor = %version
|
||||
# sle11
|
||||
Obsoletes: ocfs2-kmp-%build_flavor < %version
|
||||
Provides: ocfs2-kmp-%build_flavor = %version
|
||||
# 11.1
|
||||
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
|
||||
Provides: quickcam-kmp-%build_flavor = 0.6.7
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
%description
|
||||
The standard kernel for Nvidia's Tegra SoC, as found in
|
||||
devices like the TrimSlice.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%prep
|
||||
if ! [ -e %_sourcedir/linux-%srcversion.tar.bz2 ]; then
|
||||
echo "The %name-%version.nosrc.rpm package does not contain the" \
|
||||
"complete sources. Please install kernel-source-%version.src.rpm."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SYMBOLS=
|
||||
if test -e %_sourcedir/extra-symbols; then
|
||||
SYMBOLS=$(cat %_sourcedir/extra-symbols)
|
||||
echo "extra symbol(s):" $SYMBOLS
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
mkdir -p %kernel_build_dir
|
||||
|
||||
supported_conf() {
|
||||
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u
|
||||
}
|
||||
|
||||
# Generate the list of modules to be marked as supported
|
||||
{ supported_conf base
|
||||
supported_conf --default=0 external | sed 's/$/ external/'
|
||||
} > %kernel_build_dir/Module.supported
|
||||
supported_conf --default=0 base >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
%_sourcedir/apply-patches \
|
||||
%if %{build_vanilla}
|
||||
--vanilla \
|
||||
%endif
|
||||
%_sourcedir/series.conf .. $SYMBOLS
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
# Override the timestamp 'uname -v' reports with the source timestamp and
|
||||
# the commit hash.
|
||||
date=$(head -n 1 %_sourcedir/source-timestamp)
|
||||
commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp)
|
||||
cat > .kernel-binary.spec.buildenv <<EOF
|
||||
export KBUILD_BUILD_TIMESTAMP="$(LANG=C date -d "$date") (${commit:0:7})"
|
||||
export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_OVERRIDE=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
if test -e ../config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
%_sourcedir/configtool.pl ../config{,.addon}/%cpu_arch_flavor >.config
|
||||
else
|
||||
cp ../config/%cpu_arch_flavor .config
|
||||
fi
|
||||
%build_src_dir/scripts/config \
|
||||
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \
|
||||
--enable CONFIG_SUSE_KERNEL \
|
||||
%if 0%{?__debug_package:1}
|
||||
--enable CONFIG_DEBUG_INFO \
|
||||
--disable CONFIG_DEBUG_INFO_REDUCED
|
||||
%else
|
||||
--disable CONFIG_DEBUG_INFO
|
||||
%endif
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS -C %build_src_dir O=$PWD"
|
||||
if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then
|
||||
yes '' | make oldconfig $MAKE_ARGS
|
||||
else
|
||||
cp .config .config.orig
|
||||
make silentoldconfig $MAKE_ARGS < /dev/null
|
||||
%_sourcedir/check-for-config-changes .config.orig .config
|
||||
rm .config.orig
|
||||
fi
|
||||
|
||||
make prepare $MAKE_ARGS
|
||||
make scripts $MAKE_ARGS
|
||||
krel=$(make -s kernelrelease $MAKE_ARGS)
|
||||
|
||||
if [ "$krel" != "%kernelrelease-%build_flavor" ]; then
|
||||
echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
# create *.symref files in the tree
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# The %{_smp_mflags} macro is defined to a number, make will spawn that many jobs.
|
||||
# There are several ways how to define it:
|
||||
# If you are using the build script:
|
||||
# build --jobs=N kernel-$flavor.spec
|
||||
# With plain rpmbuild:
|
||||
# rpmbuild -ba --define 'jobs N' kernel-$flavor.spec
|
||||
# To spawn as many jobs as there are cpu cores:
|
||||
# rpmbuild -ba --define "%_smp_mflags -j 0$(grep -Ec 'cpu[0-9]' /proc/stat)" \
|
||||
# kernel-$flavor.spec
|
||||
# You can also set this permanently in ~/.rpmmacros:
|
||||
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
chmod +x ../linux-%srcversion/scripts/kmsg-doc
|
||||
MAKE_ARGS="$MAKE_ARGS D=2"
|
||||
%endif
|
||||
|
||||
while true; do
|
||||
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \
|
||||
| tee buildlog
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver buildlog; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export STRIP_KEEP_SYMTAB='*/vmlinux-*'
|
||||
|
||||
# /lib/modules/%kernelrelease-%build_flavor/build will be a stale symlink until the
|
||||
# kernel-devel package is installed. Don't check for stale symlinks
|
||||
# in the brp-symlink check:
|
||||
export NO_BRP_STALE_LINK_ERROR=yes
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
mkdir -p %buildroot/boot
|
||||
# (Could strip out non-public symbols.)
|
||||
cp -p System.map %buildroot/boot/System.map-%kernelrelease-%build_flavor
|
||||
|
||||
add_vmlinux()
|
||||
{
|
||||
local vmlinux=boot/vmlinux-%kernelrelease-%build_flavor compressed=false
|
||||
|
||||
if test $1 == "--compressed"; then
|
||||
compressed=true
|
||||
fi
|
||||
cp vmlinux %buildroot/$vmlinux
|
||||
>%my_builddir/vmlinux.debug.files
|
||||
%if 0%{?__debug_package:1}
|
||||
if $compressed; then
|
||||
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
|
||||
mkdir -p $(dirname %buildroot/$vmlinux_debug)
|
||||
/usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug \
|
||||
-l vmlinux.sourcefiles %buildroot/$vmlinux
|
||||
# FIXME: create and package build-id symlinks
|
||||
objcopy --only-keep-debug \
|
||||
%buildroot/$vmlinux \
|
||||
%buildroot/$vmlinux_debug || :
|
||||
objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \
|
||||
--strip-debug \
|
||||
%buildroot/$vmlinux || :
|
||||
mkdir -p %buildroot/usr/src/debug
|
||||
LANG=C sort -z -u vmlinux.sourcefiles | grep -Ezv "<(built-in|stdin)>" \
|
||||
| ( cd %_builddir && cpio -pd0m %buildroot/usr/src/debug )
|
||||
find %buildroot/usr/src/debug -type d -print0 | xargs -0 -r chmod 0755
|
||||
find %buildroot/usr/src/debug -type f -print0 | xargs -0 -r chmod 0644
|
||||
echo -e "%%defattr(-, root, root)\\n/$vmlinux_debug" >%my_builddir/vmlinux.debug.files
|
||||
else
|
||||
# make vmlinux executable so that find-debuginfo.sh picks it up
|
||||
# (TODO: fix find-debuginfo.sh instead)
|
||||
chmod +x %buildroot/$vmlinux
|
||||
fi
|
||||
%endif
|
||||
if $compressed; then
|
||||
gzip -n -9 %buildroot/$vmlinux
|
||||
chmod a-x %buildroot/$vmlinux.gz
|
||||
fi
|
||||
}
|
||||
|
||||
%if %build_kdump
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%else
|
||||
|
||||
# architecture specifics
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
%if %build_xen
|
||||
image=vmlinuz
|
||||
%else
|
||||
image=bzImage
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch alpha
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/alpha/boot/vmlinux.gz %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch ppc ppc64
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch ia64
|
||||
add_vmlinux --compressed
|
||||
mv %buildroot/boot/vmlinux-%kernelrelease-%build_flavor.gz \
|
||||
%buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/s390/boot/image %buildroot/boot/image-%kernelrelease-%build_flavor
|
||||
image=image
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
cp -p arch/s390/boot/kerntypes.o %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)"; then
|
||||
dwarfextract vmlinux %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
mkdir -p %buildroot/usr/share/man/man9
|
||||
find man -name '*.9' -exec install -m 644 -D '{}' %buildroot/usr/share/man/man9/ ';'
|
||||
%endif
|
||||
%endif
|
||||
%ifarch sparc64
|
||||
add_vmlinux --compressed
|
||||
image=zImage
|
||||
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch %arm
|
||||
add_vmlinux --compressed
|
||||
# quickly compile uImage so we have something to boot from
|
||||
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||
image=uImage
|
||||
cp -p arch/arm/boot/$image %buildroot/boot/uImage-%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
# end of build_kdump
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_kdump || %build_xen || %build_vanilla || %build_ps3
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
ln -s $image$suffix %buildroot/boot/$image$suffix
|
||||
ln -s initrd$suffix %buildroot/boot/initrd$suffix
|
||||
|
||||
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
|
||||
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
|
||||
for file in %my_builddir/sysctl/{defaults,%cpu_arch/arch-defaults,%cpu_arch_flavor}; do
|
||||
if [ -f "$file" ]; then
|
||||
cat "$file"
|
||||
fi
|
||||
done | sed '1i # Generated file - do not edit.' >$sysctl_file
|
||||
if [ ! -s $sysctl_file ]; then
|
||||
rm $sysctl_file
|
||||
fi
|
||||
|
||||
%if %install_vdso
|
||||
# Install the unstripped vdso's that are linked in the kernel image
|
||||
make vdso_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
%endif
|
||||
|
||||
# Create a dummy initrd with roughly the size the real one will have.
|
||||
# That way, YaST will know that this package requires some additional
|
||||
# space in /boot.
|
||||
dd if=/dev/zero of=%buildroot/boot/initrd-%kernelrelease-%build_flavor \
|
||||
bs=1024 seek=2047 count=1
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
mkdir -p %rpm_install_dir/%cpu_arch_flavor
|
||||
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
|
||||
ln -s %build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
|
||||
|
||||
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz
|
||||
|
||||
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
|
||||
if ! %_sourcedir/check-supported-list \
|
||||
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
|
||||
%if %supported_modules_check
|
||||
exit 1
|
||||
%endif
|
||||
echo "Consistency check error: please update supported.conf."
|
||||
fi
|
||||
|
||||
%ifarch s390 s390x
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
:
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)" -a \
|
||||
-f %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor; then
|
||||
find %buildroot -name "*.ko" > kofiles.list
|
||||
dwarfextract %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor -C kofiles.list || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%endif
|
||||
|
||||
# Also put the resulting file in %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
# so that kernel-devel + kernel-%build_flavor is sufficient for building
|
||||
# modules that have modversions as well.
|
||||
mkdir -p %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
cp Module.symvers %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
|
||||
# Table of types used in exported symbols (for modversion debugging).
|
||||
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
|
||||
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
else
|
||||
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
fi
|
||||
|
||||
# Some architecture's $(uname -m) output is different from the ARCH
|
||||
# parameter that needs to be passed to kbuild. Create symlinks from
|
||||
# $(uname -m) to the ARCH directory.
|
||||
if [ ! -e %rpm_install_dir/%kmp_target_cpu ]; then
|
||||
ln -sf %cpu_arch %rpm_install_dir/%kmp_target_cpu
|
||||
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%kmp_target_cpu
|
||||
fi
|
||||
|
||||
# We were building in %my_builddir/linux-%srcversion, but the sources will
|
||||
# later be installed in /usr/src/linux-%srcversion-%source_rel. Fix up the
|
||||
# build symlink.
|
||||
rm -f %buildroot/lib/modules/%kernelrelease-%build_flavor/{source,build}
|
||||
ln -s %src_install_dir \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/source
|
||||
ln -s %obj_install_dir/%cpu_arch/%build_flavor \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/build
|
||||
|
||||
# Abort if there are any undefined symbols
|
||||
msg="$(/sbin/depmod -F %buildroot/boot/System.map-%kernelrelease-%build_flavor \
|
||||
-b %buildroot -ae %kernelrelease-%build_flavor 2>&1)"
|
||||
if [ $? -ne 0 ] || echo "$msg" | grep 'needs unknown symbol'; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if ! %supported_modules_check
|
||||
-i \
|
||||
%endif
|
||||
-s %kernel_build_dir/Module.supported
|
||||
%if ! %split_extra
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
|
||||
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
|
||||
Module.symvers || res=$?
|
||||
fi
|
||||
if [ $res -ne 0 ]; then
|
||||
if [ ! -e %my_builddir/kabi/%cpu_arch/ignore-%build_flavor -a \
|
||||
! -e %_sourcedir/IGNORE-KABI-BADNESS ]; then
|
||||
echo "Create a file IGNORE-KABI-BADNESS in the kernel-source" \
|
||||
"directory to build this kernel even though its badness is" \
|
||||
"higher than allowed for an official kernel."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# arch/powerpc/lib/crtsavres.o is required for building external
|
||||
# modules on powerpc
|
||||
if [ -f %kernel_build_dir/arch/powerpc/lib/crtsavres.o ]; then
|
||||
echo arch/powerpc/lib/crtsavres.o >> %my_builddir/obj-files
|
||||
fi
|
||||
|
||||
tar -cf - -T %my_builddir/obj-files | \
|
||||
tar -xf - -C %rpm_install_dir/%cpu_arch_flavor
|
||||
# bnc#507084
|
||||
find %rpm_install_dir/%cpu_arch_flavor/scripts -type f -perm -111 | \
|
||||
while read f; do
|
||||
case "$(file -b "$f")" in
|
||||
ELF\ *\ executable*)
|
||||
strip "$f"
|
||||
esac
|
||||
done
|
||||
# Replace the absolute with a relative path
|
||||
sed -i "s,%build_src_dir,../../../linux-%kernelrelease%variant,g" \
|
||||
%rpm_install_dir/%cpu_arch_flavor/Makefile
|
||||
fi
|
||||
|
||||
add_dirs_to_filelist() {
|
||||
sed -rn '
|
||||
# print file name
|
||||
p
|
||||
# remove filelist macros
|
||||
s:%%[a-z]+(\([^)]+\))? ?::g
|
||||
# add %%dir prefix
|
||||
s:^:%%dir :
|
||||
# print all parents
|
||||
:a
|
||||
# skip directories owned by other packages
|
||||
s:^%%dir (/boot|/etc|/lib/(modules|firmware)|/usr/src)/[^/]+$::
|
||||
s:/[^/]+$::p
|
||||
ta
|
||||
' "$@" | sort -u
|
||||
}
|
||||
|
||||
# Collect the file lists.
|
||||
shopt -s nullglob
|
||||
> %my_builddir/kernel-devel.files
|
||||
for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
|
||||
f=${file##%buildroot}
|
||||
echo "$f" >> %my_builddir/kernel-devel.files
|
||||
done
|
||||
|
||||
{ cd %buildroot
|
||||
find boot \
|
||||
\( -type l -o -name 'initrd-*' \) -printf '%%%%ghost /%%p\n' -o \
|
||||
-type f -name 'vmlinux-*' -printf '%%%%attr(0644, root, root) /%%p\n' -o \
|
||||
-type f -printf '/%%p\n'
|
||||
|
||||
# Add the auto-generated (by mkdumprd) kdump initrd to %ghost so that
|
||||
# the file gets removed when uninstalling the kernel.
|
||||
echo '%%ghost /boot/initrd-%kernelrelease-kdump'
|
||||
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-kdump
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
find lib/modules/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
\( -path '*/modules.*' ! -path '*/modules.order' \
|
||||
! -path '*/modules.builtin' \) -printf '%%%%ghost /%%p\n' \
|
||||
-o -name '*.ko' -prune -o -printf '/%%p\n'
|
||||
cat %my_builddir/base-modules
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u >%my_builddir/tmp
|
||||
cat %my_builddir/tmp %my_builddir/kernel-devel.files | sort | uniq -u | \
|
||||
add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
rm %my_builddir/tmp
|
||||
|
||||
%if %split_base
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
# /usr/src/linux-obj intentionally, to not accidentally break timestamps there
|
||||
%fdupes $RPM_BUILD_ROOT/lib
|
||||
|
||||
%preun -f preun.sh
|
||||
|
||||
%postun -f postun.sh
|
||||
|
||||
%pre -f pre.sh
|
||||
|
||||
%post -f post.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files -f kernel-main.files
|
||||
%defattr(-, root, root)
|
||||
%else
|
||||
|
||||
%files -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package base
|
||||
Summary: Kernel for Nvidia's Tegra SoC - base modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
Conflicts: %name = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
The standard kernel for Nvidia's Tegra SoC, as found in
|
||||
devices like the TrimSlice.
|
||||
|
||||
This package contains only the base modules, required in all installs.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun base -f preun-base.sh
|
||||
|
||||
%postun base -f postun-base.sh
|
||||
|
||||
%pre base -f pre-base.sh
|
||||
|
||||
%post base -f post-base.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files base -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package extra
|
||||
Summary: Kernel for Nvidia's Tegra SoC - Unsupported kernel modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-extra_%_target_cpu = %version-%release
|
||||
Provides: kernel-extra = %version-%source_rel
|
||||
Requires: %{name}_%_target_cpu = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
The standard kernel for Nvidia's Tegra SoC, as found in
|
||||
devices like the TrimSlice.
|
||||
|
||||
This package contains additional modules not supported by Novell.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun extra -f preun-extra.sh
|
||||
|
||||
%postun extra -f postun-extra.sh
|
||||
|
||||
%pre extra -f pre-extra.sh
|
||||
|
||||
%post extra -f post-extra.sh
|
||||
|
||||
%if %split_extra
|
||||
|
||||
%files extra -f kernel-extra.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
This package includes the man pages that have been generated from the
|
||||
kmsg message documentation comments.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files man
|
||||
%defattr(-,root,root)
|
||||
/usr/share/man/man9/*
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files necessary for building kernel modules
|
||||
Group: Development/Sources
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-devel = %version-%source_rel
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
|
||||
%description devel
|
||||
This package contains files necessary for building kernel modules (and
|
||||
kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%if %CONFIG_MODULES == "y"
|
||||
|
||||
%pre devel -f devel-pre.sh
|
||||
|
||||
%post devel -f devel-post.sh
|
||||
|
||||
%files devel -f kernel-devel.files
|
||||
%defattr(-,root,root)
|
||||
%dir %obj_install_dir
|
||||
%dir %obj_install_dir/%cpu_arch
|
||||
%dir /usr/src/linux-obj
|
||||
%dir /usr/src/linux-obj/%cpu_arch
|
||||
%ghost /usr/src/linux-obj/%cpu_arch_flavor
|
||||
%obj_install_dir/%cpu_arch_flavor
|
||||
%if %kmp_target_cpu != %cpu_arch
|
||||
%obj_install_dir/%kmp_target_cpu
|
||||
/usr/src/linux-obj/%kmp_target_cpu
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%package devel-debuginfo
|
||||
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
|
||||
Summary: Debug information for package %name-devel
|
||||
Group: Development/Debug
|
||||
|
||||
%description devel-debuginfo
|
||||
Debug information for package %name-devel
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files devel-debuginfo -f vmlinux.debug.files
|
||||
|
||||
%changelog
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-trace
|
||||
Summary: The Standard Kernel with Tracing Features
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -144,7 +144,7 @@ Provides: kernel-64bit
|
||||
Obsoletes: kernel-64bit
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
25320
kernel-u8500.changes
25320
kernel-u8500.changes
File diff suppressed because it is too large
Load Diff
@ -1,942 +0,0 @@
|
||||
#
|
||||
# spec file for package kernel-u8500
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define build_flavor u8500
|
||||
%define build_default (%build_flavor == "default")
|
||||
%define build_kdump (%build_flavor == "kdump")
|
||||
%define build_xen (%build_flavor == "xen" || %build_flavor == "ec2")
|
||||
%define build_vanilla (%build_flavor == "vanilla")
|
||||
%define build_ps3 (%build_flavor == "ps3")
|
||||
|
||||
%define build_src_dir %my_builddir/linux-%srcversion
|
||||
%define src_install_dir /usr/src/linux-%kernelrelease%variant
|
||||
%define obj_install_dir %src_install_dir-obj
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
|
||||
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
|
||||
# defining them all at once.)
|
||||
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT
|
||||
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
|
||||
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
|
||||
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define install_vdso 1
|
||||
%else
|
||||
%define install_vdso 0
|
||||
%endif
|
||||
|
||||
Name: kernel-u8500
|
||||
Summary: Kernel for ST-Ericsson's Nova SoC
|
||||
Version: 3.3.0
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
BuildRequires: coreutils module-init-tools sparse
|
||||
BuildRequires: fdupes
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %{name}_%_target_cpu = %version-%release
|
||||
Provides: %name = %version-%source_rel
|
||||
%if %split_base
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
# Obsolete the -base subpackage from 11.1 and 11.2 development phase
|
||||
Obsoletes: %name-base <= 2.6.31
|
||||
%endif
|
||||
Requires(pre): coreutils awk
|
||||
# Need a module-init-tools with /usr/lib/module-init-tools/weak-modules2
|
||||
Requires(post): module-init-tools >= 3.4
|
||||
# This Requires is wrong, because the post/postun scripts have a
|
||||
# test -x update-bootloader, having perl-Bootloader is not a hard requirement.
|
||||
# But, there is no way to tell rpm or yast to schedule the installation
|
||||
# of perl-Bootloader before kernel-binary.rpm if both are in the list of
|
||||
# packages to install/update. Likewise, this is true for mkinitrd.
|
||||
# Need a perl-Bootloader with /usr/lib/bootloader/bootloader_entry
|
||||
Requires(post): perl-Bootloader >= 0.4.15
|
||||
Requires(post): mkinitrd
|
||||
# Do not install p-b and mkinitrd for the install check, the %post script is
|
||||
# able to handle this
|
||||
#!BuildIgnore: perl-Bootloader mkinitrd
|
||||
# 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 fillup insserv
|
||||
|
||||
%ifarch ia64
|
||||
# arch/ia64/scripts/unwcheck.py
|
||||
BuildRequires: python
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
%if %build_vanilla && 0%{?suse_version} < 1130
|
||||
BuildRequires: dwarfextract
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
%ifarch %ix86
|
||||
%if %build_flavor != "ec2"
|
||||
Provides: kernel-xenpae = %version
|
||||
Obsoletes: kernel-xenpae < %version
|
||||
%endif
|
||||
%endif
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Provides: %name-nongpl = %version
|
||||
Obsoletes: %name-nongpl < %version
|
||||
%if %build_vanilla
|
||||
# force bzip2 instead of lzma compression to allow install on older dist versions
|
||||
%define _binary_payload w9.bzdio
|
||||
%endif
|
||||
# dead network if installed on SLES10, otherwise it will work (mostly)
|
||||
Conflicts: sysfsutils < 2.0
|
||||
%if ! %build_vanilla
|
||||
Conflicts: apparmor-profiles <= 2.1
|
||||
Conflicts: apparmor-parser < 2.3
|
||||
# root-lvm only works with newer udevs
|
||||
Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
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
|
||||
Source34: check-supported-list
|
||||
Source35: group-source-files.pl
|
||||
Source37: README.SUSE
|
||||
Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: split-modules
|
||||
Source46: 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
|
||||
Source60: config.sh
|
||||
Source61: compute-PATCHVERSION.sh
|
||||
Source62: old-packages.conf
|
||||
Source63: arch-symbols
|
||||
Source64: package-descriptions
|
||||
Source65: kernel-spec-macros
|
||||
Source66: configtool.pl
|
||||
Source67: log.sh
|
||||
Source68: host-memcpy-hack.h
|
||||
Source69: try-disable-staging-driver
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: armv7l
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
NoSource: 103
|
||||
NoSource: 104
|
||||
NoSource: 105
|
||||
NoSource: 106
|
||||
NoSource: 107
|
||||
NoSource: 108
|
||||
NoSource: 109
|
||||
NoSource: 110
|
||||
NoSource: 111
|
||||
NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
# sles10 / 10.3
|
||||
Obsoletes: iwlwifi-kmp-%build_flavor < %version
|
||||
Provides: iwlwifi-kmp-%build_flavor = %version
|
||||
Obsoletes: ipw3945-kmp-%build_flavor < %version
|
||||
Provides: ipw3945-kmp-%build_flavor = %version
|
||||
# sles10 / 11.0
|
||||
Obsoletes: uvcvideo-kmp-%build_flavor < %version
|
||||
Provides: uvcvideo-kmp-%build_flavor = %version
|
||||
# 11.0
|
||||
Obsoletes: atl2-kmp-%build_flavor < %version
|
||||
Provides: atl2-kmp-%build_flavor = %version
|
||||
Obsoletes: at76_usb-kmp-%build_flavor < %version
|
||||
Provides: at76_usb-kmp-%build_flavor = %version
|
||||
Obsoletes: btusb-kmp-%build_flavor < %version
|
||||
Provides: btusb-kmp-%build_flavor = %version
|
||||
Obsoletes: et131x-kmp-%build_flavor < %version
|
||||
Provides: et131x-kmp-%build_flavor = %version
|
||||
Obsoletes: ivtv-kmp-%build_flavor < %version
|
||||
Provides: ivtv-kmp-%build_flavor = %version
|
||||
Obsoletes: pcc-acpi-kmp-%build_flavor < %version
|
||||
Provides: pcc-acpi-kmp-%build_flavor = %version
|
||||
Obsoletes: wlan-ng-kmp-%build_flavor < %version
|
||||
Provides: wlan-ng-kmp-%build_flavor = %version
|
||||
# sle11-ga
|
||||
Obsoletes: brocade-bfa-kmp-%build_flavor < %version
|
||||
Provides: brocade-bfa-kmp-%build_flavor = %version
|
||||
Obsoletes: enic-kmp-%build_flavor < %version
|
||||
Provides: enic-kmp-%build_flavor = %version
|
||||
Obsoletes: fnic-kmp-%build_flavor < %version
|
||||
Provides: fnic-kmp-%build_flavor = %version
|
||||
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor < %version
|
||||
Provides: iwlagn-2-6-27-kmp-%build_flavor = %version
|
||||
Obsoletes: kvm-kmp-%build_flavor < %version
|
||||
Provides: kvm-kmp-%build_flavor = %version
|
||||
Obsoletes: msi-wmi-kmp-%build_flavor < %version
|
||||
Provides: msi-wmi-kmp-%build_flavor = %version
|
||||
Obsoletes: perfmon-kmp-%build_flavor < %version
|
||||
Provides: perfmon-kmp-%build_flavor = %version
|
||||
# sle11
|
||||
Obsoletes: ocfs2-kmp-%build_flavor < %version
|
||||
Provides: ocfs2-kmp-%build_flavor = %version
|
||||
# 11.1
|
||||
Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
|
||||
Provides: quickcam-kmp-%build_flavor = 0.6.7
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
%description
|
||||
The standard kernel for ST-Ericsson's Nova SoC, as found in
|
||||
devices like the Snowball.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%prep
|
||||
if ! [ -e %_sourcedir/linux-%srcversion.tar.bz2 ]; then
|
||||
echo "The %name-%version.nosrc.rpm package does not contain the" \
|
||||
"complete sources. Please install kernel-source-%version.src.rpm."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SYMBOLS=
|
||||
if test -e %_sourcedir/extra-symbols; then
|
||||
SYMBOLS=$(cat %_sourcedir/extra-symbols)
|
||||
echo "extra symbol(s):" $SYMBOLS
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
mkdir -p %kernel_build_dir
|
||||
|
||||
supported_conf() {
|
||||
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u
|
||||
}
|
||||
|
||||
# Generate the list of modules to be marked as supported
|
||||
{ supported_conf base
|
||||
supported_conf --default=0 external | sed 's/$/ external/'
|
||||
} > %kernel_build_dir/Module.supported
|
||||
supported_conf --default=0 base >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
%_sourcedir/apply-patches \
|
||||
%if %{build_vanilla}
|
||||
--vanilla \
|
||||
%endif
|
||||
%_sourcedir/series.conf .. $SYMBOLS
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
# Override the timestamp 'uname -v' reports with the source timestamp and
|
||||
# the commit hash.
|
||||
date=$(head -n 1 %_sourcedir/source-timestamp)
|
||||
commit=$(sed -n 's/GIT Revision: //p' %_sourcedir/source-timestamp)
|
||||
cat > .kernel-binary.spec.buildenv <<EOF
|
||||
export KBUILD_BUILD_TIMESTAMP="$(LANG=C date -d "$date") (${commit:0:7})"
|
||||
export KBUILD_VERBOSE=0
|
||||
export KBUILD_SYMTYPES=1
|
||||
export KBUILD_OVERRIDE=1
|
||||
export KBUILD_BUILD_USER=geeko
|
||||
export KBUILD_BUILD_HOST=buildhost
|
||||
export HOST_EXTRACFLAGS="-include %_sourcedir/host-memcpy-hack.h"
|
||||
EOF
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
if test -e ../config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
%_sourcedir/configtool.pl ../config{,.addon}/%cpu_arch_flavor >.config
|
||||
else
|
||||
cp ../config/%cpu_arch_flavor .config
|
||||
fi
|
||||
%build_src_dir/scripts/config \
|
||||
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \
|
||||
--enable CONFIG_SUSE_KERNEL \
|
||||
%if 0%{?__debug_package:1}
|
||||
--enable CONFIG_DEBUG_INFO \
|
||||
--disable CONFIG_DEBUG_INFO_REDUCED
|
||||
%else
|
||||
--disable CONFIG_DEBUG_INFO
|
||||
%endif
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS -C %build_src_dir O=$PWD"
|
||||
if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then
|
||||
yes '' | make oldconfig $MAKE_ARGS
|
||||
else
|
||||
cp .config .config.orig
|
||||
make silentoldconfig $MAKE_ARGS < /dev/null
|
||||
%_sourcedir/check-for-config-changes .config.orig .config
|
||||
rm .config.orig
|
||||
fi
|
||||
|
||||
make prepare $MAKE_ARGS
|
||||
make scripts $MAKE_ARGS
|
||||
krel=$(make -s kernelrelease $MAKE_ARGS)
|
||||
|
||||
if [ "$krel" != "%kernelrelease-%build_flavor" ]; then
|
||||
echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
source .kernel-binary.spec.buildenv
|
||||
|
||||
# create *.symref files in the tree
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# The %{_smp_mflags} macro is defined to a number, make will spawn that many jobs.
|
||||
# There are several ways how to define it:
|
||||
# If you are using the build script:
|
||||
# build --jobs=N kernel-$flavor.spec
|
||||
# With plain rpmbuild:
|
||||
# rpmbuild -ba --define 'jobs N' kernel-$flavor.spec
|
||||
# To spawn as many jobs as there are cpu cores:
|
||||
# rpmbuild -ba --define "%_smp_mflags -j 0$(grep -Ec 'cpu[0-9]' /proc/stat)" \
|
||||
# kernel-$flavor.spec
|
||||
# You can also set this permanently in ~/.rpmmacros:
|
||||
# %_smp_mflags -j 0%(grep -Ec 'cpu[0-9]' /proc/stat)
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
chmod +x ../linux-%srcversion/scripts/kmsg-doc
|
||||
MAKE_ARGS="$MAKE_ARGS D=2"
|
||||
%endif
|
||||
|
||||
while true; do
|
||||
make %{?_smp_mflags} all $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \
|
||||
| tee buildlog
|
||||
if test "${PIPESTATUS[0]}" -eq 0; then
|
||||
break
|
||||
fi
|
||||
# In the linux-next and vanilla branches, we try harder to build a
|
||||
# package.
|
||||
if test 0%vanilla_only -gt 0 &&
|
||||
%_sourcedir/try-disable-staging-driver buildlog; then
|
||||
echo "Retrying make"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export STRIP_KEEP_SYMTAB='*/vmlinux-*'
|
||||
|
||||
# /lib/modules/%kernelrelease-%build_flavor/build will be a stale symlink until the
|
||||
# kernel-devel package is installed. Don't check for stale symlinks
|
||||
# in the brp-symlink check:
|
||||
export NO_BRP_STALE_LINK_ERROR=yes
|
||||
|
||||
cd %kernel_build_dir
|
||||
|
||||
mkdir -p %buildroot/boot
|
||||
# (Could strip out non-public symbols.)
|
||||
cp -p System.map %buildroot/boot/System.map-%kernelrelease-%build_flavor
|
||||
|
||||
add_vmlinux()
|
||||
{
|
||||
local vmlinux=boot/vmlinux-%kernelrelease-%build_flavor compressed=false
|
||||
|
||||
if test $1 == "--compressed"; then
|
||||
compressed=true
|
||||
fi
|
||||
cp vmlinux %buildroot/$vmlinux
|
||||
>%my_builddir/vmlinux.debug.files
|
||||
%if 0%{?__debug_package:1}
|
||||
if $compressed; then
|
||||
local vmlinux_debug=usr/lib/debug/$vmlinux.debug
|
||||
mkdir -p $(dirname %buildroot/$vmlinux_debug)
|
||||
/usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug \
|
||||
-l vmlinux.sourcefiles %buildroot/$vmlinux
|
||||
# FIXME: create and package build-id symlinks
|
||||
objcopy --only-keep-debug \
|
||||
%buildroot/$vmlinux \
|
||||
%buildroot/$vmlinux_debug || :
|
||||
objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \
|
||||
--strip-debug \
|
||||
%buildroot/$vmlinux || :
|
||||
mkdir -p %buildroot/usr/src/debug
|
||||
LANG=C sort -z -u vmlinux.sourcefiles | grep -Ezv "<(built-in|stdin)>" \
|
||||
| ( cd %_builddir && cpio -pd0m %buildroot/usr/src/debug )
|
||||
find %buildroot/usr/src/debug -type d -print0 | xargs -0 -r chmod 0755
|
||||
find %buildroot/usr/src/debug -type f -print0 | xargs -0 -r chmod 0644
|
||||
echo -e "%%defattr(-, root, root)\\n/$vmlinux_debug" >%my_builddir/vmlinux.debug.files
|
||||
else
|
||||
# make vmlinux executable so that find-debuginfo.sh picks it up
|
||||
# (TODO: fix find-debuginfo.sh instead)
|
||||
chmod +x %buildroot/$vmlinux
|
||||
fi
|
||||
%endif
|
||||
if $compressed; then
|
||||
gzip -n -9 %buildroot/$vmlinux
|
||||
chmod a-x %buildroot/$vmlinux.gz
|
||||
fi
|
||||
}
|
||||
|
||||
%if %build_kdump
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%else
|
||||
|
||||
# architecture specifics
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
%if %build_xen
|
||||
image=vmlinuz
|
||||
%else
|
||||
image=bzImage
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch alpha
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/alpha/boot/vmlinux.gz %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch ppc ppc64
|
||||
add_vmlinux
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch ia64
|
||||
add_vmlinux --compressed
|
||||
mv %buildroot/boot/vmlinux-%kernelrelease-%build_flavor.gz \
|
||||
%buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
%ifarch s390 s390x
|
||||
add_vmlinux --compressed
|
||||
cp -p arch/s390/boot/image %buildroot/boot/image-%kernelrelease-%build_flavor
|
||||
image=image
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
cp -p arch/s390/boot/kerntypes.o %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)"; then
|
||||
dwarfextract vmlinux %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
mkdir -p %buildroot/usr/share/man/man9
|
||||
find man -name '*.9' -exec install -m 644 -D '{}' %buildroot/usr/share/man/man9/ ';'
|
||||
%endif
|
||||
%endif
|
||||
%ifarch sparc64
|
||||
add_vmlinux --compressed
|
||||
image=zImage
|
||||
cp -p arch/sparc/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinux
|
||||
%endif
|
||||
%ifarch %arm
|
||||
add_vmlinux --compressed
|
||||
# quickly compile uImage so we have something to boot from
|
||||
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||
image=uImage
|
||||
cp -p arch/arm/boot/$image %buildroot/boot/uImage-%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
# end of build_kdump
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
*) base_package=0 ;;
|
||||
esac
|
||||
for script in preun postun pre post devel-pre devel-post; do
|
||||
sed -e "s:@KERNELRELEASE@:%kernelrelease:g" \
|
||||
-e "s:@IMAGE@:$image:g" \
|
||||
-e "s:@FLAVOR""@:%build_flavor:g" \
|
||||
-e "s:@SUBPACKAGE@:%name$sub:g" \
|
||||
-e "s:@BASE_PACKAGE@:$base_package:g" \
|
||||
-e "s:@RPM_VERSION_RELEASE@:%version-%release:g" \
|
||||
-e "s:@RPM_TARGET_CPU@:%_target_cpu:g" \
|
||||
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
|
||||
-e "s:@SRCVARIANT@:%variant:g" \
|
||||
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_kdump || %build_xen || %build_vanilla || %build_ps3
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
ln -s $image$suffix %buildroot/boot/$image$suffix
|
||||
ln -s initrd$suffix %buildroot/boot/initrd$suffix
|
||||
|
||||
cp -p .config %buildroot/boot/config-%kernelrelease-%build_flavor
|
||||
sysctl_file=%buildroot/boot/sysctl.conf-%kernelrelease-%build_flavor
|
||||
for file in %my_builddir/sysctl/{defaults,%cpu_arch/arch-defaults,%cpu_arch_flavor}; do
|
||||
if [ -f "$file" ]; then
|
||||
cat "$file"
|
||||
fi
|
||||
done | sed '1i # Generated file - do not edit.' >$sysctl_file
|
||||
if [ ! -s $sysctl_file ]; then
|
||||
rm $sysctl_file
|
||||
fi
|
||||
|
||||
%if %install_vdso
|
||||
# Install the unstripped vdso's that are linked in the kernel image
|
||||
make vdso_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
%endif
|
||||
|
||||
# Create a dummy initrd with roughly the size the real one will have.
|
||||
# That way, YaST will know that this package requires some additional
|
||||
# space in /boot.
|
||||
dd if=/dev/zero of=%buildroot/boot/initrd-%kernelrelease-%build_flavor \
|
||||
bs=1024 seek=2047 count=1
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
mkdir -p %rpm_install_dir/%cpu_arch_flavor
|
||||
mkdir -p %buildroot/usr/src/linux-obj/%cpu_arch
|
||||
ln -s %build_flavor %buildroot/usr/src/linux-obj/%cpu_arch_flavor
|
||||
|
||||
gzip -n -c9 < Module.symvers > %buildroot/boot/symvers-%kernelrelease-%build_flavor.gz
|
||||
|
||||
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
|
||||
if ! %_sourcedir/check-supported-list \
|
||||
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
|
||||
%if %supported_modules_check
|
||||
exit 1
|
||||
%endif
|
||||
echo "Consistency check error: please update supported.conf."
|
||||
fi
|
||||
|
||||
%ifarch s390 s390x
|
||||
if test -e arch/s390/boot/kerntypes.o; then
|
||||
:
|
||||
elif test -x "$(which dwarfextract 2>/dev/null)" -a \
|
||||
-f %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor; then
|
||||
find %buildroot -name "*.ko" > kofiles.list
|
||||
dwarfextract %buildroot/boot/Kerntypes-%kernelrelease-%build_flavor -C kofiles.list || echo "dwarfextract failed ($?)"
|
||||
fi
|
||||
%endif
|
||||
|
||||
# Also put the resulting file in %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
# so that kernel-devel + kernel-%build_flavor is sufficient for building
|
||||
# modules that have modversions as well.
|
||||
mkdir -p %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
cp Module.symvers %rpm_install_dir/%cpu_arch/%build_flavor
|
||||
|
||||
# Table of types used in exported symbols (for modversion debugging).
|
||||
%_sourcedir/modversions --pack . > %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
if [ -s %buildroot/boot/symtypes-%kernelrelease-%build_flavor ]; then
|
||||
gzip -n -9 %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
else
|
||||
rm -f %buildroot/boot/symtypes-%kernelrelease-%build_flavor
|
||||
fi
|
||||
|
||||
# Some architecture's $(uname -m) output is different from the ARCH
|
||||
# parameter that needs to be passed to kbuild. Create symlinks from
|
||||
# $(uname -m) to the ARCH directory.
|
||||
if [ ! -e %rpm_install_dir/%kmp_target_cpu ]; then
|
||||
ln -sf %cpu_arch %rpm_install_dir/%kmp_target_cpu
|
||||
ln -sf %cpu_arch %buildroot/usr/src/linux-obj/%kmp_target_cpu
|
||||
fi
|
||||
|
||||
# We were building in %my_builddir/linux-%srcversion, but the sources will
|
||||
# later be installed in /usr/src/linux-%srcversion-%source_rel. Fix up the
|
||||
# build symlink.
|
||||
rm -f %buildroot/lib/modules/%kernelrelease-%build_flavor/{source,build}
|
||||
ln -s %src_install_dir \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/source
|
||||
ln -s %obj_install_dir/%cpu_arch/%build_flavor \
|
||||
%buildroot/lib/modules/%kernelrelease-%build_flavor/build
|
||||
|
||||
# Abort if there are any undefined symbols
|
||||
msg="$(/sbin/depmod -F %buildroot/boot/System.map-%kernelrelease-%build_flavor \
|
||||
-b %buildroot -ae %kernelrelease-%build_flavor 2>&1)"
|
||||
if [ $? -ne 0 ] || echo "$msg" | grep 'needs unknown symbol'; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if ! %supported_modules_check
|
||||
-i \
|
||||
%endif
|
||||
-s %kernel_build_dir/Module.supported
|
||||
%if ! %split_extra
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
%_sourcedir/kabi.pl --rules %my_builddir/kabi/severities \
|
||||
%my_builddir/kabi/%cpu_arch/symvers-%build_flavor \
|
||||
Module.symvers || res=$?
|
||||
fi
|
||||
if [ $res -ne 0 ]; then
|
||||
if [ ! -e %my_builddir/kabi/%cpu_arch/ignore-%build_flavor -a \
|
||||
! -e %_sourcedir/IGNORE-KABI-BADNESS ]; then
|
||||
echo "Create a file IGNORE-KABI-BADNESS in the kernel-source" \
|
||||
"directory to build this kernel even though its badness is" \
|
||||
"higher than allowed for an official kernel."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# arch/powerpc/lib/crtsavres.o is required for building external
|
||||
# modules on powerpc
|
||||
if [ -f %kernel_build_dir/arch/powerpc/lib/crtsavres.o ]; then
|
||||
echo arch/powerpc/lib/crtsavres.o >> %my_builddir/obj-files
|
||||
fi
|
||||
|
||||
tar -cf - -T %my_builddir/obj-files | \
|
||||
tar -xf - -C %rpm_install_dir/%cpu_arch_flavor
|
||||
# bnc#507084
|
||||
find %rpm_install_dir/%cpu_arch_flavor/scripts -type f -perm -111 | \
|
||||
while read f; do
|
||||
case "$(file -b "$f")" in
|
||||
ELF\ *\ executable*)
|
||||
strip "$f"
|
||||
esac
|
||||
done
|
||||
# Replace the absolute with a relative path
|
||||
sed -i "s,%build_src_dir,../../../linux-%kernelrelease%variant,g" \
|
||||
%rpm_install_dir/%cpu_arch_flavor/Makefile
|
||||
fi
|
||||
|
||||
add_dirs_to_filelist() {
|
||||
sed -rn '
|
||||
# print file name
|
||||
p
|
||||
# remove filelist macros
|
||||
s:%%[a-z]+(\([^)]+\))? ?::g
|
||||
# add %%dir prefix
|
||||
s:^:%%dir :
|
||||
# print all parents
|
||||
:a
|
||||
# skip directories owned by other packages
|
||||
s:^%%dir (/boot|/etc|/lib/(modules|firmware)|/usr/src)/[^/]+$::
|
||||
s:/[^/]+$::p
|
||||
ta
|
||||
' "$@" | sort -u
|
||||
}
|
||||
|
||||
# Collect the file lists.
|
||||
shopt -s nullglob
|
||||
> %my_builddir/kernel-devel.files
|
||||
for file in %buildroot/boot/symtypes* %buildroot/lib/modules/*/{build,source}; do
|
||||
f=${file##%buildroot}
|
||||
echo "$f" >> %my_builddir/kernel-devel.files
|
||||
done
|
||||
|
||||
{ cd %buildroot
|
||||
find boot \
|
||||
\( -type l -o -name 'initrd-*' \) -printf '%%%%ghost /%%p\n' -o \
|
||||
-type f -name 'vmlinux-*' -printf '%%%%attr(0644, root, root) /%%p\n' -o \
|
||||
-type f -printf '/%%p\n'
|
||||
|
||||
# Add the auto-generated (by mkdumprd) kdump initrd to %ghost so that
|
||||
# the file gets removed when uninstalling the kernel.
|
||||
echo '%%ghost /boot/initrd-%kernelrelease-kdump'
|
||||
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-kdump
|
||||
|
||||
if [ %CONFIG_MODULES = y ]; then
|
||||
find lib/modules/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
\( -path '*/modules.*' ! -path '*/modules.order' \
|
||||
! -path '*/modules.builtin' \) -printf '%%%%ghost /%%p\n' \
|
||||
-o -name '*.ko' -prune -o -printf '/%%p\n'
|
||||
cat %my_builddir/base-modules
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u >%my_builddir/tmp
|
||||
cat %my_builddir/tmp %my_builddir/kernel-devel.files | sort | uniq -u | \
|
||||
add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
rm %my_builddir/tmp
|
||||
|
||||
%if %split_base
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
# /usr/src/linux-obj intentionally, to not accidentally break timestamps there
|
||||
%fdupes $RPM_BUILD_ROOT/lib
|
||||
|
||||
%preun -f preun.sh
|
||||
|
||||
%postun -f postun.sh
|
||||
|
||||
%pre -f pre.sh
|
||||
|
||||
%post -f post.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files -f kernel-main.files
|
||||
%defattr(-, root, root)
|
||||
%else
|
||||
|
||||
%files -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package base
|
||||
Summary: Kernel for ST-Ericsson's Nova SoC - base modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: kernel-base = %version-%source_rel
|
||||
Conflicts: %name = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
The standard kernel for ST-Ericsson's Nova SoC, as found in
|
||||
devices like the Snowball.
|
||||
|
||||
This package contains only the base modules, required in all installs.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun base -f preun-base.sh
|
||||
|
||||
%postun base -f postun-base.sh
|
||||
|
||||
%pre base -f pre-base.sh
|
||||
|
||||
%post base -f post-base.sh
|
||||
|
||||
%if %split_base
|
||||
|
||||
%files base -f kernel-base.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%package extra
|
||||
Summary: Kernel for ST-Ericsson's Nova SoC - Unsupported kernel modules
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-extra_%_target_cpu = %version-%release
|
||||
Provides: kernel-extra = %version-%source_rel
|
||||
Requires: %{name}_%_target_cpu = %version-%release
|
||||
Requires(pre): coreutils awk
|
||||
Requires(post): module-init-tools
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
The standard kernel for ST-Ericsson's Nova SoC, as found in
|
||||
devices like the Snowball.
|
||||
|
||||
This package contains additional modules not supported by Novell.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%preun extra -f preun-extra.sh
|
||||
|
||||
%postun extra -f postun-extra.sh
|
||||
|
||||
%pre extra -f pre-extra.sh
|
||||
|
||||
%post extra -f post-extra.sh
|
||||
|
||||
%if %split_extra
|
||||
|
||||
%files extra -f kernel-extra.files
|
||||
%defattr(-, root, root)
|
||||
%endif
|
||||
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
This package includes the man pages that have been generated from the
|
||||
kmsg message documentation comments.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files man
|
||||
%defattr(-,root,root)
|
||||
/usr/share/man/man9/*
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: Development files necessary for building kernel modules
|
||||
Group: Development/Sources
|
||||
Provides: multiversion(kernel)
|
||||
Provides: %name-devel = %version-%source_rel
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
|
||||
%description devel
|
||||
This package contains files necessary for building kernel modules (and
|
||||
kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%if %CONFIG_MODULES == "y"
|
||||
|
||||
%pre devel -f devel-pre.sh
|
||||
|
||||
%post devel -f devel-post.sh
|
||||
|
||||
%files devel -f kernel-devel.files
|
||||
%defattr(-,root,root)
|
||||
%dir %obj_install_dir
|
||||
%dir %obj_install_dir/%cpu_arch
|
||||
%dir /usr/src/linux-obj
|
||||
%dir /usr/src/linux-obj/%cpu_arch
|
||||
%ghost /usr/src/linux-obj/%cpu_arch_flavor
|
||||
%obj_install_dir/%cpu_arch_flavor
|
||||
%if %kmp_target_cpu != %cpu_arch
|
||||
%obj_install_dir/%kmp_target_cpu
|
||||
/usr/src/linux-obj/%kmp_target_cpu
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%package devel-debuginfo
|
||||
# rpm doesn't notice that vmlinux.debug belongs to the gzipped vmlinux.gz
|
||||
Summary: Debug information for package %name-devel
|
||||
Group: Development/Debug
|
||||
|
||||
%description devel-debuginfo
|
||||
Debug information for package %name-devel
|
||||
|
||||
|
||||
%source_timestamp
|
||||
%files devel-debuginfo -f vmlinux.debug.files
|
||||
|
||||
%changelog
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-vanilla
|
||||
Summary: The Standard Kernel - without any SUSE patches
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -140,7 +140,7 @@ Provides: kernel-64bit
|
||||
Obsoletes: kernel-64bit
|
||||
%endif
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +1,138 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 21:38:34 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- dl2k: Tighten ioctl permissions (bnc#758813).
|
||||
- commit 8d00242
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:54:06 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc4.
|
||||
- commit 37113a8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 19:47:45 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update config files: Merged omap2plus changes.
|
||||
- commit f0e2149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 18:09:06 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Update Xen patches to 3.4-rc3 and c/s 1172.
|
||||
- config.conf: Re-enabled Xen configs.
|
||||
- Update config files.
|
||||
- commit 9f943f6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 15:59:19 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc3.
|
||||
- Eliminated 1 patch.
|
||||
- commit 2fde7e0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 13 10:52:49 CEST 2012 - jbeulich@novell.com
|
||||
|
||||
- Drivers: scsi: storvsc: Account for in-transit packets in the
|
||||
RESET path.
|
||||
- commit 4c1e258
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 03:28:12 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update to 3.4-rc2.
|
||||
- commit 976094f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 6 06:42:35 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update AppArmor for 3.4.
|
||||
- apparmor: Add "profiles" list to sysfs.
|
||||
- commit 59517ac
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 22:25:16 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Update richacl patchset for 3.4.
|
||||
- commit f13764e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 09:18:14 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- Updated to 3.4-rc1.
|
||||
- Eliminated 121 patches.
|
||||
- Xen is unavailable.
|
||||
- ACPI overrides are unavailable.
|
||||
- AppArmor network feature are unavailable.
|
||||
- commit 3ac7e79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 5 08:41:08 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- Updated patch headers
|
||||
- commit 09c9338
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 19:27:06 CEST 2012 - ohering@suse.de
|
||||
|
||||
- Drivers: scsi: storvsc: Properly handle errors from the host
|
||||
(bnc#747404).
|
||||
- commit 2f7920e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 18:29:53 CEST 2012 - jeffm@suse.de
|
||||
|
||||
- armv7l: Disable CONFIG_TOUCHSCREEN_EGALAX on default and u8500 due to missing infrastructure.
|
||||
- commit b614c98
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:52:46 CEST 2012 - jslaby@suse.cz
|
||||
|
||||
- samsung-laptop: make the dmi check less strict (bnc#746695).
|
||||
- commit 170a6a2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 14:21:05 CEST 2012 - tiwai@suse.de
|
||||
|
||||
- drm/i915: suspend fbdev device around suspend/hibernate
|
||||
(bnc#732908).
|
||||
- commit 028c29f
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 21:32:40 CEST 2012 - jeffm@suse.com
|
||||
|
||||
- net: fix a potential rcu_read_lock() imbalance in
|
||||
rt6_fill_node() (bnc#754186).
|
||||
- commit 8d5a9e4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:52:26 CEST 2012 - ohering@suse.de
|
||||
|
||||
- net/hyperv: Fix the code handling tx busy.
|
||||
- Tools: hv: Support enumeration from all the pools.
|
||||
- Tools: hv: Fully support the new KVP verbs in the user level
|
||||
daemon.
|
||||
- Drivers: hv: Support the newly introduced KVP messages in
|
||||
the driver.
|
||||
- Drivers: hv: Add new message types to enhance KVP.
|
||||
- net/hyperv: Add support for vlan trunking from guests.
|
||||
- net/hyperv: Fix data corruption in rndis_filter_receive().
|
||||
- drivers: hv: Increase the number of VCPUs supported in the
|
||||
guest.
|
||||
- drivers: hv: kvp: Cleanup the kernel/user protocol.
|
||||
- tools: hv: Use hyperv.h to get the KVP definitions.
|
||||
- drivers: hv: Cleanup the kvp related state in hyperv.h.
|
||||
- net/hyperv: Remove the unnecessary memset in
|
||||
rndis_filter_send().
|
||||
- net/hyperv: Correct the assignment in netvsc_recv_callback().
|
||||
- net/hyperv: Convert camel cased variables in rndis_filter.c
|
||||
to lower cases.
|
||||
- drivers: hv: kvp: Move the contents of hv_kvp.h to hyperv.h.
|
||||
- drivers: hv: kvp: Add/cleanup connector defines.
|
||||
- drivers: hv: Get rid of some unnecessary code.
|
||||
- commit 78acc3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 24 01:11:53 CET 2012 - dsterba@suse.cz
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define srcversion 3.3
|
||||
%define patchversion 3.3.0
|
||||
%define srcversion 3.4-rc4
|
||||
%define patchversion 3.4.0-rc4
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
Name: kernel-xen
|
||||
Summary: The Xen Kernel
|
||||
Version: 3.3.0
|
||||
Version: 3.4.rc4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
@ -133,7 +133,7 @@ Conflicts: libc.so.6()(64bit)
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8fd669b4e48181b8d44644a45bf421a84bb8d5ec273ef36349796443e442f333
|
||||
size 78963640
|
3
linux-3.4-rc4.tar.bz2
Normal file
3
linux-3.4-rc4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:288ef4c15a176104f1274e9e815aab3564490eb1c8086efe94a3c7fbc73c6057
|
||||
size 80182812
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e983af76e408802b165419548b17ed95e8d7b5765022505f9e8665ee3bfbbae2
|
||||
size 8006
|
||||
oid sha256:7268383d0dd96706f356df1b842d48c2b5dfb43dc18f56519ea29c4bc138dc8c
|
||||
size 6581
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5359e01863e5f8ecd92c1684b5bf4738b875bd40b6987ee97b64ea4c6298f7fd
|
||||
size 84334
|
||||
oid sha256:3fe4344bc68aa38d0c05209c28428719a127ffd6d8fbc1f571170fced64808d2
|
||||
size 66496
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef82ca2f89bfb9c126992981e2978ca471378df80ae4889096ca5e73dfc7a972
|
||||
size 8101
|
||||
oid sha256:37d9485071e67413549494ed6915cb83c87e57de99bcb749a732d5fd926776ea
|
||||
size 8123
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b7532abbe2263f6a4de9615ef2e06f27fbf20f167d377d35918c5cf36c95084e
|
||||
size 21094
|
||||
oid sha256:837ad310debe829597f604defb044c376b6b1e275c0c8945cac46ffef5027d6f
|
||||
size 21281
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:950aa61336d34c5a271266d235fe07218b859b3b7a6b89034907774170ac9db0
|
||||
size 202992
|
||||
oid sha256:5f4a6142a606baf0f4515fb0ac28014e2cb2e75841588610111057c9a48a18dd
|
||||
size 127747
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83ffa02112c00bc94d21a608ef373841ae9563ca1c0eb8244ccf328235b86f1a
|
||||
size 2096671
|
||||
oid sha256:917d963d8a6c05c6aaadd724dc3f1115d54a615d097e66d7fb40f7fc6c572ee6
|
||||
size 2081606
|
||||
|
146
series.conf
146
series.conf
@ -105,27 +105,6 @@
|
||||
########################################################
|
||||
patches.arch/x86_64-hpet-64bit-timer.patch
|
||||
|
||||
# Queued for 3.4, please remove the autoload patches then
|
||||
# including the autoload_fixes below
|
||||
patches.arch/001-x86_autoload.patch
|
||||
patches.arch/002-x86_autoload.patch
|
||||
patches.arch/003-x86_autoload.patch
|
||||
patches.arch/004-x86_autoload.patch
|
||||
patches.arch/005-x86_autoload.patch
|
||||
patches.arch/006-x86_autoload.patch
|
||||
patches.arch/007-x86_autoload.patch
|
||||
patches.arch/008-x86_autoload.patch
|
||||
patches.arch/009-x86_autoload.patch
|
||||
patches.arch/010-x86_autoload.patch
|
||||
|
||||
patches.arch/001-x86_autoload_fixes.patch
|
||||
patches.arch/002-x86_autoload_fixes.patch
|
||||
patches.arch/003-x86_autoload_fixes.patch
|
||||
patches.arch/004-x86_autoload_fixes.patch
|
||||
patches.arch/005-x86_autoload_fixes.patch
|
||||
patches.arch/006-x86_autoload_fixes.patch
|
||||
patches.arch/007-x86_autoload_fixes.patch
|
||||
|
||||
+needs_update patches.arch/kvm-split-paravirt-ops-by-functionality
|
||||
+needs_update patches.arch/kvm-only-export-selected-pv-ops-feature-structs
|
||||
+needs_update patches.arch/kvm-split-the-KVM-pv-ops-support-by-feature
|
||||
@ -164,9 +143,6 @@
|
||||
patches.arch/ppc64-xmon-dmesg-printing.patch
|
||||
patches.arch/ppc-prom-nodisplay.patch
|
||||
patches.fixes/ptrace-getsiginfo
|
||||
# KVM patches for OBS
|
||||
patches.arch/ppc-kvm-convert-rma-allocation.patch
|
||||
patches.arch/ppc-kvm-add-hpt-preallocator.patch
|
||||
|
||||
########################################################
|
||||
# PS3
|
||||
@ -236,9 +212,10 @@
|
||||
|
||||
patches.drivers/apei_allow_drivers_access_nvs_ram.patch
|
||||
|
||||
patches.arch/acpica_introduce_acpi_os_phys_table_override_function.patch
|
||||
patches.arch/acpica_fix_wrongly_mapped_acpi_table_header_when_overriding_via_initrd.patch
|
||||
patches.arch/acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch
|
||||
# Needs comparison with f7b004a17c9183f023796dea0d70284684ec000d
|
||||
+trenn patches.arch/acpica_introduce_acpi_os_phys_table_override_function.patch
|
||||
+trenn patches.arch/acpica_fix_wrongly_mapped_acpi_table_header_when_overriding_via_initrd.patch
|
||||
+trenn patches.arch/acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch
|
||||
|
||||
patches.arch/dell_latitude_e6xxx_e5xxx__fix_reboot.patch
|
||||
|
||||
@ -258,23 +235,9 @@
|
||||
########################################################
|
||||
# Suse specific stuff
|
||||
########################################################
|
||||
patches.suse/msft-hv-0309-Staging-hv-storvsc-Cleanup-some-comments.patch
|
||||
patches.suse/msft-hv-0310-Staging-hv-storvsc-Cleanup-storvsc_probe.patch
|
||||
patches.suse/msft-hv-0311-Staging-hv-storvsc-Cleanup-storvsc_queuecommand.patch
|
||||
patches.suse/msft-hv-0312-Staging-hv-storvsc-Introduce-defines-for-srb-stat.patch
|
||||
patches.suse/msft-hv-0313-Staging-hv-storvsc-Cleanup-storvsc_host_reset_han.patch
|
||||
patches.suse/msft-hv-0314-Staging-hv-storvsc-Move-and-cleanup-storvsc_remov.patch
|
||||
patches.suse/msft-hv-0315-Staging-hv-storvsc-Add-a-comment-to-explain-life.patch
|
||||
patches.suse/msft-hv-0316-Staging-hv-storvsc-Get-rid-of-the-on_io_completio.patch
|
||||
patches.suse/msft-hv-0317-Staging-hv-storvsc-Rename-the-context-field-in-hv.patch
|
||||
patches.suse/msft-hv-0318-Staging-hv-storvsc-Miscellaneous-cleanup-of-storv.patch
|
||||
patches.suse/msft-hv-0319-Staging-hv-storvsc-Cleanup-the-code-for-generatin.patch
|
||||
patches.suse/msft-hv-0320-Staging-hv-storvsc-Cleanup-some-protocol-related.patch
|
||||
patches.suse/msft-hv-0321-Staging-hv-storvsc-Get-rid-of-some-unused-defines.patch
|
||||
patches.suse/msft-hv-0322-Staging-hv-storvsc-Consolidate-the-request-struct.patch
|
||||
patches.suse/msft-hv-0323-Staging-hv-storvsc-Consolidate-all-the-wire-proto.patch
|
||||
patches.suse/msft-hv-0324-Staging-hv-storvsc-Move-the-storage-driver-out-of.patch
|
||||
patches.suse/suse-hv-storvsc-ignore-ata_16.patch
|
||||
patches.suse/suse-hv-pata_piix-ignore-disks.patch
|
||||
patches.fixes/hv-storvsc-reset-wait.patch
|
||||
|
||||
########################################################
|
||||
# Networking, IPv6
|
||||
@ -309,90 +272,6 @@
|
||||
########################################################
|
||||
# btrfs
|
||||
########################################################
|
||||
patches.suse/btrfs-add-btrfs_panic
|
||||
patches.suse/btrfs-catch-locking-failures-in-set-clear-extent_bit
|
||||
patches.suse/btrfs-panic-on-bad-rbtree-operations
|
||||
patches.suse/btrfs-simplify-btrfs_insert_root
|
||||
patches.suse/btrfs-btrfs_tree_unlock-should-return-void
|
||||
patches.suse/btrfs-clean_tree_block-should-panic-on-error-and-return-void
|
||||
patches.suse/btrfs-btrfs_reserve_extent-check-sinfo
|
||||
patches.suse/btrfs-clear_extent_bit-api-change
|
||||
patches.suse/btrfs-find_and_setup_root-error-push-up
|
||||
patches.suse/btrfs-btrfs_update_root-error-push-up
|
||||
patches.suse/btrfs-extent_io-wait_on_state-should-return-void
|
||||
patches.suse/btrfs-extent_io-wait_extent_bit-should-return-void
|
||||
patches.suse/btrfs-extent_io-__unlock_for_delalloc-should-return-void
|
||||
patches.suse/btrfs-extent_io-check_page_uptodate-should-return-void
|
||||
patches.suse/btrfs-extent_io-check_page_locked-should-return-void
|
||||
patches.suse/btrfs-extent_io-check_page_writeback-should-return-void
|
||||
patches.suse/btrfs-extent_io-clear_extent_buffer_dirty-should-return-void
|
||||
patches.suse/btrfs-volumes-btrfs_cleanup_fs_uuids-should-return-void
|
||||
patches.suse/btrfs-volumes-run_scheduled_bios-should-return-void
|
||||
patches.suse/btrfs-volumes-btrfs_close_extra_devices-should-return-void
|
||||
patches.suse/btrfs-volumes-schedule_bio-should-return-void
|
||||
patches.suse/btrfs-volumes-fill_device_from_item-should-return-void
|
||||
patches.suse/btrfs-async_thread-run_ordered_completions-should-return-void
|
||||
patches.suse/btrfs-async_thread-btrfs_stop_workers-should-return-void
|
||||
patches.suse/btrfs-async_thread-btrfs_requeue_work-should-return-void
|
||||
patches.suse/btrfs-tree-log-btrfs_end_log_trans-should-return-void
|
||||
patches.suse/btrfs-tree-log-wait_for_writer-should-return-void
|
||||
patches.suse/btrfs-btrfs_init_compress-should-return-void
|
||||
patches.suse/btrfs-btrfs_invalidate_inodes-should-return-void
|
||||
patches.suse/btrfs-disk-io-__setup_root-should-return-void
|
||||
patches.suse/btrfs-disk-io-btrfs_destroy_delalloc_inodes-should-return-void
|
||||
patches.suse/btrfs-extent-tree-btrfs_prepare_extent_commit-should-return-void
|
||||
patches.suse/btrfs-extent-tree-btrfs_set_block_group_rw-should-return-void
|
||||
patches.suse/btrfs-extent-tree-setup_inline_extent_backref-should-return-void
|
||||
patches.suse/btrfs-fix-kfree-of-member-instead-of-structure
|
||||
patches.suse/btrfs-simplify-btrfs_submit_bio_hook
|
||||
patches.suse/btrfs-factor-out-tree-ops-merge_bio_hook-call
|
||||
patches.suse/btrfs-submit_bio_hook-error-push-up
|
||||
patches.suse/btrfs-_add_reloc_root-error-push-up
|
||||
patches.suse/btrfs-fixup_low_keys-should-return-void
|
||||
patches.suse/btrfs-setup_items_for_insert-should-return-void
|
||||
patches.suse/btrfs-del_ptr-should-return-void
|
||||
patches.suse/btrfs-insert_ptr-should-return-void
|
||||
patches.suse/btrfs-add_delayed_ref_head-should-return-void
|
||||
patches.suse/btrfs-add_delayed_tree_ref-should-return-void
|
||||
patches.suse/btrfs-add_delayed_data_ref-should-return-void
|
||||
patches.suse/btrfs-btrfs_truncate_item-should-return-void
|
||||
patches.suse/btrfs-btrfs_extend_item-should-return-void
|
||||
patches.suse/btrfs-end_compressed_writeback-should-return-void
|
||||
patches.suse/btrfs-copy_for_split-should-return-void
|
||||
patches.suse/btrfs-extent-tree-update_inline_extent_backref-should-return-void
|
||||
patches.suse/btrfs-btrfs_put_ordered_extent-should-return-void
|
||||
patches.suse/btrfs-__btrfs_remove_ordered_extent-should-return-void
|
||||
patches.suse/btrfs-btrfs_wait_ordered_extents-should-return-void
|
||||
patches.suse/btrfs-btrfs_wait_ordered_range-should-return-void
|
||||
patches.suse/btrfs-btrfs_run_ordered_operations
|
||||
patches.suse/btrfs-btrfs_add_ordered_operation-should-return-void
|
||||
patches.suse/btrfs-btrfs_add_ordered_sum-should-return-void
|
||||
patches.suse/btrfs-btrfs_free_fs_root-should-return-void
|
||||
patches.suse/btrfs-del_fs_roots-should-return-void
|
||||
patches.suse/btrfs-btrfs_destroy_ordered_operations-should-return-void
|
||||
patches.suse/btrfs-btrfs_destroy_ordered_extents-should-return-void
|
||||
patches.suse/btrfs-btrfs_destroy_pending_snapshots-should-return-void
|
||||
patches.suse/btrfs-add-extent_state-alloc-free-tracing
|
||||
patches.suse/btrfs-btrfs_set_item_key_safe-should-bug-and-return-void
|
||||
patches.suse/btrfs-scrub-functions-should-return-void
|
||||
patches.suse/btrfs-drop-gfp_t-from-lock_extent
|
||||
patches.suse/btrfs-split-extent_state-ops
|
||||
patches.suse/btrfs-btrfs_drop_snapshot-should-return-int
|
||||
patches.suse/btrfs-0001-Don-t-BUG_ON-errors-from-btrfs_create_subvol_r.patch
|
||||
patches.suse/btrfs-0002-Don-t-BUG_ON-errors-in-update_ref_for_cow.patch
|
||||
patches.suse/btrfs-0003-Don-t-BUG_ON-kzalloc-error-in-btrfs_lookup_csu.patch
|
||||
patches.suse/btrfs-0005-Don-t-BUG_ON-errors-in-__finish_chunk_alloc.patch
|
||||
patches.suse/btrfs-0011-Go-readonly-on-bad-extent-refs-in-update_ref_f.patch
|
||||
patches.suse/btrfs-0012-Don-t-BUG_ON-errors-from-update_ref_for_cow.patch
|
||||
patches.suse/btrfs-0013-Go-readonly-on-tree-errors-in-balance_level.patch
|
||||
patches.suse/btrfs-0018-Don-t-BUG_ON-insert-errors-in-btrfs_alloc_dev_.patch
|
||||
patches.suse/btrfs-0019-Remove-BUG_ON-from-__btrfs_alloc_chunk.patch
|
||||
patches.suse/btrfs-0020-Remove-BUG_ON-from-__finish_chunk_alloc.patch
|
||||
patches.suse/btrfs-error-varargs
|
||||
patches.suse/btrfs-handle-EIO
|
||||
|
||||
# 3.3
|
||||
patches.suse/btrfs-REVERT-increase-the-global-block-reserve-estim.patch
|
||||
|
||||
########################################################
|
||||
# Reiserfs Patches
|
||||
@ -432,7 +311,6 @@
|
||||
patches.suse/0012-richacl-Automatic-Inheritance.patch
|
||||
patches.suse/0013-richacl-Restrict-access-check-algorithm.patch
|
||||
patches.suse/0014-richacl-xattr-mapping-functions.patch
|
||||
patches.suse/0015-ext4-Use-IS_POSIXACL-to-check-for-POSIX-ACL-support.patch
|
||||
patches.suse/0016-ext4-Implement-richacl-support-in-ext4.patch
|
||||
|
||||
########################################################
|
||||
@ -486,7 +364,6 @@
|
||||
########################################################
|
||||
# DRM/Video
|
||||
########################################################
|
||||
patches.fixes/0001-fix-NULL-pointer-dereference-in-DSS2-VENC-sysfs-debu.patch
|
||||
|
||||
########################################################
|
||||
# video4linux
|
||||
@ -497,6 +374,7 @@
|
||||
########################################################
|
||||
patches.fixes/tulip-quad-NIC-ifdown
|
||||
patches.drivers/ehea-modinfo.patch
|
||||
patches.fixes/dl2k-tighten-ioctl-permissions
|
||||
|
||||
########################################################
|
||||
# Wireless Networking
|
||||
@ -601,9 +479,7 @@
|
||||
# AppArmor
|
||||
##########################################################
|
||||
patches.apparmor/apparmor-compatibility-patch-for-v5-network-control
|
||||
patches.apparmor/apparmor-compatibility-patch-for-v5-interface
|
||||
patches.apparmor/apparmor-allow-dfa-backward-compatibility-with-broken-userspace
|
||||
|
||||
patches.apparmor/apparmor-profiles-seq_file
|
||||
|
||||
########################################################
|
||||
# Address space layout randomization
|
||||
@ -678,8 +554,6 @@
|
||||
patches.xen/frontswap-hooks
|
||||
patches.xen/frontswap-core
|
||||
patches.xen/frontswap-config
|
||||
patches.xen/cleancache-update
|
||||
patches.xen/frontswap-cleancache-invalidate
|
||||
patches.xen/ipv6-no-autoconf
|
||||
patches.xen/pci-guestdev
|
||||
patches.xen/pci-reserve
|
||||
@ -737,9 +611,7 @@
|
||||
patches.xen/xen3-patch-3.1
|
||||
patches.xen/xen3-patch-3.2
|
||||
patches.xen/xen3-patch-3.3
|
||||
patches.xen/xen3-004-x86_autoload.patch
|
||||
patches.xen/xen3-006-x86_autoload.patch
|
||||
patches.xen/xen3-009-x86_autoload.patch
|
||||
patches.xen/xen3-patch-3.4-rc3
|
||||
patches.xen/xen3-apei_allow_drivers_access_nvs_ram.patch
|
||||
patches.xen/xen3-acpi_implement_overriding_of_arbitrary_acpi_tables_via_initrd.patch
|
||||
patches.xen/xen3-stack-unwind
|
||||
|
@ -1,3 +1,3 @@
|
||||
2012-03-24 01:11:53 +0100
|
||||
GIT Revision: 7e9dd21f1ecfdef61b7e81d6c7eaf4ac23fde530
|
||||
2012-04-25 21:38:34 +0200
|
||||
GIT Revision: 8d002425303a432af8ceb2fd35be634c46fb6337
|
||||
GIT Branch: master
|
||||
|
Loading…
Reference in New Issue
Block a user