Subject: bug#20067: fix interpretation of grub configuration

From: [email-masked] (Ludovic Courtès)
Date: Mon, 26 Sep 2016 00:56:59 +0900

Hi,

Tomáš Čech <[email-masked]> skribis:

> Configuration excerpt...
>
> (bootloader (grub-configuration
>              (device "/dev/sda")
>              (menu-entries
>               (list
>                (menu-entry
>                 (label "openSUSE")
>                 (linux "(hd0,msdos1)/vmlinuz")
>                 (linux-arguments (list
>                                   "root=/dev/venom/opensuse"
>                                   "init=/usr/lib/systemd/systemd"))
>                 (initrd "(hd0,msdos1)/initrd"))))))
>
>
> ...transforms into
>
> menuentry "openSUSE" {
>   search --file --set (hd0,msdos1)/vmlinuz
>   linux (hd0,msdos1)/vmlinuz root=/dev/venom/opensuse init=/usr/lib/systemd/systemd
>   initrd (hd0,msdos1)/initrd
> }
>
> I think that if linux contains prefix '(.*)/', there should be no
> search for kernel.

Oh, right.  I believe this is fixed by
5babe521c8adc722c2411b255cbeeef308339d06.

Please let me know if anything’s missing now.

Thanks!

Ludo’.