Accepting request 174684 from Kernel:HEAD

- config.conf: disable s390 support for openSUSE kernels
  There is no community project to build openSUSE on s390 so we don't need
  to waste resources building the kernel for it.
- commit 5e6ccae

- S390: Disable CONFIG_PHYLIB on 32-bit kernels
  libphy depends on irq code which is only available on 64-bit S390,
  so disable it on 32-bit kernels.
- commit dd79db9

- idr: Print a stack dump after ida_remove warning
  (http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5

- Update config files: enable CC_STACKPROTECTOR
  All other major Linux distributions are building their kernel
  with -fstack-protector, so do the same. See the discussion at:
  http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
  http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
  http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
   - CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988

- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
  Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5

- rpm/mkspec: Stop generating the get_release_number.sh file
  It was only needed for the old KOTD.
- commit ee71b69

OBS-URL: https://build.opensuse.org/request/show/174684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-source?expand=0&rev=190
This commit is contained in:
Stephan Kulow 2013-05-07 13:11:23 +00:00 committed by Git OBS Bridge
commit 53e4d4ea26
58 changed files with 6379 additions and 86447 deletions

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Sun May 5 09:53:46 CEST 2013 - jdelvare@suse.de
- All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
-------------------------------------------------------------------
Fri Apr 5 13:50:12 CEST 2013 - jdelvare@suse.de
- All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
-------------------------------------------------------------------
Fri Apr 5 13:40:41 CEST 2013 - jdelvare@suse.de
- All but arm: disable UCB1400 support. Currently it is only used
on ARM OMAP systems, and part of the code is dead code that can't
even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
-------------------------------------------------------------------
Sat Mar 30 13:16:21 CET 2013 - jdelvare@suse.de
- DSA drivers can be built as modules since kernel v3.3, so do
that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
-------------------------------------------------------------------
Fri Mar 29 14:57:15 CET 2013 - jdelvare@suse.de
- CONFIG_I2C_COMPAT=n
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 14 16:50:35 CEST 2010 - jbeulich@suse.com Thu Jun 14 16:50:35 CEST 2010 - jbeulich@suse.com

View File

@ -17,10 +17,10 @@
+i386 i386/vanilla +i386 i386/vanilla
+i386 -syms i386/trace +i386 -syms i386/trace
+ia64 ia64/default #+ia64 ia64/default
+ia64 -syms ia64/debug #+ia64 -syms ia64/debug
+ia64 ia64/vanilla #+ia64 ia64/vanilla
+ia64 -syms ia64/trace #+ia64 -syms ia64/trace
+x86_64 x86_64/default +x86_64 x86_64/default
+x86_64 x86_64/desktop +x86_64 x86_64/desktop
@ -40,19 +40,17 @@
# ARM architectures # ARM architectures
+armv5tel armv5tel/versatile +armv5tel armv5tel/versatile
+armv7hl armv7hl/default +armv7hl armv7hl/default
+armv7hl armv7hl/imx51 +armv7hl armv7hl/lpae
+armv7hl armv7hl/omap2plus
+armv7hl armv7hl/u8500
+armv7hl armv7hl/cubox +armv7hl armv7hl/cubox
+armv7hl armv7hl/exynos +armv7hl armv7hl/exynos
+arm64 arm64/default +arm64 arm64/default
+s390 s390/s390 #+s390 s390/s390
+s390 -syms s390/trace #+s390 -syms s390/trace
+s390 s390/vanilla #+s390 s390/vanilla
+s390x s390x/default #+s390x s390x/default
+s390x -syms s390x/trace #+s390x -syms s390x/trace
+s390x s390x/vanilla #+s390x s390x/vanilla
# Maintained by jengelh # Maintained by jengelh
# +sparc64 sparc64/default # +sparc64 sparc64/default

View File

@ -1,9 +1,8 @@
# The version of the main tarball to use # The version of the main tarball to use
SRCVERSION=3.8 SRCVERSION=3.9
# variant of the kernel-source package, either empty or "-rt" # variant of the kernel-source package, either empty or "-rt"
VARIANT= VARIANT=
# buildservice projects to build the kernel against # buildservice projects to build the kernel against
OBS_PROJECT=openSUSE:Factory OBS_PROJECT=openSUSE:Factory
OBS_PROJECT_ARM=openSUSE:Factory:ARM
IBS_PROJECT=SUSE:Factory:Head IBS_PROJECT=SUSE:Factory:Head
IBS_PROJECT_ARM=Devel:ARM:Factory IBS_PROJECT_ARM=Devel:ARM:Factory

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:06cc1ea73652adeedd293d43813ede21a530a15c6494c0c8e74755a91b95474c oid sha256:277aaafee2e64f6581b2a66ea4d20f123e220a4a096d86d00997813a5ddd9d9d
size 312899 size 254639

View File

@ -267,7 +267,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -481,6 +481,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -497,6 +515,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -697,6 +727,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

49
kernel-cert-subpackage Normal file
View File

@ -0,0 +1,49 @@
%package -n %{-n*}-ueficert
Summary: UEFI Secure Boot Certificate For Package %{-n*}-kmp
Group: System/Kernel
%description -n %{-n*}-ueficert
This package contains the UEFI Secure Boot certificate used to sign
modules in the %{-n*}-kmp packages.
# The scriptlets are reused in kernel-binary.spec.in by a sed script that
# stops at the next line that starts with a percent sign
%post -n %{-n*}-ueficert
# Make the -cert subpackage scriptlets non-fatal and verbose in the
# Beta phase
set -x +e
if ! command -v mokutil >/dev/null; then
exit 0
fi
# XXX: Only call mokutil if UEFI and shim are used
for cert in @CERTS@; do
mokutil --import "$cert" --root-pw
done
exit 0
%preun -n %{-n*}-ueficert
set -x +e
if ! command -v mokutil >/dev/null; then
exit 0
fi
for cert in @CERTS@; do
ln "$cert" "$cert.delete"
done
exit 0
%postun -n %{-n*}-ueficert
set -x +e
if ! command -v mokutil >/dev/null; then
exit 0
fi
for cert in @CERTS@; do
if ! test -e "$cert"; then
mokutil --delete "$cert.delete" --root-pw
fi
rm "$cert.delete"
done
exit 0
%files -n %{-n*}-ueficert
%defattr(-, root, root)
%dir /etc/uefi
/etc/uefi/certs

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-cubox Name: kernel-cubox
Summary: Kernel for SolidRun Cubox Summary: Kernel for SolidRun Cubox
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -343,7 +344,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -557,6 +558,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -573,6 +592,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -773,6 +804,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-debug Name: kernel-debug
Summary: A Debug Version of the Kernel Summary: A Debug Version of the Kernel
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -181,6 +181,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -208,7 +209,7 @@ Source113: patches.kabi.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 ppc64 x86_64 ExclusiveArch: %ix86 ppc64 x86_64
%define kmp_target_cpu %_target_cpu %define kmp_target_cpu %_target_cpu
%ifarch %ix86 %ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686 # Only i386/default supports i586, mark other flavors' packages as i686
@ -346,7 +347,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -560,6 +561,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -576,6 +595,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -776,6 +807,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-default Name: kernel-default
Summary: The Standard Kernel Summary: The Standard Kernel
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -147,18 +147,10 @@ Provides: kernel = %version-%source_rel
Provides: smp kernel-smp Provides: smp kernel-smp
Obsoletes: smp kernel-smp Obsoletes: smp kernel-smp
%endif %endif
%ifarch ia64
Provides: kernel-sn2
Obsoletes: kernel-sn2
%endif
%ifarch ppc64 %ifarch ppc64
Provides: kernel-kdump Provides: kernel-kdump
Obsoletes: kernel-kdump Obsoletes: kernel-kdump
%endif %endif
%ifarch s390x
Provides: kernel-64bit
Obsoletes: kernel-64bit
%endif
%ifarch x86_64 %ifarch x86_64
Provides: smp kernel-smp Provides: smp kernel-smp
Obsoletes: smp kernel-smp Obsoletes: smp kernel-smp
@ -197,6 +189,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -224,7 +217,7 @@ Source113: patches.kabi.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: aarch64 armv7hl %ix86 ia64 ppc ppc64 s390x x86_64 ExclusiveArch: aarch64 armv7hl %ix86 ppc ppc64 x86_64
%define kmp_target_cpu %_target_cpu %define kmp_target_cpu %_target_cpu
%ifarch %ix86 %ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686 # Only i386/default supports i586, mark other flavors' packages as i686
@ -361,7 +354,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -575,6 +568,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -591,6 +602,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -791,6 +814,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-desktop Name: kernel-desktop
Summary: Kernel optimized for the desktop Summary: Kernel optimized for the desktop
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -355,7 +356,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -569,6 +570,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -585,6 +604,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -785,6 +816,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -17,14 +17,14 @@
# norootforbuild # norootforbuild
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
Name: kernel-docs Name: kernel-docs
Summary: Kernel Documentation Summary: Kernel Documentation
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel BuildRequires: docbook-toys docbook-utils ghostscript_any libjpeg-devel texlive transfig xmlto xorg-x11-devel
BuildRequires: kernel-source%variant BuildRequires: kernel-source%variant

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-ec2 Name: kernel-ec2
Summary: The Amazon EC2 Xen Kernel Summary: The Amazon EC2 Xen Kernel
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -345,7 +346,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -559,6 +560,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -575,6 +594,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -775,6 +806,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-exynos Name: kernel-exynos
Summary: Kernel for Samsung's Exynos SoC Summary: Kernel for Samsung's Exynos SoC
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -342,7 +343,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -556,6 +557,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -572,6 +591,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -772,6 +803,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,959 +0,0 @@
#
# spec file for package kernel-imx51
#
# Copyright (c) 2013 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
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
%define srcversion 3.8
%define patchversion 3.8.2
%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 CONFIG_EFI_STUB
%{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.8.2
Release: 0
License: GPL-2.0
Group: System/Kernel
Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse bc
BuildRequires: fdupes
# Used to sign the kernel in the buildservice
BuildRequires: pesign-obs-integration
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
%if %build_vanilla
Requires(post): mkinitrd
%else
# Require a mkinitrd that can handle usbhid/hid-generic built-in (bnc#773559)
Requires(post): mkinitrd >= 2.7.1
%endif
# Install the package providing /etc/SuSE-release early enough, so that
# the grub entry has correct title (bnc#757565)
Requires(post): distribution-release
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
%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
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
# Interface to hv_kvp_daemon changed
Conflicts: hyper-v < 4
%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: armv7hl
%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
Obsoletes: ipw3945-kmp-%build_flavor
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor
# 11.0
Obsoletes: atl2-kmp-%build_flavor
Obsoletes: wlan-ng-kmp-%build_flavor
Obsoletes: et131x-kmp-%build_flavor
Obsoletes: ivtv-kmp-%build_flavor
Obsoletes: at76_usb-kmp-%build_flavor
Obsoletes: pcc-acpi-kmp-%build_flavor
Obsoletes: btusb-kmp-%build_flavor
# sle11-ga
Obsoletes: enic-kmp-%build_flavor
Obsoletes: fnic-kmp-%build_flavor
Obsoletes: brocade-bfa-kmp-%build_flavor
Obsoletes: kvm-kmp-%build_flavor
Obsoletes: perfmon-kmp-%build_flavor
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor
Obsoletes: msi-wmi-kmp-%build_flavor
# sle11
Obsoletes: ocfs2-kmp-%build_flavor
# 11.1
Obsoletes: 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
%if %CONFIG_EFI_STUB == "y"
# sign the kernel in the buildservice
%ifarch x86_64
# XXX: only do it on x86_64, as the repackaging changes kernel-pae
# from i686 to i586
export BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%endif
# 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
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%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
case "%build_flavor" in
default)
image=zImage
;;
*)
# quickly compile uImage so we have something to boot from
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
image=uImage
;;
esac
cp -p arch/arm/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
%ifarch aarch64
add_vmlinux --compressed
image=Image
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%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
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \
! -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-%build_flavor-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-%build_flavor-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)
PreReq: coreutils
%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

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -1,5 +1,5 @@
# #
# spec file for package kernel-u8500 # spec file for package kernel-lpae
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -19,14 +19,14 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
%include %_sourcedir/kernel-spec-macros %include %_sourcedir/kernel-spec-macros
%define build_flavor u8500 %define build_flavor lpae
%define build_default (%build_flavor == "default") %define build_default (%build_flavor == "default")
%define build_kdump (%build_flavor == "kdump") %define build_kdump (%build_flavor == "kdump")
%define build_xen (%build_flavor == "xen" || %build_flavor == "ec2") %define build_xen (%build_flavor == "xen" || %build_flavor == "ec2")
@ -57,9 +57,9 @@
%define install_vdso 0 %define install_vdso 0
%endif %endif
Name: kernel-u8500 Name: kernel-lpae
Summary: Kernel for ST-Ericsson's Nova SoC Summary: Kernel for LPAE enabled systems
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -272,8 +273,8 @@ Obsoletes: quickcam-kmp-%build_flavor < 0.6.7
%define supported_modules_check 0 %define supported_modules_check 0
%description %description
The standard kernel for ST-Ericsson's Nova SoC, as found in The kernel for all 32-bit ARM platforms that support LPAE. This includes all
devices like the Snowball. Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
%source_timestamp %source_timestamp
@ -343,7 +344,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -557,6 +558,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -573,6 +592,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -773,6 +804,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \
@ -817,7 +851,7 @@ rm %my_builddir/tmp
%endif %endif
%package base %package base
Summary: Kernel for ST-Ericsson's Nova SoC - base modules Summary: Kernel for LPAE enabled systems - base modules
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -832,8 +866,8 @@ Conflicts: libc.so.6()(64bit)
%endif %endif
%description base %description base
The standard kernel for ST-Ericsson's Nova SoC, as found in The kernel for all 32-bit ARM platforms that support LPAE. This includes all
devices like the Snowball. Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
This package contains only the base modules, required in all installs. This package contains only the base modules, required in all installs.
@ -854,7 +888,7 @@ This package contains only the base modules, required in all installs.
%endif %endif
%package extra %package extra
Summary: Kernel for ST-Ericsson's Nova SoC - Unsupported kernel modules Summary: Kernel for LPAE enabled systems - Unsupported kernel modules
Group: System/Kernel Group: System/Kernel
Url: http://www.kernel.org/ Url: http://www.kernel.org/
Provides: multiversion(kernel) Provides: multiversion(kernel)
@ -871,8 +905,8 @@ Conflicts: libc.so.6()(64bit)
%endif %endif
%description extra %description extra
The standard kernel for ST-Ericsson's Nova SoC, as found in The kernel for all 32-bit ARM platforms that support LPAE. This includes all
devices like the Snowball. Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
This package contains additional modules not supported by Novell. This package contains additional modules not supported by Novell.

