forked from pool/kernel-source
This commit is contained in:
committed by
Git OBS Bridge
parent
75984bd949
commit
1edcd13ec4
@@ -29,6 +29,7 @@
|
||||
%define build_kdump 0
|
||||
%define build_xen 0
|
||||
%define build_vanilla 0
|
||||
%define build_ps3 0
|
||||
%if %{build_flavor} == "kdump"
|
||||
%define build_kdump 1
|
||||
%endif
|
||||
@@ -38,6 +39,9 @@
|
||||
%if %{build_flavor} == "vanilla"
|
||||
%define build_vanilla 1
|
||||
%endif
|
||||
%if %{build_flavor} == "ps3"
|
||||
%define build_ps3 1
|
||||
%endif
|
||||
%(chmod +x %_sourcedir/{arch-symbols,guards,config-subst,check-for-config-changes,check-supported-list,built-in-where,modversions,symsets.pl})
|
||||
%define symbols %(set -- kernel-debug kernel-debug $(case debug in (rt|rt_*) echo RT ;; esac) $(%_sourcedir/arch-symbols %_target_cpu) $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*)
|
||||
%define cpu_arch_flavor %(%_sourcedir/guards %symbols < %_sourcedir/config.conf | grep '/debug$')
|
||||
@@ -59,7 +63,7 @@
|
||||
Name: kernel-debug
|
||||
Summary: A Debug Version of the Kernel
|
||||
Version: 2.6.27.7
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: GPL v2 only
|
||||
Group: System/Kernel
|
||||
Url: http://www.kernel.org/
|
||||
@@ -208,8 +212,8 @@ Only use this kernel when investigating problems.
|
||||
|
||||
|
||||
|
||||
Source Timestamp: 2008-11-25 00:02:37 +0100
|
||||
GIT Revision: b81f7c1daca9a91df9caf5ea7168dcc0f548453e
|
||||
Source Timestamp: 2008-11-28 08:24:27 +0100
|
||||
GIT Revision: abc28b6b93feaaec83fec842a2c03a25f626aa35
|
||||
|
||||
%prep
|
||||
if ! [ -e %_sourcedir/linux-2.6.27.tar.bz2 ]; then
|
||||
@@ -436,24 +440,30 @@ for sub in '-base' '' '-extra'; do
|
||||
%_sourcedir/$script.sh > ../$script$sub.sh
|
||||
done
|
||||
done
|
||||
%if %build_kdump || %build_xen || %build_vanilla
|
||||
%if %build_kdump || %build_xen || %build_vanilla || %build_ps3
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-debug
|
||||
%endif
|
||||
ln -s $image$suffix %buildroot/boot/$image$suffix
|
||||
ln -s initrd$suffix %buildroot/boot/initrd$suffix
|
||||
cp .config %buildroot/boot/config-$KERNELRELEASE
|
||||
# Figure out where the symbols that vmlinux exports are defined.
|
||||
# (We need this information below as well as in find-provides; we "annotate"
|
||||
# the original Module.symvers here to make sure that we are consistent in
|
||||
# both places.)
|
||||
%_sourcedir/built-in-where < Module.symvers > Module.symvers.split
|
||||
mv Module.symvers.split Module.symvers
|
||||
gzip -c9 < Module.symvers > %buildroot/boot/symvers-$KERNELRELEASE.gz
|
||||
%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 \
|
||||
bs=1024 seek=2047 count=1
|
||||
if [ $CONFIG_MODULES = y ]; then
|
||||
# Figure out where the symbols that vmlinux exports are defined.
|
||||
# (We need this information below as well as in find-provides; we "annotate"
|
||||
# the original Module.symvers here to make sure that we are consistent in
|
||||
# both places.)
|
||||
%_sourcedir/built-in-where < Module.symvers > Module.symvers.split
|
||||
mv Module.symvers.split Module.symvers
|
||||
gzip -c9 < Module.symvers > %buildroot/boot/symvers-$KERNELRELEASE.gz
|
||||
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
|
||||
if ! %_sourcedir/check-supported-list \
|
||||
%_sourcedir %buildroot/lib/modules/$KERNELRELEASE; then
|
||||
@@ -501,11 +511,6 @@ if [ $CONFIG_MODULES = y ]; then
|
||||
if [ $? -ne 0 ] || echo "$msg" | grep 'needs unknown symbol'; then
|
||||
exit 1
|
||||
fi
|
||||
# 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 \
|
||||
bs=1024 seek=2047 count=1
|
||||
%if %split_packages
|
||||
# Generate the lists of supported and unsupported modules.
|
||||
( cd %buildroot
|
||||
@@ -699,8 +704,8 @@ This package contains only the base modules, required in all installs.
|
||||
|
||||
|
||||
|
||||
Source Timestamp: 2008-11-25 00:02:37 +0100
|
||||
GIT Revision: b81f7c1daca9a91df9caf5ea7168dcc0f548453e
|
||||
Source Timestamp: 2008-11-28 08:24:27 +0100
|
||||
GIT Revision: abc28b6b93feaaec83fec842a2c03a25f626aa35
|
||||
|
||||
%preun base -f preun-base.sh
|
||||
|
||||
@@ -741,8 +746,8 @@ This package contains additional modules not supported by Novell.
|
||||
|
||||
|
||||
|
||||
Source Timestamp: 2008-11-25 00:02:37 +0100
|
||||
GIT Revision: b81f7c1daca9a91df9caf5ea7168dcc0f548453e
|
||||
Source Timestamp: 2008-11-28 08:24:27 +0100
|
||||
GIT Revision: abc28b6b93feaaec83fec842a2c03a25f626aa35
|
||||
|
||||
%preun extra -f preun-extra.sh
|
||||
|
||||
@@ -770,8 +775,8 @@ Only use this kernel when investigating problems.
|
||||
|
||||
|
||||
|
||||
Source Timestamp: 2008-11-25 00:02:37 +0100
|
||||
GIT Revision: b81f7c1daca9a91df9caf5ea7168dcc0f548453e
|
||||
Source Timestamp: 2008-11-28 08:24:27 +0100
|
||||
GIT Revision: abc28b6b93feaaec83fec842a2c03a25f626aa35
|
||||
|
||||
%files -n kernel-debug-man
|
||||
%defattr(-,root,root)
|
||||
@@ -780,6 +785,78 @@ GIT Revision: b81f7c1daca9a91df9caf5ea7168dcc0f548453e
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Nov 28 2008 olh@suse.de
|
||||
- rpm/kernel-binary.spec.in: move Module.symvers creation into
|
||||
CONFIG_MODULES section, a static kernel exports nothing
|
||||
* Fri Nov 28 2008 olh@suse.de
|
||||
- rpm/post*.sh: kernel-vanilla has now vmlinux-vanilla symlink
|
||||
* Fri Nov 28 2008 teheo@suse.de
|
||||
Block layer timer bug fixed. Multipath patch update is just patch
|
||||
refresh.
|
||||
- patches.drivers/block-internal-dequeue-shouldnt-start-timer:
|
||||
block: internal dequeue shouldn't start timer (bnc#449880).
|
||||
- patches.drivers/blk-request-based-multipath-update: Block layer
|
||||
fixes for request-based multipathing (References: FATE#302108).
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- patches.suse/8250-sysrq-ctrl_o.patch: fix no-op macro args
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- patches.suse/8250-sysrq-ctrl_o.patch: fix compile on ppc32
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- rpm/kernel-binary.spec.in: always create a dummy initrd because
|
||||
mkinitrd is called unconditionally
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- rpm/kernel-binary.spec.in: kernel-ps3 needs a suffix
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- remove last traces of kernel-um handling
|
||||
* Thu Nov 27 2008 hare@suse.de
|
||||
- patches.fixes/qla2xxx-disable-automatic-queue-tracking: qla2xxx:
|
||||
Conditionally disable queue_full tracking (bnc#449386).
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- patches.suse/8250-sysrq-ctrl_o.patch: no sysrq on Cell QS21/QS22
|
||||
serial console (bnc#422987,bnc#96313 - LTC47675/LTC16841).
|
||||
* Thu Nov 27 2008 olh@suse.de
|
||||
- patches.arch/ppc-memoryless-nodes.patch: fix booting with
|
||||
memoryless nodes (443280 - LTC49675)
|
||||
* Thu Nov 27 2008 teheo@suse.de
|
||||
- patches.drivers/libata-seagate-firmware-bug: libata: blacklist
|
||||
Seagate drives which time out FLUSH_CACHE when used with NCQ
|
||||
(bnc#449531).
|
||||
* Wed Nov 26 2008 agruen@suse.de
|
||||
- rpm/macros.kernel-source: Fix the kernel flavor selection logic
|
||||
for the %%kernel_module_package macro.
|
||||
* Wed Nov 26 2008 hare@suse.de
|
||||
- patches.fixes/blk-leave-sync-timer-running: move to
|
||||
correct place in series.conf and rediff
|
||||
- patches.drivers/cciss-newids.patch: Delete.
|
||||
* Wed Nov 26 2008 hare@suse.de
|
||||
- patches.drivers/cciss-newids.patch: Support for newcciss
|
||||
controller (bnc#448416).
|
||||
- patches.fixes/blk-leave-sync-timer-running: block: leave
|
||||
request timeout timer running on an empty list (bnc#447249).
|
||||
* Tue Nov 25 2008 mszeredi@suse.de
|
||||
- patches.fixes/slab-alloc_slabmgmt-fix.patch: slab: remove
|
||||
GFP_THISNODE clearing from alloc_slabmgmt() (bnc#444597).
|
||||
* Tue Nov 25 2008 sjayaraman@suse.de
|
||||
- patches.suse/SoN-11-mm-page_alloc-emerg.patch: Fix accidental side-effect
|
||||
that this patch introduced by reverting patches.fixes/oom-warning
|
||||
(bnc #444597).
|
||||
* Tue Nov 25 2008 tiwai@suse.de
|
||||
- patches.drivers/alsa-ca0106-pm-support: ALSA: ca0106 - Add
|
||||
power-amangement support (bnc#447624).
|
||||
- patches.drivers/alsa-hda-dell-92hd73xx-models: ALSA: hda -
|
||||
Check model for Dell 92HD73xx laptops (bnc#446025).
|
||||
- patches.drivers/alsa-hda-dell-studio-1535-quirk: ALSA: hda -
|
||||
mark Dell studio 1535 quirk (bnc#446025).
|
||||
- patches.drivers/alsa-hda-spdif-bits-cache-fix: ALSA: hda -
|
||||
Fix caching of SPDIF status bits.
|
||||
- patches.drivers/alsa-hda-stac-no-hp-as-line-out-switch: ALSA:
|
||||
hda - No 'Headphone as Line-out' swich without line-outs
|
||||
(bnc#446025).
|
||||
- patches.drivers/alsa-hda-stac-yet-more-fixes: ALSA: hda -
|
||||
Fix AFG power management on IDT 92HD* codecs (bnc#446025).
|
||||
* Tue Nov 25 2008 jeffm@suse.de
|
||||
- patches.fixes/fix-inotify-watch-removal-umount-races: Fix
|
||||
inotify watch removal/umount races (bnc#446973 CVE-2008-5182).
|
||||
* Tue Nov 25 2008 jeffm@suse.de
|
||||
- patches.fixes/uv-redundant-creation-of-proc-dir: UV: redundant
|
||||
creation of sgi_uv (bnc#444799).
|
||||
|
||||
Reference in New Issue
Block a user