Bug#390473: grub2: menuentry stanza doesn't accept $ { } in variable substitutions

Robert Millan rmh at aybabtu.com
Sat Oct 14 19:36:57 UTC 2006


On Fri, Oct 06, 2006 at 12:32:08PM +0200, Luca Capello wrote:
> Hello!
> 
> On Tue, 03 Oct 2006 12:46:14 +0200, Luca Capello wrote:
> > I should note that thanks to the help of #hurd and #grub of Freenode
> > (mostly marco_g ;-) ), the problem is solved escaping the "bad"
> > characters within single quotes.
> 
> As Javier-Elias Vasquez-Vivas noted on debian-hurd at l.d.o [1] that the
> solution provided here wasn't clear, I'm reporting the whole menuentry
> stanza which works with grub2:
> =====
> menuentry "Debian GNU/Hurd" {
> 	set root=(hd0,9)
> 	multiboot /boot/gnumach.gz root=device:hd0s10
> 	module /hurd/ext2fs.static \
> 	       --multiboot-command-line='${kernel-command-line}' \
> 	       --host-priv-port='${host-port}' \
> 	       --device-master-port='${device-port}' \
> 	       --exec-server-task='${exec-task}' \
> 	       -T typed '${root}' '$(task-create)' '$(task-resume)'
> 	module /lib/ld.so.1 /hurd/exec '$(exec-task=task-create)'
> }
> =====

According to upstream (IRC), this behaviour is consistent with GRUB2 having its
own variable support (and namespace..).  So you really need to use this new
syntax (I'll take this into account for my work on update-grub2).

Can we close this bug now?

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-grub-devel mailing list