From a004f82274d45e6c04546240f69e61ec2ca2e5aa061e6e8cf239347989a58a25 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 27 May 2014 06:00:59 +0000 Subject: [PATCH] commit 346029d151a21d9a7a20e74d75685096b2d6f29e OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=7813 --- kernel-binary.spec.in | 14 ++++++++++++++ kernel-debug.changes | 7 +++++++ kernel-debug.spec | 16 +++++++++++++++- kernel-default.changes | 7 +++++++ kernel-default.spec | 16 +++++++++++++++- kernel-desktop.changes | 7 +++++++ kernel-desktop.spec | 16 +++++++++++++++- kernel-docs.changes | 7 +++++++ kernel-docs.spec | 2 +- kernel-ec2.changes | 7 +++++++ kernel-ec2.spec | 16 +++++++++++++++- kernel-exynos.changes | 7 +++++++ kernel-exynos.spec | 16 +++++++++++++++- kernel-lpae.changes | 7 +++++++ kernel-lpae.spec | 16 +++++++++++++++- kernel-obs-build.changes | 7 +++++++ kernel-obs-build.spec | 2 +- kernel-obs-qa-xen.changes | 7 +++++++ kernel-obs-qa-xen.spec | 2 +- kernel-obs-qa.changes | 7 +++++++ kernel-obs-qa.spec | 2 +- kernel-pae.changes | 7 +++++++ kernel-pae.spec | 16 +++++++++++++++- kernel-source.changes | 7 +++++++ kernel-source.spec | 2 +- kernel-syms.changes | 7 +++++++ kernel-syms.spec | 2 +- kernel-vanilla.changes | 7 +++++++ kernel-vanilla.spec | 16 +++++++++++++++- kernel-xen.changes | 7 +++++++ kernel-xen.spec | 16 +++++++++++++++- source-timestamp | 4 ++-- 32 files changed, 262 insertions(+), 17 deletions(-) diff --git a/kernel-binary.spec.in b/kernel-binary.spec.in index b7db6383..f60077de 100644 --- a/kernel-binary.spec.in +++ b/kernel-binary.spec.in @@ -413,6 +413,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-debug.changes b/kernel-debug.changes index 0b25f453..7233e9e5 100644 --- a/kernel-debug.changes +++ b/kernel-debug.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-debug.spec b/kernel-debug.spec index c1fe99aa..e67487ca 100644 --- a/kernel-debug.spec +++ b/kernel-debug.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -539,6 +539,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-default.changes b/kernel-default.changes index 0b25f453..7233e9e5 100644 --- a/kernel-default.changes +++ b/kernel-default.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-default.spec b/kernel-default.spec index 7213257f..63fbca3b 100644 --- a/kernel-default.spec +++ b/kernel-default.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -546,6 +546,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-desktop.changes b/kernel-desktop.changes index 0b25f453..7233e9e5 100644 --- a/kernel-desktop.changes +++ b/kernel-desktop.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-desktop.spec b/kernel-desktop.spec index d4932923..e693bc08 100644 --- a/kernel-desktop.spec +++ b/kernel-desktop.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -548,6 +548,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-docs.changes b/kernel-docs.changes index 0b25f453..7233e9e5 100644 --- a/kernel-docs.changes +++ b/kernel-docs.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-docs.spec b/kernel-docs.spec index 376fa825..1f74b573 100644 --- a/kernel-docs.spec +++ b/kernel-docs.spec @@ -27,7 +27,7 @@ License: GPL-2.0 Group: Documentation/Man Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif diff --git a/kernel-ec2.changes b/kernel-ec2.changes index 0b25f453..7233e9e5 100644 --- a/kernel-ec2.changes +++ b/kernel-ec2.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-ec2.spec b/kernel-ec2.spec index e8d582a6..b7d1f180 100644 --- a/kernel-ec2.spec +++ b/kernel-ec2.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -538,6 +538,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-exynos.changes b/kernel-exynos.changes index 0b25f453..7233e9e5 100644 --- a/kernel-exynos.changes +++ b/kernel-exynos.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-exynos.spec b/kernel-exynos.spec index 42912ab1..ef18d381 100644 --- a/kernel-exynos.spec +++ b/kernel-exynos.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -535,6 +535,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-lpae.changes b/kernel-lpae.changes index 0b25f453..7233e9e5 100644 --- a/kernel-lpae.changes +++ b/kernel-lpae.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-lpae.spec b/kernel-lpae.spec index ac54c77d..d0ed38cf 100644 --- a/kernel-lpae.spec +++ b/kernel-lpae.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -536,6 +536,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-obs-build.changes b/kernel-obs-build.changes index 0b25f453..7233e9e5 100644 --- a/kernel-obs-build.changes +++ b/kernel-obs-build.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-obs-build.spec b/kernel-obs-build.spec index 5190e445..68aaf358 100644 --- a/kernel-obs-build.spec +++ b/kernel-obs-build.spec @@ -47,7 +47,7 @@ License: GPL-2.0 Group: SLES Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif diff --git a/kernel-obs-qa-xen.changes b/kernel-obs-qa-xen.changes index 0b25f453..7233e9e5 100644 --- a/kernel-obs-qa-xen.changes +++ b/kernel-obs-qa-xen.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-obs-qa-xen.spec b/kernel-obs-qa-xen.spec index 1f9177ab..102e21dc 100644 --- a/kernel-obs-qa-xen.spec +++ b/kernel-obs-qa-xen.spec @@ -38,7 +38,7 @@ License: GPL-2.0 Group: SLES Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif diff --git a/kernel-obs-qa.changes b/kernel-obs-qa.changes index 0b25f453..7233e9e5 100644 --- a/kernel-obs-qa.changes +++ b/kernel-obs-qa.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-obs-qa.spec b/kernel-obs-qa.spec index 65ea22d5..f9de2f88 100644 --- a/kernel-obs-qa.spec +++ b/kernel-obs-qa.spec @@ -38,7 +38,7 @@ License: GPL-2.0 Group: SLES Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif diff --git a/kernel-pae.changes b/kernel-pae.changes index 0b25f453..7233e9e5 100644 --- a/kernel-pae.changes +++ b/kernel-pae.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-pae.spec b/kernel-pae.spec index 4c1a95af..36e656c3 100644 --- a/kernel-pae.spec +++ b/kernel-pae.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -547,6 +547,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-source.changes b/kernel-source.changes index 0b25f453..7233e9e5 100644 --- a/kernel-source.changes +++ b/kernel-source.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-source.spec b/kernel-source.spec index 25895685..22539e96 100644 --- a/kernel-source.spec +++ b/kernel-source.spec @@ -32,7 +32,7 @@ License: GPL-2.0 Group: Development/Sources Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif diff --git a/kernel-syms.changes b/kernel-syms.changes index 0b25f453..7233e9e5 100644 --- a/kernel-syms.changes +++ b/kernel-syms.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-syms.spec b/kernel-syms.spec index 7a352477..c6809ae1 100644 --- a/kernel-syms.spec +++ b/kernel-syms.spec @@ -27,7 +27,7 @@ Group: Development/Sources Version: 3.15.rc6 %if %using_buildservice %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif diff --git a/kernel-vanilla.changes b/kernel-vanilla.changes index 0b25f453..7233e9e5 100644 --- a/kernel-vanilla.changes +++ b/kernel-vanilla.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index df4f850a..7f6e7441 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -535,6 +535,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/kernel-xen.changes b/kernel-xen.changes index 0b25f453..7233e9e5 100644 --- a/kernel-xen.changes +++ b/kernel-xen.changes @@ -195,6 +195,13 @@ Mon May 12 15:27:30 CEST 2014 - jeffm@suse.de - CAN_C_CAN_STRICT_FRAME_ORDERING=n (default) - commit 7f2c6bf +------------------------------------------------------------------- +Mon May 12 10:15:01 CEST 2014 - mmarek@suse.cz + +- rpm/kernel-binary.spec.in: Do not keep debug symbols in vmlinux-*.gz + (bnc#877267) +- commit f928d60 + ------------------------------------------------------------------- Wed May 7 15:45:30 CEST 2014 - mmarek@suse.cz diff --git a/kernel-xen.spec b/kernel-xen.spec index 28c938ce..0b2e76d3 100644 --- a/kernel-xen.spec +++ b/kernel-xen.spec @@ -61,7 +61,7 @@ License: GPL-2.0 Group: System/Kernel Version: 3.15.rc6 %if 0%{?is_kotd} -Release: .gacf7dab +Release: .g346029d %else Release: 0 %endif @@ -541,6 +541,20 @@ add_vmlinux() # mark the file 0644 again chmod +x %buildroot/$vmlinux if test $1 == "--compressed"; then +%if 0%{?__debug_package:1} + # split the debug information just to keep the compressed file + # reasonably small + local vmlinux_debug=usr/lib/debug/$vmlinux.debug + mkdir -p $(dirname %buildroot/$vmlinux_debug) + objcopy --only-keep-debug \ + %buildroot/$vmlinux \ + %buildroot/$vmlinux_debug || : + objcopy --add-gnu-debuglink=%buildroot/$vmlinux_debug \ + --strip-debug \ + %buildroot/$vmlinux || : + # let find-debuginfo.sh do the real job + rm -f %buildroot/$vmlinux_debug +%endif gzip -n -k -9 %buildroot/$vmlinux ghost_vmlinux=true else diff --git a/source-timestamp b/source-timestamp index e4a10c92..55ad90ea 100644 --- a/source-timestamp +++ b/source-timestamp @@ -1,3 +1,3 @@ -2014-05-23 15:27:33 +0200 -GIT Revision: acf7dab25ea767f7e6204d8428b8cabf893974e5 +2014-05-26 12:06:25 +0200 +GIT Revision: 346029d151a21d9a7a20e74d75685096b2d6f29e GIT Branch: master