Bug#337145: marked as done (bashism in /sbin/update-grub prevents splashimage detection)

Debian Bug Tracking System owner at bugs.debian.org
Fri Nov 25 01:33:23 UTC 2005


Your message dated Thu, 24 Nov 2005 23:20:49 -0200
with message-id <87sltl1q1a.fsf at nurf.casa>
and subject line Wasn't a NMU
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Nov 2005 20:36:07 +0000
>From solist at solistland.dnsalias.org Wed Nov 02 12:36:07 2005
Return-path: <solist at solistland.dnsalias.org>
Received: from thes730b-0252.otenet.gr (dias.kastoria.solistland.org) [83.235.252.252] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EXPL4-0005Q3-00; Wed, 02 Nov 2005 12:36:06 -0800
Received: from solist by dias.kastoria.solistland.org with local (Exim 4.54)
	id 1EXPL1-0001oH-8y; Wed, 02 Nov 2005 22:36:03 +0200
Content-Type: multipart/mixed; boundary="===============0074756988=="
MIME-Version: 1.0
From: Antonio Kanouras <solist at solistland.dnsalias.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: bashism in /sbin/update-grub prevents splashimage detection
X-Mailer: reportbug 3.17
Date: Wed, 02 Nov 2005 22:36:03 +0200
Message-Id: <E1EXPL1-0001oH-8y at dias.kastoria.solistland.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0074756988==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: grub
Version: 0.95+cvs20040624-19
Severity: normal

Hi,

as you can see:

dias:~# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found:
/boot/grub/menu.lst .
Searching for splash image... [: 718: ==: unexpected operator
[: 718: ==: unexpected operator
none found, skipping...
Found kernel: /boot/vmlinuz-2.6.14-1-686
Found kernel: /boot/vmlinuz-2.6.13-1-686
Found kernel: /boot/vmlinuz-2.6.12-1-686
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

dias:~#

I attached a patch which changes '==' to '='.

Cheers,
Antonio

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (750, 'unstable'), (700, 'testing'), (200, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  libncurses5                   5.5-1      Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information

--===============0074756988==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="update-grub.patch"

--- update-grub.orig	2005-10-31 22:53:55.000000000 +0200
+++ update-grub	2005-11-02 22:13:37.406087000 +0200
@@ -701,11 +701,11 @@
 echo -n "Searching for splash image... "
 current_splash=`grep '^splashimage=' ${grub_dir}/menu.lst || true`
 splashimage_path="splashimage=${grub_root_device}${grub_dir##${boot_device:+/boot}}/splash.xpm.gz"
-if [ -f "${grub_dir}/splash.xpm.gz" ]  && [ "$current_splash" == "" ]; then
+if [ -f "${grub_dir}/splash.xpm.gz" ]  && [ "$current_splash" = "" ]; then
        echo "found: /boot/grub/splash.xpm.gz"
        echo "$splashimage_path" >> $buffer
        echo >> $buffer
-elif [ -f "${grub_dir}/splash.xpm.gz" ]  && [ "$current_splash" == "$splashimage_path" ]; then
+elif [ -f "${grub_dir}/splash.xpm.gz" ]  && [ "$current_splash" = "$splashimage_path" ]; then
        echo "found: /boot/grub/splash.xpm.gz"
        echo "$splashimage_path" >> $buffer
        echo >> $buffer

--===============0074756988==--

---------------------------------------
Received: (at 337145-done) by bugs.debian.org; 25 Nov 2005 01:20:50 +0000
>From otavio at debian.org Thu Nov 24 17:20:50 2005
Return-path: <otavio at debian.org>
Received: from aveiro.procergs.com.br ([200.198.128.42])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EfSGg-0004bu-26; Thu, 24 Nov 2005 17:20:50 -0800
Received: from localhost (unknown [201.10.58.28])
	by aveiro.procergs.com.br (Postfix) with ESMTP id 0F36E5010B7B;
	Thu, 24 Nov 2005 23:20:30 -0200 (BRDT)
Received: by localhost (Postfix, from userid 1000)
	id 89E191C0B6CB; Thu, 24 Nov 2005 23:20:49 -0200 (BRST)
From: Otavio Salvador <otavio at debian.org>
To: 138318-done at bugs.debian.org,200269-done at bugs.debian.org,266101-done at bugs.debian.org,267224-done at bugs.debian.org,288678-done at bugs.debian.org,298110-done at bugs.debian.org,303967-done at bugs.debian.org,336729-done at bugs.debian.org,336730-done at bugs.debian.org,337145-done at bugs.debian.org,337288-done at bugs.debian.org,338371-done at bugs.debian.org,339687-done at bugs.debian.org,340656-done at bugs.debian.org
Subject: Wasn't a NMU
Organization: O.S. Systems Ltda.
X-URL: http://www.debian.org/~otavio/
X-Attribution: O.S.
Date: Thu, 24 Nov 2005 23:20:49 -0200
Message-ID: <87sltl1q1a.fsf at nurf.casa>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	SORTED_RECIPS autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 10

Package: grub
Version: 0.97-1

Hello,

This bug was mark as closed by a NMU by mistake. Closing it according.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."



More information about the Pkg-grub-devel mailing list