Accepting request 176431 from Kernel:HEAD
- Remove unused 3.9-stable patches. - commit d28ac96 - config: remove sparc64 configs The sparc64 configs have been completely unmaintained for two years. If someone wants to resurrect support, we'll accept patches. - commit 17364b5 - sparc64: revert accidental changes during the 3.9-rc2 update - commit b120c5a - Update group-source-files.pl to handle symlink to directory Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel files and avoid listing README.SUSE twice. - commit ba8f987 - Update to 3.10-rc2. - commit e454a38 - Linux 3.9.3. - Update config files. - Refresh patches.xen/xen3-patch-2.6.21. - Refresh patches.xen/xen3-patch-2.6.24. - Refresh patches.xen/xen3-patch-2.6.36. - commit 00c4cdd - rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list. - commit 9d687ad - rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet OBS-URL: https://build.opensuse.org/request/show/176431 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-source?expand=0&rev=191
This commit is contained in:
commit
0b481f2e6f
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 12:56:50 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- CONFIG_OF_MDIO=m (for configs which have CONFIG_OF=y)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 5 09:53:46 CEST 2013 - jdelvare@suse.de
|
Sun May 5 09:53:46 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
24
config.conf
24
config.conf
@ -12,8 +12,8 @@
|
|||||||
+i386 i386/desktop
|
+i386 i386/desktop
|
||||||
+i386 i386/pae
|
+i386 i386/pae
|
||||||
+i386 -syms i386/debug
|
+i386 -syms i386/debug
|
||||||
+i386 i386/xen
|
#+i386 i386/xen
|
||||||
+i386 -syms i386/ec2
|
#+i386 -syms i386/ec2
|
||||||
+i386 i386/vanilla
|
+i386 i386/vanilla
|
||||||
+i386 -syms i386/trace
|
+i386 -syms i386/trace
|
||||||
|
|
||||||
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
+x86_64 x86_64/default
|
+x86_64 x86_64/default
|
||||||
+x86_64 x86_64/desktop
|
+x86_64 x86_64/desktop
|
||||||
+x86_64 x86_64/xen
|
#+x86_64 x86_64/xen
|
||||||
+x86_64 -syms x86_64/ec2
|
#+x86_64 -syms x86_64/ec2
|
||||||
+x86_64 -syms x86_64/debug
|
+x86_64 -syms x86_64/debug
|
||||||
+x86_64 x86_64/vanilla
|
+x86_64 x86_64/vanilla
|
||||||
+x86_64 -syms x86_64/trace
|
+x86_64 -syms x86_64/trace
|
||||||
@ -38,12 +38,12 @@
|
|||||||
+ppc64 ppc64/vanilla
|
+ppc64 ppc64/vanilla
|
||||||
|
|
||||||
# ARM architectures
|
# ARM architectures
|
||||||
+armv5tel armv5tel/versatile
|
#+armv5tel armv5tel/versatile
|
||||||
+armv7hl armv7hl/default
|
#+armv7hl armv7hl/default
|
||||||
+armv7hl armv7hl/lpae
|
#+armv7hl armv7hl/lpae
|
||||||
+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
|
||||||
@ -51,7 +51,3 @@
|
|||||||
#+s390x s390x/default
|
#+s390x s390x/default
|
||||||
#+s390x -syms s390x/trace
|
#+s390x -syms s390x/trace
|
||||||
#+s390x s390x/vanilla
|
#+s390x s390x/vanilla
|
||||||
|
|
||||||
# Maintained by jengelh
|
|
||||||
# +sparc64 sparc64/default
|
|
||||||
# +sparc64 -syms sparc64/net
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
# The version of the main tarball to use
|
# The version of the main tarball to use
|
||||||
SRCVERSION=3.9
|
SRCVERSION=3.10-rc2
|
||||||
# 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
|
||||||
|
OBS_PROJECT_PPC=openSUSE:Factory:PowerPC
|
||||||
IBS_PROJECT=SUSE:Factory:Head
|
IBS_PROJECT=SUSE:Factory:Head
|
||||||
IBS_PROJECT_ARM=Devel:ARM:Factory
|
IBS_PROJECT_ARM=Devel:ARM:Factory
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:277aaafee2e64f6581b2a66ea4d20f123e220a4a096d86d00997813a5ddd9d9d
|
oid sha256:9ba085ab75bb08cba0dadcbf7f50217c5539e273fdde89b8df49655d19daf4eb
|
||||||
size 254639
|
size 173048
|
||||||
|
@ -26,7 +26,7 @@ sub scan
|
|||||||
foreach $_ (`find "$loc"`)
|
foreach $_ (`find "$loc"`)
|
||||||
{
|
{
|
||||||
chomp $_;
|
chomp $_;
|
||||||
if (!-f $_) {
|
if (-d $_ && !-l $_) {
|
||||||
# Generate directory list later.
|
# Generate directory list later.
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
@ -34,7 +34,10 @@ sub scan
|
|||||||
m{^\Q$loc\E.*/Kconfig} ||
|
m{^\Q$loc\E.*/Kconfig} ||
|
||||||
m{^\Q$loc\E.*/Kbuild} ||
|
m{^\Q$loc\E.*/Kbuild} ||
|
||||||
m{^\Q$loc\E.*/Makefile} ||
|
m{^\Q$loc\E.*/Makefile} ||
|
||||||
|
m{^\Q$loc\E/arch/[^/]+/boot/dts/include/dt-bindings\b} ||
|
||||||
m{^\Q$loc\E/arch/[^/]+/include\b} ||
|
m{^\Q$loc\E/arch/[^/]+/include\b} ||
|
||||||
|
m{^\Q$loc\E/arch/arm/[^/]+/include/mach\b} ||
|
||||||
|
m{^\Q$loc\E/arch/arm/[^/]+/include/plat\b} ||
|
||||||
m{^\Q$loc\E/include/[^/]+\b} ||
|
m{^\Q$loc\E/include/[^/]+\b} ||
|
||||||
m{^\Q$loc\E/scripts\b};
|
m{^\Q$loc\E/scripts\b};
|
||||||
if (substr($_, 0, 1) ne "/") {
|
if (substr($_, 0, 1) ne "/") {
|
||||||
|
@ -493,6 +493,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -515,18 +518,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
28148
kernel-cubox.changes
28148
kernel-cubox.changes
File diff suppressed because it is too large
Load Diff
@ -1,993 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kernel-cubox
|
|
||||||
#
|
|
||||||
# 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.9
|
|
||||||
%define patchversion 3.9.0
|
|
||||||
%define variant %{nil}
|
|
||||||
%define vanilla_only 0
|
|
||||||
|
|
||||||
%include %_sourcedir/kernel-spec-macros
|
|
||||||
|
|
||||||
%define build_flavor cubox
|
|
||||||
%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-cubox
|
|
||||||
Summary: Kernel for SolidRun Cubox
|
|
||||||
Version: 3.9.0
|
|
||||||
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
|
|
||||||
Source57: kernel-cert-subpackage
|
|
||||||
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 Marvell Dove SoC, as found in
|
|
||||||
the SolidRun Cubox.
|
|
||||||
|
|
||||||
|
|
||||||
%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 -%source_rel-%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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
%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
|
|
||||||
if test %CONFIG_MODULE_SIG = "y"; then
|
|
||||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
|
||||||
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 SolidRun Cubox - 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 Marvell Dove SoC, as found in
|
|
||||||
the SolidRun Cubox.
|
|
||||||
|
|
||||||
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 SolidRun Cubox - 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 Marvell Dove SoC, as found in
|
|
||||||
the SolidRun Cubox.
|
|
||||||
|
|
||||||
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
|
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -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.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
Name: kernel-debug
|
Name: kernel-debug
|
||||||
Summary: A Debug Version of the Kernel
|
Summary: A Debug Version of the Kernel
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -148,7 +148,7 @@ Provides: kernel-kdump
|
|||||||
Obsoletes: kernel-kdump
|
Obsoletes: kernel-kdump
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -573,6 +573,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -595,18 +598,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -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.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
Name: kernel-default
|
Name: kernel-default
|
||||||
Summary: The Standard Kernel
|
Summary: The Standard Kernel
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -156,7 +156,7 @@ Provides: smp kernel-smp
|
|||||||
Obsoletes: smp kernel-smp
|
Obsoletes: smp kernel-smp
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -217,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 ppc ppc64 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
|
||||||
@ -580,6 +580,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -602,18 +605,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -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.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
Name: kernel-desktop
|
Name: kernel-desktop
|
||||||
Summary: Kernel optimized for the desktop
|
Summary: Kernel optimized for the desktop
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -145,7 +145,7 @@ Conflicts: libc.so.6()(64bit)
|
|||||||
Provides: kernel = %version-%source_rel
|
Provides: kernel = %version-%source_rel
|
||||||
|
|
||||||
|
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -582,6 +582,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -604,18 +607,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -17,15 +17,15 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%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.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
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
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
|
28148
kernel-ec2.changes
28148
kernel-ec2.changes
File diff suppressed because it is too large
Load Diff
999
kernel-ec2.spec
999
kernel-ec2.spec
@ -1,999 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kernel-ec2
|
|
||||||
#
|
|
||||||
# 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.9
|
|
||||||
%define patchversion 3.9.0
|
|
||||||
%define variant %{nil}
|
|
||||||
%define vanilla_only 0
|
|
||||||
|
|
||||||
%include %_sourcedir/kernel-spec-macros
|
|
||||||
|
|
||||||
%define build_flavor ec2
|
|
||||||
%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-ec2
|
|
||||||
Summary: The Amazon EC2 Xen Kernel
|
|
||||||
Version: 3.9.0
|
|
||||||
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
|
|
||||||
Source57: kernel-cert-subpackage
|
|
||||||
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: %ix86 x86_64
|
|
||||||
%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 Linux kernel for Xen paravirtualization.
|
|
||||||
|
|
||||||
This kernel can only be used both as an unprivileged ("xenU")
|
|
||||||
kernel (for Amazon EC2).
|
|
||||||
|
|
||||||
|
|
||||||
%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 -%source_rel-%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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
%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
|
|
||||||
if test %CONFIG_MODULE_SIG = "y"; then
|
|
||||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
|
||||||
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 Amazon EC2 Xen 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 Linux kernel for Xen paravirtualization.
|
|
||||||
|
|
||||||
This kernel can only be used both as an unprivileged ("xenU")
|
|
||||||
kernel (for Amazon EC2).
|
|
||||||
|
|
||||||
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 Amazon EC2 Xen 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 Linux kernel for Xen paravirtualization.
|
|
||||||
|
|
||||||
This kernel can only be used both as an unprivileged ("xenU")
|
|
||||||
kernel (for Amazon EC2).
|
|
||||||
|
|
||||||
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
|
|
28148
kernel-exynos.changes
28148
kernel-exynos.changes
File diff suppressed because it is too large
Load Diff
@ -1,990 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kernel-exynos
|
|
||||||
#
|
|
||||||
# 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.9
|
|
||||||
%define patchversion 3.9.0
|
|
||||||
%define variant %{nil}
|
|
||||||
%define vanilla_only 0
|
|
||||||
|
|
||||||
%include %_sourcedir/kernel-spec-macros
|
|
||||||
|
|
||||||
%define build_flavor exynos
|
|
||||||
%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-exynos
|
|
||||||
Summary: Kernel for Samsung's Exynos SoC
|
|
||||||
Version: 3.9.0
|
|
||||||
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
|
|
||||||
Source57: kernel-cert-subpackage
|
|
||||||
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 Samsung's Exynos 4 & 5 SoC, as found in the Origen board.
|
|
||||||
|
|
||||||
|
|
||||||
%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 -%source_rel-%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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
%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
|
|
||||||
if test %CONFIG_MODULE_SIG = "y"; then
|
|
||||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
|
||||||
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 Samsung's Exynos 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 Samsung's Exynos 4 & 5 SoC, as found in the Origen board.
|
|
||||||
|
|
||||||
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 Samsung's Exynos 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 Samsung's Exynos 4 & 5 SoC, as found in the Origen board.
|
|
||||||
|
|
||||||
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
|
|
28148
kernel-lpae.changes
28148
kernel-lpae.changes
File diff suppressed because it is too large
Load Diff
993
kernel-lpae.spec
993
kernel-lpae.spec
@ -1,993 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kernel-lpae
|
|
||||||
#
|
|
||||||
# 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.9
|
|
||||||
%define patchversion 3.9.0
|
|
||||||
%define variant %{nil}
|
|
||||||
%define vanilla_only 0
|
|
||||||
|
|
||||||
%include %_sourcedir/kernel-spec-macros
|
|
||||||
|
|
||||||
%define build_flavor lpae
|
|
||||||
%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-lpae
|
|
||||||
Summary: Kernel for LPAE enabled systems
|
|
||||||
Version: 3.9.0
|
|
||||||
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
|
|
||||||
Source57: kernel-cert-subpackage
|
|
||||||
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 kernel for all 32-bit ARM platforms that support LPAE. This includes all
|
|
||||||
Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
|
|
||||||
|
|
||||||
|
|
||||||
%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 -%source_rel-%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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
%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
|
|
||||||
if test %CONFIG_MODULE_SIG = "y"; then
|
|
||||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
|
||||||
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 LPAE enabled systems - 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 kernel for all 32-bit ARM platforms that support LPAE. This includes all
|
|
||||||
Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
|
|
||||||
|
|
||||||
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 LPAE enabled systems - 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 kernel for all 32-bit ARM platforms that support LPAE. This includes all
|
|
||||||
Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
|
|
||||||
|
|
||||||
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
|
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -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.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
Name: kernel-pae
|
Name: kernel-pae
|
||||||
Summary: Kernel with PAE Support
|
Summary: Kernel with PAE Support
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -148,7 +148,7 @@ Provides: kernel-bigsmp
|
|||||||
Obsoletes: kernel-bigsmp
|
Obsoletes: kernel-bigsmp
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -579,6 +579,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -601,18 +604,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
# icecream 0
|
# icecream 0
|
||||||
|
|
||||||
%define srcversion 3.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
Name: kernel-source
|
Name: kernel-source
|
||||||
Summary: The Linux Kernel Sources
|
Summary: The Linux Kernel Sources
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Development/Sources
|
Group: Development/Sources
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -41,7 +41,7 @@ Requires(post): coreutils sed
|
|||||||
Provides: multiversion(kernel)
|
Provides: multiversion(kernel)
|
||||||
Provides: linux
|
Provides: linux
|
||||||
Provides: %name = %version-%source_rel
|
Provides: %name = %version-%source_rel
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -233,7 +233,6 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
|
|||||||
|
|
||||||
%files -f nondevel.files
|
%files -f nondevel.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/usr/src/linux%variant-%kernelrelease/README.SUSE
|
|
||||||
|
|
||||||
%files -n kernel-devel%variant -f devel.files
|
%files -n kernel-devel%variant -f devel.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -233,7 +233,6 @@ find %buildroot/usr/src/linux* ! -type l | xargs touch -d "$ts"
|
|||||||
|
|
||||||
%files -f nondevel.files
|
%files -f nondevel.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/usr/src/linux%variant-%kernelrelease/README.SUSE
|
|
||||||
|
|
||||||
%files -n kernel-devel%variant -f devel.files
|
%files -n kernel-devel%variant -f devel.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
Name: kernel-syms
|
Name: kernel-syms
|
||||||
Summary: Kernel Symbol Versions (modversions)
|
Summary: Kernel Symbol Versions (modversions)
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
%if %using_buildservice
|
%if %using_buildservice
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
%else
|
%else
|
||||||
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
|
%define kernel_source_release %(LC_ALL=C rpm -q kernel-devel%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
|
||||||
Release: %kernel_source_release
|
Release: %kernel_source_release
|
||||||
@ -35,36 +35,21 @@ Group: Development/Sources
|
|||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
AutoReqProv: off
|
AutoReqProv: off
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
%ifarch armv7hl
|
%ifarch %ix86 ppc ppc64 x86_64
|
||||||
Requires: kernel-cubox-devel = %version-%source_rel
|
|
||||||
%endif
|
|
||||||
%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
|
||||||
Requires: kernel-desktop-devel = %version-%source_rel
|
Requires: kernel-desktop-devel = %version-%source_rel
|
||||||
%endif
|
%endif
|
||||||
%ifarch armv7hl
|
|
||||||
Requires: kernel-exynos-devel = %version-%source_rel
|
|
||||||
%endif
|
|
||||||
%ifarch armv7hl
|
|
||||||
Requires: kernel-lpae-devel = %version-%source_rel
|
|
||||||
%endif
|
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
Requires: kernel-pae-devel = %version-%source_rel
|
Requires: kernel-pae-devel = %version-%source_rel
|
||||||
%endif
|
%endif
|
||||||
%ifarch armv5tel
|
|
||||||
Requires: kernel-versatile-devel = %version-%source_rel
|
|
||||||
%endif
|
|
||||||
%ifarch %ix86 x86_64
|
|
||||||
Requires: kernel-xen-devel = %version-%source_rel
|
|
||||||
%endif
|
|
||||||
Provides: multiversion(kernel)
|
Provides: multiversion(kernel)
|
||||||
Provides: %name = %version-%source_rel
|
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 ppc ppc64 x86_64
|
ExclusiveArch: %ix86 ppc ppc64 x86_64
|
||||||
Prefix: /usr/src
|
Prefix: /usr/src
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -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.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
Name: kernel-trace
|
Name: kernel-trace
|
||||||
Summary: The Standard Kernel with Tracing Features
|
Summary: The Standard Kernel with Tracing Features
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -148,7 +148,7 @@ Provides: kernel-kdump
|
|||||||
Obsoletes: kernel-kdump
|
Obsoletes: kernel-kdump
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -572,6 +572,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -594,18 +597,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
@ -1,3 +1,189 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 21:34:32 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Remove unused 3.9-stable patches.
|
||||||
|
- commit d28ac96
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:28:56 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- config: remove sparc64 configs
|
||||||
|
The sparc64 configs have been completely unmaintained for two years.
|
||||||
|
If someone wants to resurrect support, we'll accept patches.
|
||||||
|
- commit 17364b5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 17:21:27 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- sparc64: revert accidental changes during the 3.9-rc2 update
|
||||||
|
- commit b120c5a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 10:58:24 CEST 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update group-source-files.pl to handle symlink to directory
|
||||||
|
Also add arch/[^/]+/boot/dts/include/dt-bindings to the list of devel
|
||||||
|
files and avoid listing README.SUSE twice.
|
||||||
|
- commit ba8f987
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 14:44:17 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc2.
|
||||||
|
- commit e454a38
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 10:50:12 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.3.
|
||||||
|
- Update config files.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.21.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.24.
|
||||||
|
- Refresh patches.xen/xen3-patch-2.6.36.
|
||||||
|
- commit 00c4cdd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:24:18 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Avoid duplicates in the certifiate list.
|
||||||
|
- commit 9d687ad
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 15:20:53 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/kernel-binary.spec.in: Do an exit 0 at the end of each scriptlet
|
||||||
|
(bnc#809617).
|
||||||
|
- commit 7d1a48f
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:08:22 CEST 2013 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- rpm/config.sh: Use openSUSE:Factory:{ARM,PowerPC}
|
||||||
|
The openSUSE:Factory/ports repository does not work.
|
||||||
|
- commit 756ee56
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:42:09 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files: CONFIG_ZSMALLOC=y
|
||||||
|
Zsmalloc support can no longer be built as a module, so change
|
||||||
|
CONFIG_ZSMALLOC=m to =y in all configuration files to fix the build.
|
||||||
|
- commit 861551b
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 15:47:00 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to 3.10-rc1.
|
||||||
|
- Eliminated 10 patches.
|
||||||
|
- Xen is disabled.
|
||||||
|
- ARM configs are disabled pending updates.
|
||||||
|
- In-kernel Bootsplash has been removed.
|
||||||
|
- EXT4 rich acls are re-enabled after having the index officially reserved.
|
||||||
|
- commit 0ead2af
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 14:42:28 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Change CONFIG_OF_MDIO from y to m as needed
|
||||||
|
Fix build after my previous commit, OF_MDIO depends on PHYLIB so when
|
||||||
|
turning the latter into a module I should have done so with the former
|
||||||
|
as well.
|
||||||
|
- commit 7e7365d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:04:27 CEST 2013 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Update config files : build PHYLIB as a module.
|
||||||
|
All but armv7hl/cubox: make PHYLIB modular. Most systems don't
|
||||||
|
need it, and it registers a mdio_bus driver. As a side effect,
|
||||||
|
we have to disable PHY emulation support, as it is only availble
|
||||||
|
when PHYLIB is built-in. This driver is rather weird anyway and
|
||||||
|
hopefully no system we want to support needs it, so it should be
|
||||||
|
OK.
|
||||||
|
- CONFIG_PHYLIB=m
|
||||||
|
- CONFIG_FIXED_PHY=n
|
||||||
|
- commit 49e25f5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 12 14:21:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.2.
|
||||||
|
- commit 7bb3aa9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 16:38:41 CEST 2013 - jbeulich@suse.com
|
||||||
|
|
||||||
|
- Update Xen patches to 3.9.1 and c/s 1231.
|
||||||
|
- commit 0eb4d0d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:25:25 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Linux 3.9.1.
|
||||||
|
- Delete patches.arch/arm-highbank-sata.patch.
|
||||||
|
- commit 733bf04
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:23:53 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Refresh patches.rpmify/ptp-pch-depends-on-x86.
|
||||||
|
Update upstream status -- it was rejected.
|
||||||
|
- commit 4173967
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:19:57 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch.
|
||||||
|
Patchset went upstream around about
|
||||||
|
commit f16b6e8d838b2e2bb4561201311c66ac02ad67df
|
||||||
|
in a form that didn't need this patch.
|
||||||
|
- commit 226d6be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 07:16:56 CEST 2013 - neilb@suse.de
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-connect-timeout.
|
||||||
|
Problem fixed upstream by
|
||||||
|
commit 3ed5e2a2c394df4e03a680842c2d07a8680f133b
|
||||||
|
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
|
||||||
|
Date: Mon Mar 4 17:29:33 2013 -0500
|
||||||
|
SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasks
|
||||||
|
- commit afa0a59
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 18:35:02 CEST 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Fix -devel package for armv7hl
|
||||||
|
armv7hl kernel flavors in the non-multiplatform configuration
|
||||||
|
(which is the default for our openSUSE 12.3 release), needs
|
||||||
|
more header files from the machine specific directories to
|
||||||
|
be included in kernel-devel.
|
||||||
|
- commit 97197ff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 16:32:41 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete patches.fixes/nfs-adaptive-readdir-plus.
|
||||||
|
Superseded by d69ee9b85541a69a1092f5da675bd23256dc62af.
|
||||||
|
- commit f35dac6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 15:55:05 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops.
|
||||||
|
Superseded by 3eb8e74ec72736b9b9d728bad30484ec89c91dde.
|
||||||
|
- commit 7838036
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 14:47:49 CEST 2013 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Delete
|
||||||
|
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch.
|
||||||
|
Superseded by 0773a6cf673316440999752e23f8c3d4f85e48b9.
|
||||||
|
- commit 36f8ff4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
Mon May 6 21:14:02 CEST 2013 - jeffm@suse.com
|
||||||
|
|
||||||
@ -3359,42 +3545,36 @@ Tue Dec 13 11:42:47 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
Mon Dec 12 16:06:06 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence missing defattr warning.
|
|
||||||
- Silence missing defattr warning.
|
- Silence missing defattr warning.
|
||||||
- commit e7e3743
|
- commit e7e3743
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
Mon Dec 12 16:04:58 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
|
||||||
- Silence warning about dangling symlink and vdsos
|
- Silence warning about dangling symlink and vdsos
|
||||||
- commit 701c5c7
|
- commit 701c5c7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
Fri Dec 9 22:28:04 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- No self-obsoletions.
|
|
||||||
- No self-obsoletions.
|
- No self-obsoletions.
|
||||||
- commit 1d2e747
|
- commit 1d2e747
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
Fri Dec 9 20:58:23 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Do not show rpmlint warnings.
|
|
||||||
- Do not show rpmlint warnings.
|
- Do not show rpmlint warnings.
|
||||||
- commit bb45b41
|
- commit bb45b41
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
Fri Dec 9 17:04:44 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use versioned provides/obsoletes.
|
|
||||||
- Use versioned provides/obsoletes.
|
- Use versioned provides/obsoletes.
|
||||||
- commit cf4f296
|
- commit cf4f296
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
Fri Dec 9 13:28:02 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
|
||||||
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
- Adjust kernel-source.rpmlintrc for Linux 3.x
|
||||||
- commit bc1534e
|
- commit bc1534e
|
||||||
|
|
||||||
@ -3408,8 +3588,6 @@ Thu Dec 8 14:52:21 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
|
||||||
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
- Use GPL-2.0 as license tag (from http://spdx.org/licenses/)
|
||||||
Only have one licenses line per file, the rest was just duplicated.
|
Only have one licenses line per file, the rest was just duplicated.
|
||||||
- commit f7c443c
|
- commit f7c443c
|
||||||
@ -3417,7 +3595,6 @@ Wed Dec 7 11:08:09 CET 2011 - aj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
Wed Dec 7 11:05:05 CET 2011 - aj@suse.de
|
||||||
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
|
||||||
- Fix typo: Base package should not conflict with itself but with main package.
|
- Fix typo: Base package should not conflict with itself but with main package.
|
||||||
- commit e961ef0
|
- commit e961ef0
|
||||||
|
|
||||||
@ -3444,8 +3621,6 @@ Tue Nov 29 19:59:18 CET 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
Mon Nov 28 17:07:17 CET 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
|
||||||
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
- Fix kernel-source spec to give ownership of the /usr/src/linux link
|
||||||
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
to kernel-devel. kernel-source depends on kernel-devel, so this is correct.
|
||||||
- commit 7160a9c
|
- commit 7160a9c
|
||||||
@ -3576,7 +3751,6 @@ Wed Nov 23 22:35:11 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
Wed Nov 23 22:33:58 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
|
||||||
- ARM: create uImage, not zImage, so we can boot with u-boot
|
- ARM: create uImage, not zImage, so we can boot with u-boot
|
||||||
- commit 63a7b2c
|
- commit 63a7b2c
|
||||||
|
|
||||||
@ -3613,9 +3787,6 @@ Tue Nov 22 15:11:22 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Use zImage, not vmlinux
|
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
|
||||||
- ARM: Use zImage, not vmlinux
|
- ARM: Use zImage, not vmlinux
|
||||||
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
On ARM we use the arch/arm/boot/zImage file similar to x86 to boot systems.
|
||||||
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
Put that into the rpm as vmlinuz instead of the vmlinux ELF binary.
|
||||||
@ -3624,10 +3795,6 @@ Tue Nov 22 14:12:10 CET 2011 - agraf@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
Tue Nov 22 14:05:11 CET 2011 - agraf@suse.de
|
||||||
|
|
||||||
- ARM: Dont generalize the target
|
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
|
||||||
that wouldn't even work on the respective architecture :).
|
|
||||||
- ARM: Dont generalize the target
|
- ARM: Dont generalize the target
|
||||||
On ARM we can not build generic kernels that work through different generations,
|
On ARM we can not build generic kernels that work through different generations,
|
||||||
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
such as armv5 and armv7. So we better list them explicitly and not export an rpm
|
||||||
@ -3746,8 +3913,6 @@ Wed Nov 2 15:43:11 CET 2011 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
Sun Oct 30 12:47:38 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
|
||||||
The various ARM families need similar handling like i?86.
|
|
||||||
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
- rpm/{arch-symbols,mkspec}: Add support for ARM
|
||||||
The various ARM families need similar handling like i?86.
|
The various ARM families need similar handling like i?86.
|
||||||
- commit 0c6be6b
|
- commit 0c6be6b
|
||||||
@ -3895,11 +4060,6 @@ Tue Sep 27 22:25:34 CEST 2011 - eich@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
Mon Sep 26 15:56:27 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
|
||||||
in userspace programs, so that they keep working on older systems.
|
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
|
||||||
%_sourcedir/host-memcpy-hack.h to the compiler when compiling
|
|
||||||
userspace programs.
|
|
||||||
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
- rpm/host-memcpy-hack.h: Hack to use older version of the memcpy symbol
|
||||||
in userspace programs, so that they keep working on older systems.
|
in userspace programs, so that they keep working on older systems.
|
||||||
- rpm/kernel-binary.spec.in: Pass -include
|
- rpm/kernel-binary.spec.in: Pass -include
|
||||||
@ -4539,8 +4699,6 @@ Thu Jun 16 12:04:56 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
jobs is not defined for home: projects, use the new _smp_mflags to enable parallel build
|
||||||
- commit 1009eaf
|
- commit 1009eaf
|
||||||
@ -4548,8 +4706,6 @@ Thu Jun 16 11:50:58 CEST 2011 - ohering@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
Thu Jun 16 11:27:44 CEST 2011 - ohering@suse.de
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in:
|
|
||||||
Update comment, get the number of cpus from /proc/stat
|
|
||||||
- rpm/kernel-binary.spec.in:
|
- rpm/kernel-binary.spec.in:
|
||||||
Update comment, get the number of cpus from /proc/stat
|
Update comment, get the number of cpus from /proc/stat
|
||||||
- commit b4cf18c
|
- commit b4cf18c
|
||||||
@ -4763,10 +4919,6 @@ Fri Jun 3 12:51:22 CEST 2011 - mmarek@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
Fri Jun 3 12:09:01 CEST 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
|
||||||
weak-modules2 if the -b option is used.
|
|
||||||
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
- rpm/macros.kernel-source: Add -b option to %kernel_module_package
|
||||||
to unconditionally call mkinitrd on kmp install (fate#309400).
|
to unconditionally call mkinitrd on kmp install (fate#309400).
|
||||||
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
- rpm/kernel-module-subpackage: Pass KMP_NEEDS_MKINITRD=1 to
|
||||||
@ -5014,8 +5166,6 @@ Tue May 3 03:08:18 CEST 2011 - tonyj@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
Fri Apr 29 20:35:21 CEST 2011 - jeffm@suse.com
|
||||||
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
|
||||||
awk regex. It's technically invalid.
|
|
||||||
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
- rpm/compute-PATCHVERSION.sh: Replace ^+++ with ^\+\+\+ as an
|
||||||
awk regex. It's technically invalid.
|
awk regex. It's technically invalid.
|
||||||
- commit 52dd0f0
|
- commit 52dd0f0
|
||||||
@ -5652,8 +5802,6 @@ Tue Mar 8 01:00:02 CET 2011 - jeffm@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
Mon Mar 7 13:50:08 CET 2011 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
|
||||||
- rpm/kernel-binary.spec.in: Do not abort build because of
|
- rpm/kernel-binary.spec.in: Do not abort build because of
|
||||||
supported.conf inconsistency if %supported_modules_check == 0.
|
supported.conf inconsistency if %supported_modules_check == 0.
|
||||||
- commit 88d5daa
|
- commit 88d5daa
|
||||||
@ -6312,7 +6460,6 @@ Fri Dec 10 09:11:01 CET 2010 - jbeulich@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
Thu Dec 9 15:32:30 CET 2010 - mmarek@suse.cz
|
||||||
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
|
||||||
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
- rpm/kernel-binary.spec.in: Fix timestamp of /usr/src/linux-obj/.../.config
|
||||||
- commit 149d22b
|
- commit 149d22b
|
||||||
|
|
||||||
@ -6833,8 +6980,6 @@ Sun Sep 19 17:39:03 CEST 2010 - jeffm@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
Fri Sep 17 01:05:47 CEST 2010 - jeffm@suse.de
|
||||||
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
|
||||||
(CVE-2010-2955 bnc#635413).
|
|
||||||
- wext: fix potential private ioctl memory content leak
|
- wext: fix potential private ioctl memory content leak
|
||||||
(CVE-2010-2955 bnc#635413).
|
(CVE-2010-2955 bnc#635413).
|
||||||
- commit 6df45c9
|
- commit 6df45c9
|
||||||
|
@ -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.9
|
%define srcversion 3.10-rc2
|
||||||
%define patchversion 3.9.0
|
%define patchversion 3.10.0-rc2
|
||||||
%define variant %{nil}
|
%define variant %{nil}
|
||||||
%define vanilla_only 0
|
%define vanilla_only 0
|
||||||
|
|
||||||
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
Name: kernel-vanilla
|
Name: kernel-vanilla
|
||||||
Summary: The Standard Kernel - without any SUSE patches
|
Summary: The Standard Kernel - without any SUSE patches
|
||||||
Version: 3.9.0
|
Version: 3.10.rc2
|
||||||
Release: 0
|
Release: <RELEASE>.gd28ac96
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: http://www.kernel.org/
|
Url: http://www.kernel.org/
|
||||||
@ -145,7 +145,7 @@ Conflicts: libc.so.6()(64bit)
|
|||||||
Provides: kernel = %version-%source_rel
|
Provides: kernel = %version-%source_rel
|
||||||
|
|
||||||
|
|
||||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.bz2
|
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-%srcversion.tar.bz2
|
||||||
Source2: source-post.sh
|
Source2: source-post.sh
|
||||||
Source3: kernel-source.rpmlintrc
|
Source3: kernel-source.rpmlintrc
|
||||||
Source8: devel-pre.sh
|
Source8: devel-pre.sh
|
||||||
@ -569,6 +569,9 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
|||||||
test -n "$h"
|
test -n "$h"
|
||||||
cert=/etc/uefi/certs/$(echo "$h" | \
|
cert=/etc/uefi/certs/$(echo "$h" | \
|
||||||
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
sed -rn 's/^SHA1 Fingerprint=//; T; s/://g; s/(.{8}).*/\1/p').crt
|
||||||
|
if test -e %buildroot/"$cert"; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
mkdir -p %buildroot/etc/uefi/certs
|
mkdir -p %buildroot/etc/uefi/certs
|
||||||
cp "$f" %buildroot/"$cert"
|
cp "$f" %buildroot/"$cert"
|
||||||
certs=("${certs[@]}" "$cert")
|
certs=("${certs[@]}" "$cert")
|
||||||
@ -591,18 +594,20 @@ 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
|
if test "$base_package" -eq 1 -a "${#certs[@]}" -gt 0; then
|
||||||
continue
|
case "$script" in
|
||||||
|
preun | postun | post)
|
||||||
|
# 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"
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
case "$script" in
|
# Do an exit 0 at the end of each scriptlet. If the last real command
|
||||||
preun | postun | post)
|
# in the scriptlet (e.g. update-bootloader call, see bnc#809617)
|
||||||
;;
|
# returns an error, we do not want to amplify the damage by leaving
|
||||||
*)
|
# the system in an inconsistent state.
|
||||||
continue
|
echo "exit 0" >>"%my_builddir/$script$sub.sh"
|
||||||
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
|
||||||
|
|
||||||
|
28148
kernel-versatile.changes
28148
kernel-versatile.changes
File diff suppressed because it is too large
Load Diff
@ -1,990 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kernel-versatile
|
|
||||||
#
|
|
||||||
# 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.9
|
|
||||||
%define patchversion 3.9.0
|
|
||||||
%define variant %{nil}
|
|
||||||
%define vanilla_only 0
|
|
||||||
|
|
||||||
%include %_sourcedir/kernel-spec-macros
|
|
||||||
|
|
||||||
%define build_flavor versatile
|
|
||||||
%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-versatile
|
|
||||||
Summary: Kernel for Versatile SoC
|
|
||||||
Version: 3.9.0
|
|
||||||
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
|
|
||||||
Source57: kernel-cert-subpackage
|
|
||||||
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: armv5tel
|
|
||||||
%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 Versatile SoC, or for emulation with QEMU.
|
|
||||||
|
|
||||||
|
|
||||||
%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 -%source_rel-%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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
%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
|
|
||||||
if test %CONFIG_MODULE_SIG = "y"; then
|
|
||||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
|
||||||
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 Versatile 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 Versatile SoC, or for emulation with QEMU.
|
|
||||||
|
|
||||||
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 Versatile 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 Versatile SoC, or for emulation with QEMU.
|
|
||||||
|
|
||||||
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
|
|
28148
kernel-xen.changes
28148
kernel-xen.changes
File diff suppressed because it is too large
Load Diff
999
kernel-xen.spec
999
kernel-xen.spec
@ -1,999 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kernel-xen
|
|
||||||
#
|
|
||||||
# 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.9
|
|
||||||
%define patchversion 3.9.0
|
|
||||||
%define variant %{nil}
|
|
||||||
%define vanilla_only 0
|
|
||||||
|
|
||||||
%include %_sourcedir/kernel-spec-macros
|
|
||||||
|
|
||||||
%define build_flavor xen
|
|
||||||
%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-xen
|
|
||||||
Summary: The Xen Kernel
|
|
||||||
Version: 3.9.0
|
|
||||||
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
|
|
||||||
Source57: kernel-cert-subpackage
|
|
||||||
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: %ix86 x86_64
|
|
||||||
%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 Linux kernel for Xen paravirtualization.
|
|
||||||
|
|
||||||
This kernel can be used both as the domain0 ("xen0") and as an
|
|
||||||
unprivileged ("xenU") 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 -%source_rel-%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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
%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
|
|
||||||
if test %CONFIG_MODULE_SIG = "y"; then
|
|
||||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
|
||||||
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 Xen 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 Linux kernel for Xen paravirtualization.
|
|
||||||
|
|
||||||
This kernel can be used both as the domain0 ("xen0") and as an
|
|
||||||
unprivileged ("xenU") 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 Xen 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 Linux kernel for Xen paravirtualization.
|
|
||||||
|
|
||||||
This kernel can be used both as the domain0 ("xen0") and as an
|
|
||||||
unprivileged ("xenU") 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
|
|
3
linux-3.10-rc2.tar.bz2
Normal file
3
linux-3.10-rc2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:61849e18f4ea9918792d88b818c8e16c0df0ae3fd66432da6271d90ba1d6ce34
|
||||||
|
size 87163620
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:97e48f31ed2197f4e7e4938d4fab8da522cf80e60c6ce69668b0805904499305
|
|
||||||
size 85974463
|
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:91d89b85e4d00ef57daf4720eb834e7278ccb673c6ca3a5294d5b1bbd3d73283
|
oid sha256:f545dd5af6e6be00b203b850b234056655d877a592cd09ed3e137ff1c4868b85
|
||||||
size 80690
|
size 79058
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:2bbe4643087461ffb5014b6099d9e00d25965caaabec3eebb7786ec4baf4fcd8
|
oid sha256:01db5c281cf813ad575c833badf3b50c7610074913ee8dc821ca514354d6fe3b
|
||||||
size 20757
|
size 16210
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:1f09e35e814ae0bb5b5b5abfb57b5f4312b1eb7eec2d8bb580378c1debd46193
|
oid sha256:4c7163517199c0be230b20a2084d506d726b790ed9a830f49cb36ceb3cb3dab6
|
||||||
size 4237
|
size 4277
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:74843bf5f7c841424a21be2fe82d6b13a03910ec02ea7c87fbbb621f6438278b
|
oid sha256:fe715cbb2662fc0038dc1cfb453d125e91895c881491d06fe5508df854d8947b
|
||||||
size 151943
|
size 116775
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:9ee42e9741e81f958d2d746f500cf15c730194977552aa9ab7c8e8eca8d13e2f
|
oid sha256:a4474e8f5816fcea3f3b974aaa71e85773f40c39f6afda3eb788f6b6f4d221bf
|
||||||
size 2096747
|
size 2097782
|
||||||
|
266
series.conf
266
series.conf
@ -157,14 +157,9 @@
|
|||||||
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-omap3isp.patch
|
||||||
patches.arch/arm-kvm-iommu.patch
|
|
||||||
patches.arch/arm-fec.patch
|
|
||||||
patches.arch/arm-smdkv310.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
|
# Compile fix for Xen on ARM with our Xen patches applied
|
||||||
patches.arch/arm-xen-fixup.patch
|
patches.arch/arm-xen-fixup.patch
|
||||||
patches.arch/arm-highbank-sata.patch
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# S/390
|
# S/390
|
||||||
@ -176,11 +171,8 @@
|
|||||||
# VM/FS patches
|
# VM/FS patches
|
||||||
########################################################
|
########################################################
|
||||||
patches.fixes/oom-warning
|
patches.fixes/oom-warning
|
||||||
|
|
||||||
patches.fixes/remount-no-shrink-dcache
|
patches.fixes/remount-no-shrink-dcache
|
||||||
|
|
||||||
patches.suse/readahead-request-tunables.patch
|
patches.suse/readahead-request-tunables.patch
|
||||||
patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops
|
|
||||||
patches.fixes/mm-Fix-assertion-mapping-nrpages-0-in-end_writeback.patch
|
patches.fixes/mm-Fix-assertion-mapping-nrpages-0-in-end_writeback.patch
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
@ -229,11 +221,6 @@
|
|||||||
########################################################
|
########################################################
|
||||||
# Suse specific stuff
|
# Suse specific stuff
|
||||||
########################################################
|
########################################################
|
||||||
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-fate314665-0032-Drivers-hv-vmbus-Handle-channel-rescind-message-corr.patch
|
|
||||||
patches.suse/suse-hv-synthetic-video.patch
|
|
||||||
patches.suse/suse-hv-fate314663-0001-Drivers-hv-balloon-Do-not-request-completion-notific.patch
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# Networking, IPv6
|
# Networking, IPv6
|
||||||
@ -244,9 +231,6 @@
|
|||||||
# NFS
|
# NFS
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
+needs_update37 patches.fixes/nfsd-06-sunrpc-cache-retry-cache-lookups-that-return-ETIMEDO.patch
|
|
||||||
patches.fixes/nfs-adaptive-readdir-plus
|
|
||||||
patches.fixes/nfs-connect-timeout
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# lockd + statd
|
# lockd + statd
|
||||||
@ -312,7 +296,7 @@
|
|||||||
|
|
||||||
# The RICHACL name index was used for system xattrs. This needs
|
# The RICHACL name index was used for system xattrs. This needs
|
||||||
# to be sorted out upstream.
|
# to be sorted out upstream.
|
||||||
+jeffm patches.suse/0016-ext4-Implement-richacl-support-in-ext4.patch
|
patches.suse/0016-ext4-Implement-richacl-support-in-ext4.patch
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# other filesystem stuff
|
# other filesystem stuff
|
||||||
@ -429,8 +413,8 @@
|
|||||||
########################################################
|
########################################################
|
||||||
# Input & Console
|
# Input & Console
|
||||||
########################################################
|
########################################################
|
||||||
patches.suse/SUSE-bootsplash
|
# patches.suse/SUSE-bootsplash
|
||||||
patches.suse/SUSE-bootsplash-mgadrmfb-workaround
|
# patches.suse/SUSE-bootsplash-mgadrmfb-workaround
|
||||||
patches.drivers/elousb.patch
|
patches.drivers/elousb.patch
|
||||||
patches.fixes/input-add-acer-aspire-5710-to-nomux.patch
|
patches.fixes/input-add-acer-aspire-5710-to-nomux.patch
|
||||||
|
|
||||||
@ -528,7 +512,6 @@
|
|||||||
########################################################
|
########################################################
|
||||||
# Performance Monitoring, Tracing etc
|
# Performance Monitoring, Tracing etc
|
||||||
########################################################
|
########################################################
|
||||||
patches.fixes/ia64-configure-HAVE_UNSTABLE_SCHED_CLOCK-for-SGI_SN.patch
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# KVM patches
|
# KVM patches
|
||||||
@ -558,124 +541,125 @@
|
|||||||
# on top of them instead. This reduces workload when
|
# on top of them instead. This reduces workload when
|
||||||
# re-basing to a newer xen tree.
|
# re-basing to a newer xen tree.
|
||||||
#
|
#
|
||||||
# split out patches
|
+xen_needs_update # split out patches
|
||||||
patches.xen/kexec-move-segment-code-i386.patch
|
+xen_needs_update patches.xen/kexec-move-segment-code-i386.patch
|
||||||
patches.xen/kexec-move-segment-code-x86_64.patch
|
+xen_needs_update patches.xen/kexec-move-segment-code-x86_64.patch
|
||||||
patches.xen/ipv6-no-autoconf
|
+xen_needs_update patches.xen/ipv6-no-autoconf
|
||||||
patches.xen/pci-guestdev
|
+xen_needs_update patches.xen/pci-guestdev
|
||||||
patches.xen/pci-reserve
|
+xen_needs_update patches.xen/pci-reserve
|
||||||
|
+xen_needs_update
|
||||||
# bulk stuff, new files for xen
|
+xen_needs_update # bulk stuff, new files for xen
|
||||||
patches.xen/xen3-auto-xen-arch.diff
|
+xen_needs_update patches.xen/xen3-auto-xen-arch.diff
|
||||||
patches.xen/xen3-auto-xen-drivers.diff
|
+xen_needs_update patches.xen/xen3-auto-xen-drivers.diff
|
||||||
patches.xen/xen3-auto-include-xen-interface.diff
|
+xen_needs_update patches.xen/xen3-auto-include-xen-interface.diff
|
||||||
patches.xen/xen3-auto-blktap2-pvops.diff
|
+xen_needs_update patches.xen/xen3-auto-blktap2-pvops.diff
|
||||||
|
+xen_needs_update
|
||||||
# kconfig bits for xen
|
+xen_needs_update # kconfig bits for xen
|
||||||
patches.xen/xen3-auto-xen-kconfig.diff
|
+xen_needs_update patches.xen/xen3-auto-xen-kconfig.diff
|
||||||
|
+xen_needs_update
|
||||||
# common code changes
|
+xen_needs_update # common code changes
|
||||||
patches.xen/xen3-auto-common.diff
|
+xen_needs_update patches.xen/xen3-auto-common.diff
|
||||||
patches.xen/xen3-auto-arch-x86.diff
|
+xen_needs_update patches.xen/xen3-auto-arch-x86.diff
|
||||||
patches.xen/xen3-auto-arch-i386.diff
|
+xen_needs_update patches.xen/xen3-auto-arch-i386.diff
|
||||||
patches.xen/xen3-auto-arch-x86_64.diff
|
+xen_needs_update patches.xen/xen3-auto-arch-x86_64.diff
|
||||||
|
+xen_needs_update
|
||||||
# fixups due to upstream Xen parts
|
+xen_needs_update # fixups due to upstream Xen parts
|
||||||
patches.xen/xen3-fixup-xen
|
+xen_needs_update patches.xen/xen3-fixup-xen
|
||||||
|
+xen_needs_update
|
||||||
# newer changeset backports
|
+xen_needs_update # newer changeset backports
|
||||||
|
+xen_needs_update
|
||||||
# changes outside arch/{i386,x86_64}/xen
|
+xen_needs_update # changes outside arch/{i386,x86_64}/xen
|
||||||
patches.xen/xen3-fixup-kconfig
|
+xen_needs_update patches.xen/xen3-fixup-kconfig
|
||||||
patches.xen/xen3-fixup-common
|
+xen_needs_update patches.xen/xen3-fixup-common
|
||||||
patches.xen/xen3-fixup-arch-x86
|
+xen_needs_update patches.xen/xen3-fixup-arch-x86
|
||||||
patches.xen/xen3-fixup-blktap2-pvops
|
+xen_needs_update patches.xen/xen3-fixup-blktap2-pvops
|
||||||
|
+xen_needs_update
|
||||||
# ports of upstream patches
|
+xen_needs_update # ports of upstream patches
|
||||||
patches.xen/xen3-patch-2.6.18
|
+xen_needs_update patches.xen/xen3-patch-2.6.18
|
||||||
patches.xen/xen3-patch-2.6.19
|
+xen_needs_update patches.xen/xen3-patch-2.6.19
|
||||||
patches.xen/xen3-patch-2.6.20
|
+xen_needs_update patches.xen/xen3-patch-2.6.20
|
||||||
patches.xen/xen3-patch-2.6.21
|
+xen_needs_update patches.xen/xen3-patch-2.6.21
|
||||||
patches.xen/xen3-patch-2.6.22
|
+xen_needs_update patches.xen/xen3-patch-2.6.22
|
||||||
patches.xen/xen3-patch-2.6.23
|
+xen_needs_update patches.xen/xen3-patch-2.6.23
|
||||||
patches.xen/xen3-patch-2.6.24
|
+xen_needs_update patches.xen/xen3-patch-2.6.24
|
||||||
patches.xen/xen3-patch-2.6.25
|
+xen_needs_update patches.xen/xen3-patch-2.6.25
|
||||||
patches.xen/xen3-patch-2.6.26
|
+xen_needs_update patches.xen/xen3-patch-2.6.26
|
||||||
patches.xen/xen3-patch-2.6.27
|
+xen_needs_update patches.xen/xen3-patch-2.6.27
|
||||||
patches.xen/xen3-patch-2.6.28
|
+xen_needs_update patches.xen/xen3-patch-2.6.28
|
||||||
patches.xen/xen3-patch-2.6.29
|
+xen_needs_update patches.xen/xen3-patch-2.6.29
|
||||||
patches.xen/xen3-patch-2.6.30
|
+xen_needs_update patches.xen/xen3-patch-2.6.30
|
||||||
patches.xen/xen3-patch-2.6.31
|
+xen_needs_update patches.xen/xen3-patch-2.6.31
|
||||||
patches.xen/xen3-patch-2.6.32
|
+xen_needs_update patches.xen/xen3-patch-2.6.32
|
||||||
patches.xen/xen3-patch-2.6.33
|
+xen_needs_update patches.xen/xen3-patch-2.6.33
|
||||||
patches.xen/xen3-patch-2.6.34
|
+xen_needs_update patches.xen/xen3-patch-2.6.34
|
||||||
patches.xen/xen3-patch-2.6.35
|
+xen_needs_update patches.xen/xen3-patch-2.6.35
|
||||||
patches.xen/xen3-patch-2.6.36
|
+xen_needs_update patches.xen/xen3-patch-2.6.36
|
||||||
patches.xen/xen3-patch-2.6.37
|
+xen_needs_update patches.xen/xen3-patch-2.6.37
|
||||||
patches.xen/xen3-patch-2.6.38
|
+xen_needs_update patches.xen/xen3-patch-2.6.38
|
||||||
patches.xen/xen3-patch-2.6.39
|
+xen_needs_update patches.xen/xen3-patch-2.6.39
|
||||||
patches.xen/xen3-patch-3.0
|
+xen_needs_update patches.xen/xen3-patch-3.0
|
||||||
patches.xen/xen3-patch-3.1
|
+xen_needs_update patches.xen/xen3-patch-3.1
|
||||||
patches.xen/xen3-patch-3.2
|
+xen_needs_update patches.xen/xen3-patch-3.2
|
||||||
patches.xen/xen3-patch-3.3
|
+xen_needs_update patches.xen/xen3-patch-3.3
|
||||||
patches.xen/xen3-patch-3.4
|
+xen_needs_update patches.xen/xen3-patch-3.4
|
||||||
patches.xen/xen3-patch-3.5
|
+xen_needs_update patches.xen/xen3-patch-3.5
|
||||||
patches.xen/xen3-patch-3.6
|
+xen_needs_update patches.xen/xen3-patch-3.6
|
||||||
patches.xen/xen3-patch-3.7
|
+xen_needs_update patches.xen/xen3-patch-3.7
|
||||||
patches.xen/xen3-patch-3.8
|
+xen_needs_update patches.xen/xen3-patch-3.8
|
||||||
patches.xen/xen3-patch-3.9-rc8
|
+xen_needs_update patches.xen/xen3-patch-3.9
|
||||||
|
+xen_needs_update patches.xen/xen3-patch-3.9.1
|
||||||
# ports of other patches
|
+xen_needs_update
|
||||||
patches.xen/xen3-010-acpi_initrd_override_tables.patch
|
+xen_needs_update # ports of other patches
|
||||||
patches.xen/xen3-stack-unwind
|
+xen_needs_update patches.xen/xen3-010-acpi_initrd_override_tables.patch
|
||||||
patches.xen/xen3-x86_64-unwind-annotations
|
+xen_needs_update patches.xen/xen3-stack-unwind
|
||||||
|
+xen_needs_update patches.xen/xen3-x86_64-unwind-annotations
|
||||||
# bugfixes and enhancements
|
+xen_needs_update
|
||||||
patches.xen/xen-hypercall-symbols
|
+xen_needs_update # bugfixes and enhancements
|
||||||
patches.xen/xen-sys-suspend
|
+xen_needs_update patches.xen/xen-hypercall-symbols
|
||||||
patches.xen/xen-ipi-per-cpu-irq
|
+xen_needs_update patches.xen/xen-sys-suspend
|
||||||
patches.xen/xen-virq-per-cpu-irq
|
+xen_needs_update patches.xen/xen-ipi-per-cpu-irq
|
||||||
patches.xen/xen-clockevents
|
+xen_needs_update patches.xen/xen-virq-per-cpu-irq
|
||||||
patches.xen/xen-spinlock-poll-early
|
+xen_needs_update patches.xen/xen-clockevents
|
||||||
patches.xen/xen-pcpu-hotplug
|
+xen_needs_update patches.xen/xen-spinlock-poll-early
|
||||||
patches.xen/xen-pcpu-hotplug-kexec
|
+xen_needs_update patches.xen/xen-pcpu-hotplug
|
||||||
patches.xen/xen-mem-hotplug
|
+xen_needs_update patches.xen/xen-pcpu-hotplug-kexec
|
||||||
patches.xen/xen-configurable-guest-devices
|
+xen_needs_update patches.xen/xen-mem-hotplug
|
||||||
patches.xen/xen-setup-gsi
|
+xen_needs_update patches.xen/xen-configurable-guest-devices
|
||||||
patches.xen/xen-sections
|
+xen_needs_update patches.xen/xen-setup-gsi
|
||||||
patches.xen/xen-unpriv-build
|
+xen_needs_update patches.xen/xen-sections
|
||||||
patches.xen/xen-cpufreq-report
|
+xen_needs_update patches.xen/xen-unpriv-build
|
||||||
patches.xen/xen-multi-page-ring
|
+xen_needs_update patches.xen/xen-cpufreq-report
|
||||||
patches.xen/xen-balloon-max-target
|
+xen_needs_update patches.xen/xen-multi-page-ring
|
||||||
patches.xen/xen-blkback-multi-page-ring
|
+xen_needs_update patches.xen/xen-balloon-max-target
|
||||||
patches.xen/xen-blkback-cdrom
|
+xen_needs_update patches.xen/xen-blkback-multi-page-ring
|
||||||
patches.xen/xen-blkif-protocol-fallback-hack
|
+xen_needs_update patches.xen/xen-blkback-cdrom
|
||||||
patches.xen/xen-blkfront-multi-page-ring
|
+xen_needs_update patches.xen/xen-blkif-protocol-fallback-hack
|
||||||
patches.xen/xen-blkif-op-packet
|
+xen_needs_update patches.xen/xen-blkfront-multi-page-ring
|
||||||
patches.xen/xen-blkfront-cdrom
|
+xen_needs_update patches.xen/xen-blkif-op-packet
|
||||||
patches.xen/xen-blkfront-hvm-no-cdrom
|
+xen_needs_update patches.xen/xen-blkfront-cdrom
|
||||||
patches.xen/xen-blktap-modular
|
+xen_needs_update patches.xen/xen-blkfront-hvm-no-cdrom
|
||||||
patches.xen/xen-blktap-write-barriers
|
+xen_needs_update patches.xen/xen-blktap-modular
|
||||||
patches.xen/xen-blktap2-configurable-nr-devs
|
+xen_needs_update patches.xen/xen-blktap-write-barriers
|
||||||
patches.xen/xen-netback-nr-irqs
|
+xen_needs_update patches.xen/xen-blktap2-configurable-nr-devs
|
||||||
patches.xen/xen-netback-notify-multi
|
+xen_needs_update patches.xen/xen-netback-nr-irqs
|
||||||
patches.xen/xen-netback-generalize
|
+xen_needs_update patches.xen/xen-netback-notify-multi
|
||||||
patches.xen/xen-netback-multiple-tasklets
|
+xen_needs_update patches.xen/xen-netback-generalize
|
||||||
patches.xen/xen-netback-kernel-threads
|
+xen_needs_update patches.xen/xen-netback-multiple-tasklets
|
||||||
patches.xen/xen-cxgb3
|
+xen_needs_update patches.xen/xen-netback-kernel-threads
|
||||||
patches.xen/xen-dcdbas
|
+xen_needs_update patches.xen/xen-cxgb3
|
||||||
patches.xen/xen-x86-panic-no-reboot
|
+xen_needs_update patches.xen/xen-dcdbas
|
||||||
patches.xen/xen-x86-dcr-fallback
|
+xen_needs_update patches.xen/xen-x86-panic-no-reboot
|
||||||
patches.xen/xen-x86-no-lapic
|
+xen_needs_update patches.xen/xen-x86-dcr-fallback
|
||||||
patches.xen/xen-x86-pmd-handling
|
+xen_needs_update patches.xen/xen-x86-no-lapic
|
||||||
patches.xen/xen-x86-bigmem
|
+xen_needs_update patches.xen/xen-x86-pmd-handling
|
||||||
patches.xen/xen-x86-exit-mmap
|
+xen_needs_update patches.xen/xen-x86-bigmem
|
||||||
patches.xen/xen-x86-per-cpu-vcpu-info
|
+xen_needs_update patches.xen/xen-x86-exit-mmap
|
||||||
patches.xen/xen-x86-pcpu
|
+xen_needs_update patches.xen/xen-x86-per-cpu-vcpu-info
|
||||||
patches.xen/xen-x86-EFI
|
+xen_needs_update patches.xen/xen-x86-pcpu
|
||||||
patches.xen/xen-x86-bzImage
|
+xen_needs_update patches.xen/xen-x86-EFI
|
||||||
patches.xen/xen-x86_64-pgd-pin
|
+xen_needs_update patches.xen/xen-x86-bzImage
|
||||||
patches.xen/xen-x86_64-pgd-alloc-order
|
+xen_needs_update patches.xen/xen-x86_64-pgd-pin
|
||||||
patches.xen/xen-x86_64-dump-user-pgt
|
+xen_needs_update patches.xen/xen-x86_64-pgd-alloc-order
|
||||||
patches.xen/xen-x86_64-note-init-p2m
|
+xen_needs_update patches.xen/xen-x86_64-dump-user-pgt
|
||||||
patches.xen/xen-x86_64-unmapped-initrd
|
+xen_needs_update patches.xen/xen-x86_64-note-init-p2m
|
||||||
|
+xen_needs_update patches.xen/xen-x86_64-unmapped-initrd
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
2013-05-07 10:14:56 +0200
|
2013-05-22 21:34:32 +0200
|
||||||
GIT Revision: d6e99fd50706d06fa96319e528b75295dacbfb4c
|
GIT Revision: d28ac96565d9d4db50bb43d00490da25973113b2
|
||||||
GIT Branch: master
|
GIT Branch: master
|
||||||
|
Loading…
Reference in New Issue
Block a user