Bug#298110: marked as done (grub: Custom title in menu.lst)
Debian Bug Tracking System
owner at bugs.debian.org
Fri Nov 25 01:33:16 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; 4 Mar 2005 19:05:40 +0000
>From free at agnula.org Fri Mar 04 11:05:40 2005
Return-path: <free at agnula.org>
Received: from vsmtp3alice.tin.it [212.216.176.143]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1D7I7I-0002hB-00; Fri, 04 Mar 2005 11:05:40 -0800
Received: from localhost.localdomain (82.50.16.134) by vsmtp3alice.tin.it (7.0.027)
id 42126E2B001B1E31 for submit at bugs.debian.org; Fri, 4 Mar 2005 20:04:20 +0100
From: Free Ekanayaka <free at agnula.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: grub: Custom title in menu.lst
X-Debbugs-CC: Free Ekanayaka <free at agnula.org>
User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 MULE XEmacs/21.4 (patch 16) (Corporate Culture) (i386-debian-linux)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 04 Mar 2005 20:04:20 +0100
Message-ID: <873bvb44i3.fsf at localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me>
X-BadReturnPath: free at free.aliceposta.it rewritten as free at agnula.org
using "From" header
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-Status: No, hits=-8.4 required=4.0 tests=ADDR_FREE,BAYES_00,
HAS_PACKAGE,X_DEBBUGS_CC autolearn=ham
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: grub
Version: 0.95+cvs20040624-13
Severity: wishlist
Tags: patch
File: /sbin/update-grub
Hi,
it would be nice to be able to set a custom title for the menu.list entries.
The patch below lets override the variable "title" (and possibly other
ones) via /etc/default/grub.
Cheers,
Free
--- /sbin/update-grub 2005-01-16 23:20:51.000000000 +0100
+++ update-grub 2005-03-04 19:56:34.000000000 +0100
@@ -237,6 +237,9 @@
# Default kernel options, overidden by the kopt statement in the menufile.
kopt="root=$root_device ro"
+# Title
+title="Debian GNU/Linux"
+
# Drive(in GRUB terms) where the kernel is located. Overridden by the
# kopt statement in menufile.
# if we don't have a device.map then we can't use the convert function.
@@ -269,6 +272,11 @@
# stores the command line arguments
command_line_arguments=$1
+# read user configuration
+if test -f "/etc/default/grub" ; then
+ . /etc/default/grub
+fi
+
# Default options to use in a new menu.lst . This will only be used if menu.lst
# doesn't already exist. Only edit the lines between the two "EOF"s. The others are
# part of the script.
@@ -522,7 +530,7 @@
recovery_suffix=$7
initrd=$8
- echo "title Debian GNU/Linux, kernel $kernel_version $recovery_desc" >> $buffer
+ echo "title $title, kernel $kernel_version $recovery_desc" >> $buffer
# lock the alternative options
if test x"$lock_alternative" = x"true" ; then
---------------------------------------
Received: (at 298110-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: 6
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