From 230e7365475b3e7327689bf4d18854589b0faa0c220ad327efb84d27c4d7d831 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 3 Nov 2008 11:18:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=62 --- kexec-tools-no-vga-output.diff | 34 ++++++++++++++++++++++++++++++++++ kexec-tools.changes | 5 +++++ kexec-tools.spec | 6 +++++- 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 kexec-tools-no-vga-output.diff diff --git a/kexec-tools-no-vga-output.diff b/kexec-tools-no-vga-output.diff new file mode 100644 index 0000000..bbb0ed3 --- /dev/null +++ b/kexec-tools-no-vga-output.diff @@ -0,0 +1,34 @@ +From: Bernhard Walle +Subject: [PATCH] Don't print setup_linux_vesafb message +Patch-mainline: never + +This looks ugly: + + linux-nisf:/var/crash # rckdump start + Loading kdump setup_linux_vesafb: 1024x768x16 @ e0000000 +600000 + +Don't display the setup_linux_vesafb message. + + +Signed-off-by: Bernhard Walle + +--- + kexec/arch/i386/x86-linux-setup.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/kexec/arch/i386/x86-linux-setup.c ++++ b/kexec/arch/i386/x86-linux-setup.c +@@ -149,9 +149,13 @@ int setup_linux_vesafb(struct x86_linux_ + real_mode->rsvd_pos = var.transp.offset; + real_mode->rsvd_size = var.transp.length; + } ++ ++#if 0 + fprintf(stderr, "%s: %dx%dx%d @ %lx +%x\n", __FUNCTION__, + var.xres, var.yres, var.bits_per_pixel, + fix.smem_start, fix.smem_len); ++#endif ++ + return 0; + + out: diff --git a/kexec-tools.changes b/kexec-tools.changes index efe9718..248813c 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 01 17:01:14 CET 2008 - bwalle@suse.de + +- Don't print "setup_linux_vesafb" message on stderr. + ------------------------------------------------------------------- Mon Oct 27 10:25:42 CET 2008 - bwalle@suse.de diff --git a/kexec-tools.spec b/kexec-tools.spec index fa3be8e..48a407c 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -29,7 +29,7 @@ PreReq: %insserv_prereq %fillup_prereq AutoReqProv: on Summary: Tools for fast kernel loading Version: 2.0.0 -Release: 43 +Release: 44 Source: %{name}-%{version}.tar.bz2 Source1: kexec-bootloader Source2: kexec-bootloader.8.txt @@ -46,6 +46,7 @@ Patch7: %{name}-add-usable-drconf-memory-node-to-device-tree.diff Patch8: %{name}-get-details-dynamic-reconfiguration-memory-node.diff Patch9: %{name}-device-tree-return.diff Patch10: %{name}-ppc-check-flags.diff +Patch11: %{name}-no-vga-output.diff Url: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: zlib-devel @@ -83,6 +84,7 @@ Authors: %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build %{?suse_update_config -f} @@ -149,6 +151,8 @@ install -m 0755 kexec.init ${RPM_BUILD_ROOT}/etc/init.d/kexec %endif %changelog +* Sat Nov 01 2008 bwalle@suse.de +- Don't print "setup_linux_vesafb" message on stderr. * Mon Oct 27 2008 bwalle@suse.de - Update patch that checks for reserved and assigned bit flags on the memory regions (bnc#438086).