View File

@ -1,4 +1,4 @@
%package -n %{-n*}-%1 %package -n %{-n*}-kmp-%1
%define _this_kmp_version %{-v*}_k%(echo %2 | sed -r 'y/-/_/; s/^(2\.6\.[0-9]+)_/\\1.0_/; # use 2.6.x.0 for mainline kernels') %define _this_kmp_version %{-v*}_k%(echo %2 | sed -r 'y/-/_/; s/^(2\.6\.[0-9]+)_/\\1.0_/; # use 2.6.x.0 for mainline kernels')
Version: %_this_kmp_version Version: %_this_kmp_version
Release: %{-r*} Release: %{-r*}
@ -20,14 +20,15 @@ END { print tags["summary"]
print tags["group"] } print tags["group"] }
' $spec ' $spec
) )
Provides: %{-n*} = %_this_kmp_version Provides: %{-n*}-kmp = %_this_kmp_version
Provides: %{-n*} = %{-v*} Provides: %{-n*}-kmp = %{-v*}
Provides: multiversion(kernel) Provides: multiversion(kernel)
Requires: coreutils grep Requires: coreutils grep
%{-c:Requires: %{-n*}-ueficert}
Enhances: kernel-%1 Enhances: kernel-%1
AutoReqProv: on AutoReqProv: on
%{-p:%{expand:%(cd %_sourcedir; cat %{-p*})}} %{-p:%{expand:%(cd %_sourcedir; cat %{-p*})}}
%description -n %{-n*}-%1 %description -n %{-n*}-kmp-%1
%( %(
for spec in {%_sourcedir,%_specdir}/%name.spec /dev/null; do for spec in {%_sourcedir,%_specdir}/%name.spec /dev/null; do
[ -e $spec ] && break [ -e $spec ] && break
@ -49,17 +50,17 @@ in_desc { print; good = 1 }
END { exit(! good) } END { exit(! good) }
' $spec ' $spec
) )
%post -n %{-n*}-%1 %post -n %{-n*}-kmp-%1
nvr=%{-n*}-%1-%_this_kmp_version-%{-r*} nvr=%{-n*}-kmp-%1-%_this_kmp_version-%{-r*}
wm2=/usr/lib/module-init-tools/weak-modules2 wm2=/usr/lib/module-init-tools/weak-modules2
if [ -x $wm2 ]; then if [ -x $wm2 ]; then
%{-b:KMP_NEEDS_MKINITRD=1} /bin/bash -${-/e/} $wm2 --add-kmp $nvr %{-b:KMP_NEEDS_MKINITRD=1} /bin/bash -${-/e/} $wm2 --add-kmp $nvr
fi fi
%preun -n %{-n*}-%1 %preun -n %{-n*}-kmp-%1
nvr=%{-n*}-%1-%_this_kmp_version-%{-r*} nvr=%{-n*}-kmp-%1-%_this_kmp_version-%{-r*}
rpm -ql $nvr | sed -n '/\.ko$/p' > /var/run/rpm-$nvr-modules rpm -ql $nvr | sed -n '/\.ko$/p' > /var/run/rpm-$nvr-modules
%postun -n %{-n*}-%1 %postun -n %{-n*}-kmp-%1
nvr=%{-n*}-%1-%_this_kmp_version-%{-r*} nvr=%{-n*}-kmp-%1-%_this_kmp_version-%{-r*}
modules=( $(cat /var/run/rpm-$nvr-modules) ) modules=( $(cat /var/run/rpm-$nvr-modules) )
rm -f /var/run/rpm-$nvr-modules rm -f /var/run/rpm-$nvr-modules
if [ ${#modules[*]} = 0 ]; then if [ ${#modules[*]} = 0 ]; then
@ -70,7 +71,7 @@ wm2=/usr/lib/module-init-tools/weak-modules2
if [ -x $wm2 ]; then if [ -x $wm2 ]; then
printf '%s\n' "${modules[@]}" | /bin/bash -${-/e/} $wm2 --remove-kmp $nvr printf '%s\n' "${modules[@]}" | /bin/bash -${-/e/} $wm2 --remove-kmp $nvr
fi fi
%files -n %{-n*}-%1 %files -n %{-n*}-kmp-%1
%{-f:%{expand:%(cd %_sourcedir; cat %{-f*})}} %{-f:%{expand:%(cd %_sourcedir; cat %{-f*})}}
%{!-f:%defattr (-,root,root)} %{!-f:%defattr (-,root,root)}
%{!-f:/lib/modules/%2-%1} %{!-f:/lib/modules/%2-%1}

File diff suppressed because it is too large Load Diff

View File

@ -1,959 +0,0 @@
#
# spec file for package kernel-omap2plus
#
# Copyright (c) 2013 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
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
%define srcversion 3.8
%define patchversion 3.8.2
%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 CONFIG_EFI_STUB
%{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.8.2
Release: 0
License: GPL-2.0
Group: System/Kernel
Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse bc
BuildRequires: fdupes
# Used to sign the kernel in the buildservice
BuildRequires: pesign-obs-integration
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
%if %build_vanilla
Requires(post): mkinitrd
%else
# Require a mkinitrd that can handle usbhid/hid-generic built-in (bnc#773559)
Requires(post): mkinitrd >= 2.7.1
%endif
# Install the package providing /etc/SuSE-release early enough, so that
# the grub entry has correct title (bnc#757565)
Requires(post): distribution-release
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
%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
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
# Interface to hv_kvp_daemon changed
Conflicts: hyper-v < 4
%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: armv7hl
%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
Obsoletes: ipw3945-kmp-%build_flavor
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor
# 11.0
Obsoletes: atl2-kmp-%build_flavor
Obsoletes: wlan-ng-kmp-%build_flavor
Obsoletes: et131x-kmp-%build_flavor
Obsoletes: ivtv-kmp-%build_flavor
Obsoletes: at76_usb-kmp-%build_flavor
Obsoletes: pcc-acpi-kmp-%build_flavor
Obsoletes: btusb-kmp-%build_flavor
# sle11-ga
Obsoletes: enic-kmp-%build_flavor
Obsoletes: fnic-kmp-%build_flavor
Obsoletes: brocade-bfa-kmp-%build_flavor
Obsoletes: kvm-kmp-%build_flavor
Obsoletes: perfmon-kmp-%build_flavor
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor
Obsoletes: msi-wmi-kmp-%build_flavor
# sle11
Obsoletes: ocfs2-kmp-%build_flavor
# 11.1
Obsoletes: 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
%if %CONFIG_EFI_STUB == "y"
# sign the kernel in the buildservice
%ifarch x86_64
# XXX: only do it on x86_64, as the repackaging changes kernel-pae
# from i686 to i586
export BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%endif
# 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
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%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
case "%build_flavor" in
default)
image=zImage
;;
*)
# quickly compile uImage so we have something to boot from
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
image=uImage
;;
esac
cp -p arch/arm/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
%ifarch aarch64
add_vmlinux --compressed
image=Image
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%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
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \
! -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-%build_flavor-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-%build_flavor-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)
PreReq: coreutils
%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

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-pae Name: kernel-pae
Summary: Kernel with PAE Support Summary: Kernel with PAE Support
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -181,6 +181,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -352,7 +353,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -566,6 +567,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -582,6 +601,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -782,6 +813,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

