From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#20067: fix interpretation of grub configuration Date: Mon, 9 Mar 2015 21:34:43 +0100 Message-ID: <20150309203443.GA3438@venom> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV4PH-0007CA-VY for bug-guix@gnu.org; Mon, 09 Mar 2015 16:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV4PC-00050u-FB for bug-guix@gnu.org; Mon, 09 Mar 2015 16:36:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:42396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV4PC-00050q-Cx for bug-guix@gnu.org; Mon, 09 Mar 2015 16:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YV4PC-0005j7-2b for bug-guix@gnu.org; Mon, 09 Mar 2015 16:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV4O2-0005bt-VW for bug-guix@gnu.org; Mon, 09 Mar 2015 16:34:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV4Nx-00049L-CV for bug-guix@gnu.org; Mon, 09 Mar 2015 16:34:50 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50948 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV4Nx-00049H-4u for bug-guix@gnu.org; Mon, 09 Mar 2015 16:34:45 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7271DABF1 for ; Mon, 9 Mar 2015 20:34:44 +0000 (UTC) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 20067@debbugs.gnu.org --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Grub configuration interpretes `linux' as directory where is located bzImage. If I enter file name instead, result configuration will be wrong. Example of system configuration: (bootloader (grub-configuration (device "/dev/sda") (menu-entries (list (menu-entry (label "Gentoo") (linux "/vmlinuz-gentoo") ; vmlinuz-gentoo is file (linux-arguments (list "root=/dev/venom/gentoo" "init=/usr/lib/systemd/systemd")) (initrd "/initramfs-gentoo") ))))) Result part of grub.cfg: menuentry "Gentoo" { # Set 'root' to the partition that contains the kernel. search --file --set /vmlinuz-gentoo/bzImage linux /vmlinuz-gentoo/bzImage root=/dev/venom/gentoo init=/usr/lib/systemd/systemd initrd /initramfs-gentoo } It would be nice if the the string would be simply copied into grub.cfg, so I could use even `(hd0,msdos1)/vmlinuz'. --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT+A+MACgkQ37XrCapiVCNyJwCggCY6aE0uJGYSks1+lFYZWxMm z2UAoKVeetSSuCplssvFRBY9pzQrgQZH =z1Q/ -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--