File diff suppressed because it is too large Load Diff

View File

@ -1,959 +0,0 @@
#
# spec file for package kernel-s390
#
# Copyright (c) 2013 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
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild
%define srcversion 3.8
%define patchversion 3.8.2
%define variant %{nil}
%define vanilla_only 0
%include %_sourcedir/kernel-spec-macros
%define build_flavor s390
%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 CONFIG_EFI_STUB
%{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-s390
Summary: The Standard Kernel
Version: 3.8.2
Release: 0
License: GPL-2.0
Group: System/Kernel
Url: http://www.kernel.org/
BuildRequires: coreutils module-init-tools sparse bc
BuildRequires: fdupes
# Used to sign the kernel in the buildservice
BuildRequires: pesign-obs-integration
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
%if %build_vanilla
Requires(post): mkinitrd
%else
# Require a mkinitrd that can handle usbhid/hid-generic built-in (bnc#773559)
Requires(post): mkinitrd >= 2.7.1
%endif
# Install the package providing /etc/SuSE-release early enough, so that
# the grub entry has correct title (bnc#757565)
Requires(post): distribution-release
# Do not install p-b and mkinitrd for the install check, the %post script is
# able to handle this
#!BuildIgnore: perl-Bootloader mkinitrd distribution-release
# Remove some packages that are installed automatically by the build system,
# but are not needed to build the kernel
#!BuildIgnore: autoconf automake gettext-runtime libtool cvs gettext-tools m4 udev insserv
%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
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
# Interface to hv_kvp_daemon changed
Conflicts: hyper-v < 4
%ifarch %ix86
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
%ifarch s390
Provides: kernel-32bit
Obsoletes: kernel-32bit
%endif
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: s390
%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
Obsoletes: ipw3945-kmp-%build_flavor
# sles10 / 11.0
Obsoletes: uvcvideo-kmp-%build_flavor
# 11.0
Obsoletes: atl2-kmp-%build_flavor
Obsoletes: wlan-ng-kmp-%build_flavor
Obsoletes: et131x-kmp-%build_flavor
Obsoletes: ivtv-kmp-%build_flavor
Obsoletes: at76_usb-kmp-%build_flavor
Obsoletes: pcc-acpi-kmp-%build_flavor
Obsoletes: btusb-kmp-%build_flavor
# sle11-ga
Obsoletes: enic-kmp-%build_flavor
Obsoletes: fnic-kmp-%build_flavor
Obsoletes: brocade-bfa-kmp-%build_flavor
Obsoletes: kvm-kmp-%build_flavor
Obsoletes: perfmon-kmp-%build_flavor
Obsoletes: iwlagn-2-6-27-kmp-%build_flavor
Obsoletes: msi-wmi-kmp-%build_flavor
# sle11
Obsoletes: ocfs2-kmp-%build_flavor
# 11.1
Obsoletes: 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.
%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
%if %CONFIG_EFI_STUB == "y"
# sign the kernel in the buildservice
%ifarch x86_64
# XXX: only do it on x86_64, as the repackaging changes kernel-pae
# from i686 to i586
export BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor"
%endif
%endif
# 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
image=bzImage
%if %build_xen
test -f arch/x86/boot/$image || image=vmlinuz
%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
case "%build_flavor" in
default)
image=zImage
;;
*)
# quickly compile uImage so we have something to boot from
make %{?_smp_mflags} uImage $MAKE_ARGS CONFIG_DEBUG_SECTION_MISMATCH=y
image=uImage
;;
esac
cp -p arch/arm/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor
%endif
%ifarch aarch64
add_vmlinux --compressed
image=Image
cp -p arch/arm64/boot/$image %buildroot/boot/$image-%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
# %ignore_kabi_badness is defined in the Kernel:* projects in the
# OBS to be able to build the KOTD in spite of kabi errors
if [ 0%{?ignore_kabi_badness} -eq 0 -a \
! -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-%build_flavor-kdump'
touch $RPM_BUILD_ROOT/boot/initrd-%kernelrelease-%build_flavor-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: The Standard Kernel - 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.
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: The Standard Kernel - 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.
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)
PreReq: coreutils
%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

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -18,8 +18,8 @@
# norootforbuild # norootforbuild
# icecream 0 # icecream 0
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -29,7 +29,7 @@
Name: kernel-source Name: kernel-source
Summary: The Linux Kernel Sources Summary: The Linux Kernel Sources
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: Development/Sources Group: Development/Sources
@ -74,6 +74,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -203,7 +204,7 @@ ln -s /usr/share/doc/packages/%name/README.SUSE %buildroot/%src_install_dir/
install -m 755 -d $RPM_BUILD_ROOT/etc/rpm install -m 755 -d $RPM_BUILD_ROOT/etc/rpm
install -m 644 %_sourcedir/macros.kernel-source $RPM_BUILD_ROOT/etc/rpm/ install -m 644 %_sourcedir/macros.kernel-source $RPM_BUILD_ROOT/etc/rpm/
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm
install -m 644 %_sourcedir/kernel-module-subpackage \ install -m 644 %_sourcedir/kernel-{module,cert}-subpackage \
$RPM_BUILD_ROOT/usr/lib/rpm/ $RPM_BUILD_ROOT/usr/lib/rpm/
for script in post; do for script in post; do
@ -239,7 +240,7 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
%ghost /usr/src/linux%variant %ghost /usr/src/linux%variant
/usr/share/doc/packages/%name /usr/share/doc/packages/%name
/etc/rpm/macros.kernel-source /etc/rpm/macros.kernel-source
/usr/lib/rpm/kernel-module-subpackage /usr/lib/rpm/kernel-*-subpackage
%endif %endif
%if %do_vanilla %if %do_vanilla

View File

@ -74,6 +74,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -203,7 +204,7 @@ ln -s /usr/share/doc/packages/%name/README.SUSE %buildroot/%src_install_dir/
install -m 755 -d $RPM_BUILD_ROOT/etc/rpm install -m 755 -d $RPM_BUILD_ROOT/etc/rpm
install -m 644 %_sourcedir/macros.kernel-source $RPM_BUILD_ROOT/etc/rpm/ install -m 644 %_sourcedir/macros.kernel-source $RPM_BUILD_ROOT/etc/rpm/
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm install -m 755 -d $RPM_BUILD_ROOT/usr/lib/rpm
install -m 644 %_sourcedir/kernel-module-subpackage \ install -m 644 %_sourcedir/kernel-{module,cert}-subpackage \
$RPM_BUILD_ROOT/usr/lib/rpm/ $RPM_BUILD_ROOT/usr/lib/rpm/
for script in post; do for script in post; do
@ -239,7 +240,7 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
%ghost /usr/src/linux%variant %ghost /usr/src/linux%variant
/usr/share/doc/packages/%name /usr/share/doc/packages/%name
/etc/rpm/macros.kernel-source /etc/rpm/macros.kernel-source
/usr/lib/rpm/kernel-module-subpackage /usr/lib/rpm/kernel-*-subpackage
%endif %endif
%if %do_vanilla %if %do_vanilla

View File

@ -7,26 +7,16 @@
%define using_buildservice 0%{?opensuse_bs} %define using_buildservice 0%{?opensuse_bs}
# source_rel is the package release string, without the rebuild counter # source_rel is the package release string, without the rebuild counter
# generated by the build service. In non-official builds, the upstream # generated by the build service. If the release string has a non-digit
# EXTRAVERSION component is also part of the release string, # suffix, we keep that suffix and strip the rightmost digit component.
# e.g. next.20110101.9.6 (hyphens are replaced by periods). Builds in the # This is used in KOTD builds: 2.1.g1234567 -> 2.g1234567
# official distribution projects replace the release string though.
%define source_rel %release %define source_rel %release
%if %using_buildservice %if %using_buildservice
%define source_rel %(release=%release; echo ${release%.*}) %define source_rel %(echo %release | sed -r 's/\\.[0-9]+($|\\.[^.]*[^.0-9][^.]*$)/\\1/')
%endif %endif
# release_num is the numeric source revision part of the release number,
# i.e. source_rel without the upstream tags like -rcX. A hyphen is added
# automatically for convenient use.
# examples: rc3 -> "", rc3.1 -> -1, next.20110101.9 -> -9
#
# patchversion is inserted into the spec files by the mkspec script, it is the
# upstream release string unchanged, e.g. 2.6.38-rc3
%define release_num %(upstream=%patchversion; upstream=${upstream#%version}; upstream=${upstream#-}; upstream=${upstream//-/.}; rel="%source_rel" ; res="${rel#$upstream}"; res=${res#.}; echo ${res:+-}${res})
# how the kernel release string (uname -r) should look like # how the kernel release string (uname -r) should look like
%define kernelrelease %patchversion%release_num %define kernelrelease %patchversion-%source_rel
%define my_builddir %_builddir/%{name}-%{version} %define my_builddir %_builddir/%{name}-%{version}

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -23,7 +23,7 @@
Name: kernel-syms Name: kernel-syms
Summary: Kernel Symbol Versions (modversions) Summary: Kernel Symbol Versions (modversions)
Version: 3.8.2 Version: 3.9.0
%if %using_buildservice %if %using_buildservice
Release: 0 Release: 0
%else %else
@ -38,7 +38,7 @@ BuildRequires: coreutils
%ifarch armv7hl %ifarch armv7hl
Requires: kernel-cubox-devel = %version-%source_rel Requires: kernel-cubox-devel = %version-%source_rel
%endif %endif
%ifarch aarch64 armv7hl %ix86 ia64 ppc ppc64 s390x x86_64 %ifarch aarch64 armv7hl %ix86 ppc ppc64 x86_64
Requires: kernel-default-devel = %version-%source_rel Requires: kernel-default-devel = %version-%source_rel
%endif %endif
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
@ -48,20 +48,11 @@ Requires: kernel-desktop-devel = %version-%source_rel
Requires: kernel-exynos-devel = %version-%source_rel Requires: kernel-exynos-devel = %version-%source_rel
%endif %endif
%ifarch armv7hl %ifarch armv7hl
Requires: kernel-imx51-devel = %version-%source_rel Requires: kernel-lpae-devel = %version-%source_rel
%endif
%ifarch armv7hl
Requires: kernel-omap2plus-devel = %version-%source_rel
%endif %endif
%ifarch %ix86 %ifarch %ix86
Requires: kernel-pae-devel = %version-%source_rel Requires: kernel-pae-devel = %version-%source_rel
%endif %endif
%ifarch s390
Requires: kernel-s390-devel = %version-%source_rel
%endif
%ifarch armv7hl
Requires: kernel-u8500-devel = %version-%source_rel
%endif
%ifarch armv5tel %ifarch armv5tel
Requires: kernel-versatile-devel = %version-%source_rel Requires: kernel-versatile-devel = %version-%source_rel
%endif %endif
@ -73,7 +64,7 @@ Provides: %name = %version-%source_rel
Source: README.KSYMS Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel Requires: kernel-devel%variant = %version-%source_rel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 aarch64 armv5tel armv7hl ia64 ppc ppc64 s390 s390x x86_64 ExclusiveArch: %ix86 aarch64 armv5tel armv7hl ppc ppc64 x86_64
Prefix: /usr/src Prefix: /usr/src
%description %description

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-trace Name: kernel-trace
Summary: The Standard Kernel with Tracing Features Summary: The Standard Kernel with Tracing Features
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -147,14 +147,6 @@ Provides: kernel = %version-%source_rel
Provides: kernel-kdump Provides: kernel-kdump
Obsoletes: kernel-kdump Obsoletes: kernel-kdump
%endif %endif
%ifarch s390
Provides: kernel-32bit
Obsoletes: kernel-32bit
%endif
%ifarch s390x
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/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
@ -189,6 +181,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -216,7 +209,7 @@ Source113: patches.kabi.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 ppc64 s390 s390x x86_64 ExclusiveArch: %ix86 ppc64 x86_64
%define kmp_target_cpu %_target_cpu %define kmp_target_cpu %_target_cpu
%ifarch %ix86 %ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686 # Only i386/default supports i586, mark other flavors' packages as i686
@ -353,7 +346,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -567,6 +560,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -583,6 +594,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -783,6 +806,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-vanilla Name: kernel-vanilla
Summary: The Standard Kernel - without any SUSE patches Summary: The Standard Kernel - without any SUSE patches
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -143,14 +143,7 @@ Conflicts: hyper-v < 4
Conflicts: libc.so.6()(64bit) Conflicts: libc.so.6()(64bit)
%endif %endif
Provides: kernel = %version-%source_rel Provides: kernel = %version-%source_rel
%ifarch s390
Provides: kernel-32bit
Obsoletes: kernel-32bit
%endif
%ifarch s390x
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/linux-%srcversion.tar.bz2
Source2: source-post.sh Source2: source-post.sh
@ -185,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -212,7 +206,7 @@ Source113: patches.kabi.tar.bz2
Source120: kabi.tar.bz2 Source120: kabi.tar.bz2
Source121: sysctl.tar.bz2 Source121: sysctl.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 ppc ppc64 s390 s390x x86_64 ExclusiveArch: %ix86 ppc ppc64 x86_64
%define kmp_target_cpu %_target_cpu %define kmp_target_cpu %_target_cpu
%ifarch %ix86 %ifarch %ix86
# Only i386/default supports i586, mark other flavors' packages as i686 # Only i386/default supports i586, mark other flavors' packages as i686
@ -349,7 +343,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -563,6 +557,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -579,6 +591,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -779,6 +803,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-versatile Name: kernel-versatile
Summary: Kernel for Versatile SoC Summary: Kernel for Versatile SoC
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -342,7 +343,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -556,6 +557,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -572,6 +591,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -772,6 +803,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +1,368 @@
-------------------------------------------------------------------
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
- config.conf: disable s390 support for openSUSE kernels
There is no community project to build openSUSE on s390 so we don't need
to waste resources building the kernel for it.
- commit 5e6ccae
-------------------------------------------------------------------
Mon May 6 10:58:55 CEST 2013 - jdelvare@suse.de
- S390: Disable CONFIG_PHYLIB on 32-bit kernels
libphy depends on irq code which is only available on 64-bit S390,
so disable it on 32-bit kernels.
- commit dd79db9
-------------------------------------------------------------------
Sun May 5 11:46:16 CEST 2013 - jdelvare@suse.de
- idr: Print a stack dump after ida_remove warning
(http://lists.opensuse.org/opensuse-kernel/2013-04/msg00102.html).
- commit 4c487a5
-------------------------------------------------------------------
Sun May 5 09:59:48 CEST 2013 - jdelvare@suse.de
- Update config files: enable CC_STACKPROTECTOR
All other major Linux distributions are building their kernel
with -fstack-protector, so do the same. See the discussion at:
http://lists.opensuse.org/opensuse-kernel/2012-06/msg00088.html
http://lists.opensuse.org/opensuse-kernel/2012-07/msg00000.html
http://lists.opensuse.org/opensuse-kernel/2013-05/msg00013.html
- CONFIG_CC_STACKPROTECTOR=y
- commit fc6f988
-------------------------------------------------------------------
Sat May 4 00:56:33 CEST 2013 - mmarek@suse.cz
- rpm/config.sh: Drop the ARM repository in Kernel:HEAD
Use the "ports" repository of openSUSE:Factory instead.
- commit 6fc0bd5
-------------------------------------------------------------------
Fri May 3 16:48:52 CEST 2013 - mmarek@suse.cz
- rpm/mkspec: Stop generating the get_release_number.sh file
It was only needed for the old KOTD.
- commit ee71b69
-------------------------------------------------------------------
Thu May 2 11:46:28 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Properly handle KOTD release numbers with
.g<commit> suffix
- commit ccb20c3
-------------------------------------------------------------------
Thu May 2 11:26:20 CEST 2013 - mmarek@suse.cz
- rpm/kernel-spec-macros: Drop the %release_num macro
We no longer put the -rcX tag into the release string.
- commit b88e78f
-------------------------------------------------------------------
Tue Apr 30 00:02:00 CEST 2013 - jeffm@suse.de
- Update to 3.9-final.
- commit b4b0bc4
-------------------------------------------------------------------
Mon Apr 29 15:10:50 CEST 2013 - agraf@suse.de
- Fix highbank sata proc_name.
- commit 1c2686d
-------------------------------------------------------------------
Fri Apr 26 16:05:32 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc8 and c/s 1229.
- commit dd1fbd8
-------------------------------------------------------------------
Wed Apr 24 18:30:54 CEST 2013 - jeffm@suse.com
- config: disable SCSI_UFSHCD on s390/x
It depends on PCI and can be re-enabled when PCI is enabled
on s390/x. I expect eventually another module will be added to use
a different bus technology so adding a depends PCI on SCSI_UFSHCD
won't really help.
- commit 754e58e
-------------------------------------------------------------------
Wed Apr 24 18:22:20 CEST 2013 - jeffm@suse.com
- patches.arch/ppc-prom-nodisplay.patch: Fix build failure.
Commit 3bf3dbf8 (Update to 3.9-rc2) missed removing an
instance of the now-gone RELOC macro, causing build failures.
- commit 674c7b1
-------------------------------------------------------------------
Wed Apr 24 17:51:17 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc8.
Eliminated 2 patches.
- commit a86daba
-------------------------------------------------------------------
Fri Apr 12 22:48:25 CEST 2013 - agraf@suse.de
- cpuidle: calxeda: disable power gating by default.
- commit 1f54900
-------------------------------------------------------------------
Thu Apr 11 15:58:30 CEST 2013 - sleep_walker@suse.cz
- Enable FRAMEBUFFER_CONSOLE_ROTATION in our kernels
More and more monitors have insane aspect ratio and can be better used when
rotated. This may help when X.org is not running and for boot.
- commit f592a19
-------------------------------------------------------------------
Tue Apr 9 16:58:57 CEST 2013 - jeffm@suse.com
- Refresh patches.xen/xen3-patch-3.9-rc5.
Previous commit removed a move of a variable declaration to an ifdef section.
- commit 372aad5
-------------------------------------------------------------------
Tue Apr 9 16:17:57 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc6.
Eliminated 1 patch.
- commit 68d380d
-------------------------------------------------------------------
Tue Apr 9 06:38:22 CEST 2013 - agraf@suse.de
- Refresh patches.arch/arm-fec.patch.
- commit 41b3194
-------------------------------------------------------------------
Tue Apr 9 06:19:41 CEST 2013 - agraf@suse.de
- ARM: cache-l2x0: fix masking of RTL revision numbering and
set_debug init.
- commit bd5dc17
-------------------------------------------------------------------
Mon Apr 8 14:20:48 CEST 2013 - tiwai@suse.de
- Refresh patches.suse/SUSE-bootsplash.
Fix bootsplash breakage due to stable fix (bnc#813963)
- commit 5d7fc50
-------------------------------------------------------------------
Mon Apr 8 13:04:43 CEST 2013 - agraf@suse.de
- ARM: Exynos: Update config files: Use DRM instead of FB
- commit 7e7c136
-------------------------------------------------------------------
Sun Apr 7 17:04:31 CEST 2013 - agraf@suse.de
- ARM: DMA: PL330: Add check if device tree compatible.
- commit 73c94ff
-------------------------------------------------------------------
Sun Apr 7 14:04:19 CEST 2013 - agraf@suse.de
- ARM: exynos: only use device tree when it exists.
- commit afed1f3
-------------------------------------------------------------------
Sun Apr 7 13:25:33 CEST 2013 - agraf@suse.de
- ARM: Update config files (fix default, split out lpae).
- ARM: xen: Add missing define.
- config.conf: add lpae config for ARM
- rpm/package-descriptions: add lpae config for ARM
- commit 5457ebe
-------------------------------------------------------------------
Fri Apr 5 14:13:15 CEST 2013 - jbeulich@suse.com
- Update Xen patches to 3.9-rc5.
- config.conf: Re-enable Xen configs.
- Update config files.
- commit 0100be6
-------------------------------------------------------------------
Fri Apr 5 13:52:08 CEST 2013 - jdelvare@suse.de
- Update config files: enable ViperBoard drivers
All kernels which include core (MFD) support for the ViperBoard
should also include the actual drivers for its functions:
- CONFIG_I2C_VIPERBOARD=m
- CONFIG_GPIO_VIPERBOARD=m
- commit 688764f
-------------------------------------------------------------------
Fri Apr 5 13:39:18 CEST 2013 - jdelvare@suse.de
- Update config files: disable UCB1400 on all but ARM
Currently UCB1400 is only used on ARM OMAP systems, and part of the
code is dead code that can't even be modularized.
- CONFIG_UCB1400_CORE=n
- CONFIG_TOUCHSCREEN_UCB1400=n
- CONFIG_GPIO_UCB1400=n
- commit c81a0de
-------------------------------------------------------------------
Wed Apr 3 02:53:21 CEST 2013 - jeffm@suse.com
- Update to 3.9-rc5.
EFI_VARS_PSTORE is disabled. It is potentially useful but can brick
certain models of notebooks. Until it's been confirmed as safe, we
should keep this disabled.
- commit 7fd0ea3
-------------------------------------------------------------------
Sat Mar 30 13:18:59 CET 2013 - jdelvare@suse.de
- Update config files: Build DSA drivers as modules
DSA drivers can be built as modules since kernel v3.3, so do that:
- CONFIG_NET_DSA=m
- CONFIG_NET_DSA_MV88E6XXX=m
- CONFIG_NET_DSA_MV88E6060=m
- CONFIG_NET_DSA_MV88E6131=m
- CONFIG_NET_DSA_MV88E6123_61_65=m
- commit ab03c84
-------------------------------------------------------------------
Fri Mar 29 17:10:15 CET 2013 - jdelvare@suse.de
- Update config file config/sparc64/default: drop X86-only GPIO drivers
- commit 931180e
-------------------------------------------------------------------
Fri Mar 29 16:27:41 CET 2013 - jeffm@suse.com
- config: enable GPIO_[PS]CH, disable INTEL_MID_DMAC
- commit 46bdeb9
-------------------------------------------------------------------
Fri Mar 29 15:37:26 CET 2013 - jdelvare@suse.de
- Update config files: CONFIG_I2C_COMPAT
Disable compatibility with lm-sensors <= 3.1.1, version 3.1.2 was
released 3 years ago.
- commit c1b3c2d
-------------------------------------------------------------------
Wed Mar 27 22:11:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Fix description and summary.
- commit a4cd5e1
-------------------------------------------------------------------
Tue Mar 26 12:35:11 CET 2013 - agraf@suse.de
- Delete config/armv7hl/u8500.
- commit 801a982
-------------------------------------------------------------------
Mon Mar 25 16:23:30 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc4.
Eliminated 2 patches.
- commit 894fec7
-------------------------------------------------------------------
Thu Mar 21 10:47:26 CET 2013 - agraf@suse.de
- SMDKV310: Fix compilation.
- commit cf345eb
-------------------------------------------------------------------
Thu Mar 21 06:29:50 CET 2013 - agraf@suse.de
- ARM: FEC: Fix module compilation.
- ARM: kvm: fix IOMMU dependency check.
- omap3isp: fix miscompile.
- VT8500: fix miscompile in clk driver.
- config.conf: Remove imx51 and omap2plus, reenable arm
- Update config files.
- Delete config/armv7hl/imx51.
- Delete config/armv7hl/omap2plus.
- commit 7d60e2d
-------------------------------------------------------------------
Mon Mar 18 16:38:35 CET 2013 - jeffm@suse.com
- Update to 3.9-rc3.
- 2 patches were eliminated
CONFIG_EXPERIMENTAL was eliminated, so I've updated the Xen patches for
that. DMRAID45 and Rich ACLs also needed updating.
- commit 228c5dd
-------------------------------------------------------------------
Mon Mar 18 10:14:30 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix sed command with multiple certificates
- commit 59405a2
-------------------------------------------------------------------
Fri Mar 15 16:10:07 CET 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Install the used certificates below
/etc/uefi/certs (fate#314507).
- commit 19b4300
-------------------------------------------------------------------
Fri Mar 15 15:34:11 CET 2013 - mmarek@suse.cz
- rpm/kernel-cert-subpackage: Make the template work with multiple
certificates.
- commit 3bf5898
-------------------------------------------------------------------
Thu Mar 14 17:22:32 CET 2013 - jeffm@suse.com
- Updated to 3.9-rc2.
- Eliminated 52 patches.
- Xen is disabled.
- ARM configs need updating and are disabled.
- commit 3bf3dbf
-------------------------------------------------------------------
Thu Mar 14 16:37:22 CET 2013 - jeffm@suse.com
- Updated Patch-mainline headers for HyperV patches.
- commit 2e0d7a5
-------------------------------------------------------------------
Thu Mar 14 14:41:57 CET 2013 - jeffm@suse.com
- supported-flag: clean up patches and merge into one
The config option is renamed to CONFIG_SUSE_KERNEL_SUPPORTED and
the text has been updated to reflect that SUSE is no longer a
unit of Novell.
- commit 7761647
-------------------------------------------------------------------
Thu Mar 14 12:23:23 CET 2013 - tiwai@suse.de
- drm/i915: bounds check execbuffer relocation count
(bnc#808829,CVE-2013-0913).
- commit 72202f0
-------------------------------------------------------------------
Wed Mar 13 19:30:08 CET 2013 - jeffm@suse.com
- config: disabled CONFIG_SPI and CONFIG_IIO on non-ARM architectures
These devices are found almost entirely on embedded platforms and
end up adding hundreds of drivers for hardware that most users won't
have. On systems using them, they are more likely to be embedded
systems that should probably have a specialized kernel anyway.
- commit 33d736f
-------------------------------------------------------------------
Wed Mar 13 15:17:51 CET 2013 - jeffm@suse.com
- Updated patch-mainline for patches.rpmify/apm-honor-config_apm_cpu_idle-n
- commit 1008856
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de Tue Mar 12 14:54:41 CET 2013 - ohering@suse.de
@ -20,6 +385,20 @@ Mon Mar 11 11:57:40 CET 2013 - rw@suse.de
(fate#314095, bnc#807237) (fate#314095, bnc#807237)
- commit 09836cb - commit 09836cb
-------------------------------------------------------------------
Sun Mar 10 22:47:15 CET 2013 - mmarek@suse.cz
- KMP: Add -c <cert> option to the %kernel_module_package macro
This produces an -ueficert subpackage that imports the certificate into
the MokList when installed (fate#314511)
- commit d8f177c
-------------------------------------------------------------------
Fri Mar 8 11:16:27 CET 2013 - mmarek@suse.cz
- KMP: Add the -kmp suffix inside the subpackage definition
- commit 7c6395d
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz Tue Mar 5 21:44:13 CET 2013 - mmarek@suse.cz

View File

@ -19,8 +19,8 @@
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt # This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
# needssslcertforbuild # needssslcertforbuild
%define srcversion 3.8 %define srcversion 3.9
%define patchversion 3.8.2 %define patchversion 3.9.0
%define variant %{nil} %define variant %{nil}
%define vanilla_only 0 %define vanilla_only 0
@ -59,7 +59,7 @@
Name: kernel-xen Name: kernel-xen
Summary: The Xen Kernel Summary: The Xen Kernel
Version: 3.8.2 Version: 3.9.0
Release: 0 Release: 0
License: GPL-2.0 License: GPL-2.0
Group: System/Kernel Group: System/Kernel
@ -178,6 +178,7 @@ Source53: kernel-source.spec.in
Source54: kernel-binary.spec.in Source54: kernel-binary.spec.in
Source55: kernel-syms.spec.in Source55: kernel-syms.spec.in
Source56: kernel-docs.spec.in Source56: kernel-docs.spec.in
Source57: kernel-cert-subpackage
Source60: config.sh Source60: config.sh
Source61: compute-PATCHVERSION.sh Source61: compute-PATCHVERSION.sh
Source62: old-packages.conf Source62: old-packages.conf
@ -345,7 +346,7 @@ else
cp ../config/%cpu_arch_flavor .config cp ../config/%cpu_arch_flavor .config
fi fi
%build_src_dir/scripts/config \ %build_src_dir/scripts/config \
--set-str CONFIG_LOCALVERSION %release_num-%build_flavor \ --set-str CONFIG_LOCALVERSION -%source_rel-%build_flavor \
--enable CONFIG_SUSE_KERNEL \ --enable CONFIG_SUSE_KERNEL \
%if 0%{?__debug_package:1} %if 0%{?__debug_package:1}
--enable CONFIG_DEBUG_INFO \ --enable CONFIG_DEBUG_INFO \
@ -559,6 +560,24 @@ add_vmlinux()
# end of build_kdump # end of build_kdump
%endif %endif
# Package the compiled-in certificates as DER files in /etc/uefi/certs
# and have mokutil enroll them when the kernel is installed
certs=()
if test %CONFIG_MODULE_SIG = "y"; then
for f in *.x509; do
if ! test -s "$f"; then
continue
fi
h=$(openssl x509 -inform DER -fingerprint -noout -in "$f")
test -n "$h"
cert=/etc/uefi/certs/$(echo "$h" | \
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
mkdir -p %buildroot/etc/uefi/certs
cp "$f" %buildroot/"$cert"
certs=("${certs[@]}" "$cert")
done
fi
for sub in '-base' '' '-extra'; do for sub in '-base' '' '-extra'; do
case "$sub" in case "$sub" in
'-base' | '') base_package=1 ;; '-base' | '') base_package=1 ;;
@ -575,6 +594,18 @@ for sub in '-base' '' '-extra'; do
-e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \ -e "s:@CPU_ARCH_FLAVOR@:%cpu_arch_flavor:g" \
-e "s:@SRCVARIANT@:%variant:g" \ -e "s:@SRCVARIANT@:%variant:g" \
%_sourcedir/$script.sh > %my_builddir/$script$sub.sh %_sourcedir/$script.sh > %my_builddir/$script$sub.sh
if test "$base_package" -eq 0 -o "${#certs[@]}" -eq 0; then
continue
fi
case "$script" in
preun | postun | post)
;;
*)
continue
esac
# Copy the respective scriptlet from kernel-cert-subpackage
sed "1,/^%%$script / d; /^%%[^%%]/,\$ d; s:@CERTS@:${certs[*]}:g" \
%_sourcedir/kernel-cert-subpackage >>"%my_builddir/$script$sub.sh"
done done
done done
@ -775,6 +806,9 @@ done
-o -name '*.ko' -prune -o -printf '/%%p\n' -o -name '*.ko' -prune -o -printf '/%%p\n'
cat %my_builddir/base-modules cat %my_builddir/base-modules
fi fi
if test %CONFIG_MODULE_SIG = "y"; then
find etc/uefi/certs -type f -printf '/%%p\n'
fi
test -d lib/firmware/%kernelrelease-%build_flavor && \ test -d lib/firmware/%kernelrelease-%build_flavor && \
find lib/firmware/%kernelrelease-%build_flavor \ find lib/firmware/%kernelrelease-%build_flavor \
-type d -o \ -type d -o \

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fce774b5313e73949cb35f128e91e7b2ccd7fa2438abc5cff69267e504395a45
size 84623657

3
linux-3.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97e48f31ed2197f4e7e4938d4fab8da522cf80e60c6ce69668b0805904499305
size 85974463

View File

@ -3,10 +3,10 @@
%kernel_module_package_buildreqs module-init-tools kernel-syms %kernel_module_package_buildreqs module-init-tools kernel-syms
# Defines %flavors_to_build and %kernel_source() as a side effect. # Defines %flavors_to_build and %kernel_source() as a side effect.
%_kernel_module_package(n:v:r:t:f:Xp:b) \ %_kernel_module_package(n:v:r:t:f:Xp:bc:) \
%{expand:%( \ %{expand:%( set -x \
subpkg=%{-t*}%{!-t:/usr/lib/rpm/kernel-module-subpackage} \ subpkg=%{-t*}%{!-t:/usr/lib/rpm/kernel-module-subpackage} \
echo "%%define _suse_kernel_module_subpackage(n:v:r:f:p:b) %%{expand:%%(cd %_sourcedir; cat $subpkg; echo %%%%nil)}" \ echo "%%define _suse_kernel_module_subpackage(n:v:r:f:p:bc) %%{expand:%%(cd %_sourcedir; cat $subpkg; echo %%%%nil)}" \
flavors_to_build= \ flavors_to_build= \
flavors="%*" \ flavors="%*" \
for flavor in $(ls /usr/src/linux-obj/%_target_cpu 2>/dev/null); do \ for flavor in $(ls /usr/src/linux-obj/%_target_cpu 2>/dev/null); do \
@ -19,7 +19,7 @@
krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease) \ krel=$(make -s -C /usr/src/linux-obj/%_target_cpu/$flavor kernelrelease) \
kver=${krel%%-*} \ kver=${krel%%-*} \
flavors_to_build="$flavors_to_build $flavor" \ flavors_to_build="$flavors_to_build $flavor" \
echo "%%_suse_kernel_module_subpackage -n %{-n*}%{!-n:%name}-kmp -v %{-v*}%{!-v:%version} -r %{-r*}%{!-r:%release} %{-p} %{-b} $flavor $kver" \ echo "%%_suse_kernel_module_subpackage -n %{-n*}%{!-n:%name} -v %{-v*}%{!-v:%version} -r %{-r*}%{!-r:%release} %{-p} %{-b} %{-c:-c} $flavor $kver" \
done \ done \
echo "%%global flavors_to_build${flavors_to_build:-%%nil}" \ echo "%%global flavors_to_build${flavors_to_build:-%%nil}" \
echo "%%{expand:%%(test -z '%flavors_to_build' && echo %%%%internal_kmp_error)}" \ echo "%%{expand:%%(test -z '%flavors_to_build' && echo %%%%internal_kmp_error)}" \
@ -31,13 +31,18 @@
echo "Summary: %summary" \ echo "Summary: %summary" \
echo "Group: %group" \ echo "Group: %group" \
echo "%description -n %{-n*}%{!-n:%name}-kmp-_dummy_" \ echo "%description -n %{-n*}%{!-n:%name}-kmp-_dummy_" \
%{-c:
for fmt in DER PEM; do h=$(openssl x509 -inform $fmt -fingerprint -noout -in %{-c*}); if test -n "$h"; then break; fi; done \
cert=/etc/uefi/certs/$(echo "$h" | sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\\1/p').crt
sed "s:@CERTS@:$cert:g" /usr/lib/rpm/kernel-cert-subpackage \
echo "%%global __spec_build_pre %%__spec_build_pre mkdir -p %%buildroot/etc/uefi/certs; openssl x509 -in %{-c*} -inform $fmt -out %%buildroot/$cert -outform DER" } \
)} )}
# kernel_module_package: simply pass on all options and arguments. # kernel_module_package: simply pass on all options and arguments.
%kernel_module_package(n:v:r:t:f:xp:b) \ %kernel_module_package(n:v:r:t:f:xp:bc:) \
%{expand:%%_kernel_module_package %{-x:-X} %{-n} %{-v} %{-r} %{-t} %{-f} %{-p} %*} %{expand:%%_kernel_module_package %{-x:-X} %{-n} %{-v} %{-r} %{-t} %{-f} %{-p} %*}
# suse_kernel_module_package: invert the meaning of the -x flag. (You are not # suse_kernel_module_package: invert the meaning of the -x flag. (You are not
# supposed to understand why a simple %{-x:}%{!-x:-x} won't work.) # supposed to understand why a simple %{-x:}%{!-x:-x} won't work.)
%suse_kernel_module_package(n:v:r:s:f:xp:b) \ %suse_kernel_module_package(n:v:r:s:f:xp:bc:) \
%{expand:%%_kernel_module_package %{-x: }%{!-x:-X} %{-n} %{-v} %{-r} %{-s:-t %{-s*}} %{-f} %{-p} %*} %{expand:%%_kernel_module_package %{-x: }%{!-x:-X} %{-n} %{-v} %{-r} %{-s:-t %{-s*}} %{-f} %{-p} %*}

12
mkspec
View File

@ -7,7 +7,7 @@ use File::Copy;
use Getopt::Long; use Getopt::Long;
my $dir = "."; my $dir = ".";
my $rpmrelease; my $rpmrelease = 0;
my $patches=""; my $patches="";
GetOptions( GetOptions(
@ -41,16 +41,6 @@ $rpmversion =~ s/\.0-rc/.rc/;
$rpmversion =~ s/-rc\d+//; $rpmversion =~ s/-rc\d+//;
$rpmversion =~ s/-/./g; $rpmversion =~ s/-/./g;
if (defined($rpmrelease)) {
# convince abuild that we really want this release number
xopen(my $fh, '>', "$dir/get_release_number.sh");
print $fh "#!/bin/sh\n";
print $fh "echo \"$rpmrelease.0\"\n";
close($fh);
chmod(0755, "$dir/get_release_number.sh");
} else {
$rpmrelease = "0";
}
$rpmrelease =~ s/-/./g; $rpmrelease =~ s/-/./g;
my $sources = join("", $templates{source} =~ /\nSource\d+:[^\n]*/mg); my $sources = join("", $templates{source} =~ /\nSource\d+:[^\n]*/mg);

View File

@ -122,23 +122,11 @@ VMI-enabled kernel
The Linux Kernel designed to run on top of a virtual machine The Linux Kernel designed to run on top of a virtual machine
interface layer (VMI). interface layer (VMI).
=== kernel-imx51 === === kernel-lpae ===
Kernel for Freescale's iMX SoC Kernel for LPAE enabled systems
The standard kernel for Freescale's i.MX51 SoC, as found in The kernel for all 32-bit ARM platforms that support LPAE. This includes all
devices like the Genesi EfikaMX family. Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
=== kernel-omap2plus ===
Kernel for Texas instrument's OMAP SoC
The standard kernel for Texas instrument's OMAP SoC, as
found in devices like the PandaBoard and BeagleBoard.
=== kernel-u8500 ===
Kernel for ST-Ericsson's Nova SoC
The standard kernel for ST-Ericsson's Nova SoC, as found in
devices like the Snowball.
=== kernel-cubox === === kernel-cubox ===
Kernel for SolidRun Cubox Kernel for SolidRun Cubox

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:6663dc8094097b31c57db0660f3dd5da24c1319ada1122f9071152e1ce000241 oid sha256:91d89b85e4d00ef57daf4720eb834e7278ccb673c6ca3a5294d5b1bbd3d73283
size 78573 size 80690

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:298e8fbf1bc7b3c41967e2f2e2c17df7b78d56e97fcee0cb1bf3503c3d68ba45 oid sha256:2bbe4643087461ffb5014b6099d9e00d25965caaabec3eebb7786ec4baf4fcd8
size 25866 size 20757

BIN
patches.kernel.org.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f69b3548b9b716249278260e254678eb1ee05b34f8e779571ed2dc716d5b95b2 oid sha256:1f09e35e814ae0bb5b5b5abfb57b5f4312b1eb7eec2d8bb580378c1debd46193
size 5631 size 4237

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:0c38f8bf6a5538a16faf566f3ebb17e1ff07cbe07e6457f4f84c3d6c2fa52ab1 oid sha256:74843bf5f7c841424a21be2fe82d6b13a03910ec02ea7c87fbbb621f6438278b
size 172066 size 151943

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b6a8cee409c2e9e3a834c2fa231b2b3bb198e8700c3120df179d14a81c9bf4c5 oid sha256:9ee42e9741e81f958d2d746f500cf15c730194977552aa9ab7c8e8eca8d13e2f
size 2068754 size 2096747

View File

@ -27,15 +27,12 @@
# DO NOT MODIFY THEM! # DO NOT MODIFY THEM!
# Send separate patches upstream if you find a problem... # Send separate patches upstream if you find a problem...
######################################################## ########################################################
patches.kernel.org/patch-3.8.1
patches.kernel.org/patch-3.8.1-2
######################################################## ########################################################
# Build fixes that apply to the vanilla kernel too. # Build fixes that apply to the vanilla kernel too.
# Patches in patches.rpmify are applied to both -vanilla # Patches in patches.rpmify are applied to both -vanilla
# and patched flavors. # and patched flavors.
######################################################## ########################################################
patches.rpmify/apm-honor-config_apm_cpu_idle-n
patches.rpmify/nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo patches.rpmify/nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo
patches.rpmify/pti-depends-on-x86-pci patches.rpmify/pti-depends-on-x86-pci
patches.rpmify/geode-depends-on-x86_32 patches.rpmify/geode-depends-on-x86_32
@ -66,7 +63,6 @@
# kbuild/module infrastructure fixes # kbuild/module infrastructure fixes
######################################################## ########################################################
patches.suse/supported-flag patches.suse/supported-flag
patches.suse/supported-flag-enterprise
patches.suse/genksyms-add-override-flag.diff patches.suse/genksyms-add-override-flag.diff
patches.suse/kconfig-automate-kernel-desktop patches.suse/kconfig-automate-kernel-desktop
@ -155,12 +151,20 @@
# ARM # ARM
######################################################## ########################################################
patches.arch/cubox-configuration.patch patches.arch/cubox-configuration.patch
patches.arch/arm-fix-build-ux500-module.diff
patches.arch/arm-exynos-nosparse.patch patches.arch/arm-exynos-nosparse.patch
patches.arch/arm-origen-regulator.patch patches.arch/arm-origen-regulator.patch
patches.arch/arm-OMAP-Fix-missing-cm3xxx.h-include.patch patches.arch/arm-OMAP-Fix-missing-cm3xxx.h-include.patch
patches.arch/arm-OMAP-Fix-missing-usb.h-include.patch patches.arch/arm-OMAP-Fix-missing-usb.h-include.patch
patches.arch/arm-imx-usb.patch patches.arch/arm-imx-usb.patch
patches.arch/arm-omap3isp.patch
patches.arch/arm-kvm-iommu.patch
patches.arch/arm-fec.patch
patches.arch/arm-smdkv310.patch
patches.arch/arm-exynos-devtree.patch
patches.arch/arm-highbank-cpuidle.patch
# Compile fix for Xen on ARM with our Xen patches applied
patches.arch/arm-xen-fixup.patch
patches.arch/arm-highbank-sata.patch
######################################################## ########################################################
# S/390 # S/390
@ -192,6 +196,7 @@
######################################################## ########################################################
patches.suse/connector-read-mostly patches.suse/connector-read-mostly
patches.suse/kbd-ignore-gfx.patch patches.suse/kbd-ignore-gfx.patch
patches.suse/ida-remove-warning-dump-stack.patch
######################################################## ########################################################
# #
@ -224,47 +229,9 @@
######################################################## ########################################################
# Suse specific stuff # Suse specific stuff
######################################################## ########################################################
patches.suse/suse-hv-X86-Add-a-check-to-catch-Xen-emulation-of-Hyper-V.patch
patches.suse/suse-hv-fate314663-0005-Drivers-hv-balloon-Make-adjustments-to-the-pressure-.patch
patches.suse/suse-hv-fate314663-0006-Drivers-hv-balloon-Add-a-parameter-to-delay-pressure.patch
patches.suse/suse-hv-fate314663-0007-Drivers-hv-balloon-Prevent-the-host-from-ballooning-.patch
patches.suse/suse-hv-fate314663-0008-Drivers-hv-balloon-Execute-balloon-inflation-in-a-se.patch patches.suse/suse-hv-fate314663-0008-Drivers-hv-balloon-Execute-balloon-inflation-in-a-se.patch
patches.suse/suse-hv-fate314663-0009-Drivers-hv-balloon-Execute-hot-add-code-in-a-separat.patch patches.suse/suse-hv-fate314663-0009-Drivers-hv-balloon-Execute-hot-add-code-in-a-separat.patch
patches.suse/suse-hv-fate314665-0001-Drivers-hv-Implement-routines-for-read-side-signalin.patch
patches.suse/suse-hv-fate314665-0002-Drivers-hv-Add-state-to-manage-batched-reading.patch
patches.suse/suse-hv-fate314665-0003-Drivers-hv-Turn-off-batched-reading-for-util-drivers.patch
patches.suse/suse-hv-fate314665-0004-Drivers-hv-Optimize-signaling-in-the-read-path.patch
patches.suse/suse-hv-fate314665-0005-Drivers-hv-Optimize-the-signaling-on-the-write-path.patch
patches.suse/suse-hv-fate314665-0006-Drivers-hv-Get-rid-of-hv_get_ringbuffer_interrupt_ma.patch
patches.suse/suse-hv-fate314665-0007-Drivers-hv-Support-handling-multiple-VMBUS-versions.patch
patches.suse/suse-hv-fate314665-0008-Drivers-hv-Update-the-ring-buffer-structure-to-match.patch
patches.suse/suse-hv-fate314665-0009-Drivers-hv-Extend-modify-vmbus_channel_offer_channel.patch
patches.suse/suse-hv-fate314665-0010-Drivers-hv-Save-and-export-negotiated-vmbus-version.patch
patches.suse/suse-hv-fate314665-0011-Drivers-hv-Change-the-signature-for-hv_signal_event.patch
patches.suse/suse-hv-fate314665-0012-Drivers-hv-Change-the-signature-of-vmbus_set_event.patch
patches.suse/suse-hv-fate314665-0013-Drivers-hv-Move-vmbus-version-definitions-to-hyperv..patch
patches.suse/suse-hv-fate314665-0014-Drivers-hv-Manage-signaling-state-on-a-per-connectio.patch
patches.suse/suse-hv-fate314665-0015-Drivers-hv-Cleanup-vmbus_set_event-to-support-win7-a.patch
patches.suse/suse-hv-fate314665-0016-Drivers-hv-Setup-a-mapping-for-Hyper-V-s-notion-cpu-.patch
patches.suse/suse-hv-fate314665-0017-Drivers-hv-Add-state-to-manage-incoming-channel-inte.patch
patches.suse/suse-hv-fate314665-0018-Drivers-hv-Modify-the-interrupt-handling-code-to-sup.patch
patches.suse/suse-hv-fate314665-0019-Drivers-hv-Add-code-to-distribute-channel-interrupt-.patch
patches.suse/suse-hv-fate314665-0020-Drivers-hv-Get-rid-of-the-unused-global-signaling-st.patch
patches.suse/suse-hv-fate314665-0021-Drivers-hv-Get-rid-of-unnecessary-request-for-offers.patch
patches.suse/suse-hv-fate314665-0022-Drivers-hv-Manage-event-tasklets-on-per-cpu-basis.patch
patches.suse/suse-hv-fate314665-0023-Drivers-hv-Handle-vmbus-interrupts-concurrently-on-a.patch
patches.suse/suse-hv-fate314665-0024-Drivers-hv-Add-a-check-to-deal-with-spurious-interru.patch
patches.suse/suse-hv-fate314665-0025-Drivers-hv-Enable-protocol-negotiation-with-win8-hos.patch
patches.suse/suse-hv-fate314665-0026-Drivers-hv-Implement-flow-management-on-the-send-sid.patch
patches.suse/suse-hv-fate314665-0027-Drivers-hv-Capture-the-host-build-information.patch
patches.suse/suse-hv-fate314665-0028-Drivers-hv-Cleanup-and-consolidate-reporting-of-buil.patch
patches.suse/suse-hv-fate314665-0029-X86-Handle-Hyper-V-vmbus-interrupts-as-special-hyper.patch
patches.suse/suse-hv-fate314665-0030-Drivers-hv-Bind-all-vmbbus-interrupts-to-the-boot-CP.patch
patches.suse/suse-hv-fate314665-0031-Drivers-hv-vmbus-Use-the-new-infrastructure-for-deli.patch
patches.suse/suse-hv-fate314665-0032-Drivers-hv-vmbus-Handle-channel-rescind-message-corr.patch patches.suse/suse-hv-fate314665-0032-Drivers-hv-vmbus-Handle-channel-rescind-message-corr.patch
patches.suse/suse-hv-Drivers-hv-Execute-shutdown-in-a-thread-context.patch
patches.suse/suse-hv-Drivers-scsi-storvsc-Initialize-the-sglist.patch
patches.suse/suse-hv-scsi-storvsc-avoid-usage-of-WRITE_SAME.patch
patches.suse/suse-hv-synthetic-video.patch patches.suse/suse-hv-synthetic-video.patch
patches.suse/suse-hv-fate314663-0001-Drivers-hv-balloon-Do-not-request-completion-notific.patch patches.suse/suse-hv-fate314663-0001-Drivers-hv-balloon-Do-not-request-completion-notific.patch
@ -428,9 +395,6 @@
######################################################## ########################################################
patches.fixes/tulip-quad-NIC-ifdown patches.fixes/tulip-quad-NIC-ifdown
patches.drivers/ehea-modinfo.patch patches.drivers/ehea-modinfo.patch
patches.fixes/e1000e-fix-accessing-to-suspended-device.patch
patches.fixes/e1000e-fix-pci-device-enable-counter-balance.patch
patches.fixes/e1000e-fix-runtime-power-management-transitions.patch
######################################################## ########################################################
# Wireless Networking # Wireless Networking
@ -449,7 +413,6 @@
######################################################## ########################################################
# PCI and PCI hotplug # PCI and PCI hotplug
######################################################## ########################################################
patches.fixes/PCI-PM-Clear-state_saved-during-suspend.patch
######################################################## ########################################################
# sysfs / driver core # sysfs / driver core
@ -458,7 +421,6 @@
######################################################## ########################################################
# USB # USB
######################################################## ########################################################
patches.fixes/revert-USB-EHCI-remove-ASS-PSS-polling-timeout.patch
######################################################## ########################################################
# I2C # I2C
@ -479,13 +441,11 @@
######################################################## ########################################################
# Char / serial # Char / serial
######################################################## ########################################################
patches.fixes/TTY-do-not-update-atime-mtime-on-read-write.patch
######################################################## ########################################################
# Other driver fixes # Other driver fixes
######################################################## ########################################################
patches.fixes/parport-mutex patches.fixes/parport-mutex
patches.fixes/gpio-ich-fix-ichx_gpio_check_available-return.patch
# Needs updating WRT d27769ec (block: add GENHD_FL_NO_PART_SCAN) # Needs updating WRT d27769ec (block: add GENHD_FL_NO_PART_SCAN)
+hare patches.suse/no-partition-scan +hare patches.suse/no-partition-scan
@ -503,12 +463,7 @@
######################################################## ########################################################
patches.suse/dm-emulate-blkrrpart-ioctl patches.suse/dm-emulate-blkrrpart-ioctl
patches.suse/dm-raid45-26-Nov-2009.patch patches.suse/dm-raid45-26-Nov-2009.patch
patches.suse/dmraid45-dm_dirty_log_create-api-fix patches.suse/dmraid45-api-updates
patches.suse/dmraid45-dm_get_device-takes-fewer-arguments
patches.suse/dm-raid45-api-update-remove-dm_put-after-dm_table_get_md
patches.suse/dm-raid45-api-update-no-barriers
patches.suse/dm-raid45-api-2.6.39
patches.suse/dm-raid45-api-3.0
patches.suse/dm-raid45-split-dependencies patches.suse/dm-raid45-split-dependencies
patches.fixes/dm-mpath-reattach-dh patches.fixes/dm-mpath-reattach-dh
patches.suse/dm-mpath-leastpending-path-update patches.suse/dm-mpath-leastpending-path-update
@ -555,7 +510,7 @@
patches.suse/stack-unwind patches.suse/stack-unwind
patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops patches.suse/revert-x86-remove-warning-and-warning_symbol-from-struct-stacktrace_ops
patches.suse/no-frame-pointer-select patches.suse/no-frame-pointer-select
patches.arch/x86_64-unwind-annotations +jbeulich patches.arch/x86_64-unwind-annotations
patches.arch/stack-unwind-cfi_ignore-takes-more-arguments patches.arch/stack-unwind-cfi_ignore-takes-more-arguments
######################################################## ########################################################
@ -668,7 +623,7 @@
patches.xen/xen3-patch-3.6 patches.xen/xen3-patch-3.6
patches.xen/xen3-patch-3.7 patches.xen/xen3-patch-3.7
patches.xen/xen3-patch-3.8 patches.xen/xen3-patch-3.8
patches.xen/xen3-patch-3.8.1-2 patches.xen/xen3-patch-3.9-rc8
# ports of other patches # ports of other patches
patches.xen/xen3-010-acpi_initrd_override_tables.patch patches.xen/xen3-010-acpi_initrd_override_tables.patch
@ -685,7 +640,6 @@
patches.xen/xen-pcpu-hotplug patches.xen/xen-pcpu-hotplug
patches.xen/xen-pcpu-hotplug-kexec patches.xen/xen-pcpu-hotplug-kexec
patches.xen/xen-mem-hotplug patches.xen/xen-mem-hotplug
patches.xen/xen-swiotlb-heuristics
patches.xen/xen-configurable-guest-devices patches.xen/xen-configurable-guest-devices
patches.xen/xen-setup-gsi patches.xen/xen-setup-gsi
patches.xen/xen-sections patches.xen/xen-sections

View File

@ -1,3 +1,3 @@
2013-03-12 14:54:41 +0100 2013-05-07 10:14:56 +0200
GIT Revision: 6b249cb8c19a26e52aa53813bee76d3ea3191828 GIT Revision: d6e99fd50706d06fa96319e528b75295dacbfb4c
GIT Branch: master GIT Branch: master