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#27007: boot-parameters are not documented Date: Tue, 23 May 2017 11:57:03 +0200 Message-ID: <20170523095703.wvay4ganh4kynny3@penguin.suse.cz> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> <86r2zfkjhb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ofg5kpjh2upmxxvp" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD6Zp-0005wj-UR for bug-guix@gnu.org; Tue, 23 May 2017 05:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD6Zm-0003LL-OY for bug-guix@gnu.org; Tue, 23 May 2017 05:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dD6Zm-0003LA-LD for bug-guix@gnu.org; Tue, 23 May 2017 05:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dD6Zm-0003RP-7c for bug-guix@gnu.org; Tue, 23 May 2017 05:58:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <86r2zfkjhb.fsf@gmail.com> 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" To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org --ofg5kpjh2upmxxvp Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 23, 2017 at 11:31:12AM +0200, Mathieu Othacehe wrote: > >Hello, > >> So how does the =E2=80=98menu-entry=E2=80=99 example that Tom=C3=A1=C5= =A1 gave translate with this >> new API? (Apologies for asking, I admit I haven=E2=80=99t fully adjuste= d to the >> new API mentally. :-)) > >Well it's still moving :) > >We can ask him but I guess something like that : > >--8<---------------cut here---------------start------------->8--- >(boot-parameters > (label "openSUSE") > (root-device #f) > (boot-name 'grub) > (store-device #f) > (store-mount-point "/") > (kernel "(hd0,msdos1)/vmlinuz") > (kernel-arguments (list "root=3D/dev/penguin/opensuse" "init=3D/usr/li= b/systemd/systemd")) > (initrd "(hd0,msdos1)/initrd")) >--8<---------------cut here---------------end--------------->8--- > >Note that root-device, boot-name, store-device and store-mount-point are >useless here. I came with something similar: (boot-parameters (label "openSUSE") (root-device "/dev/penguin/opensuse") (boot-name 'grub) (store-device "(hd0,msdos1)") (store-mount-point "/") (kernel "(hd0,msdos1)/vmlinuz") (kernel-arguments '("root=3D/dev/penguin/opensuse" "init=3D/usr/lib/systemd/systemd")) (initrd "(hd0,msdos1)/initrd")))))) Unfortunately useless entries were still required (I didn't have that idea with setting them to #f). I couldn't verify the result configuration yet as I'm facing another, unrelated problem. Thanks, S_W --ofg5kpjh2upmxxvp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlkkB2kACgkQSiPjT6Az Q20asA/7BmLVhuTJdeaNynFMwgOeR8du0dVnIG18VV0DVp72UNqYB+vL3CtZ4+zI OSFetnOCXv8hcz+h+7mO8k/dadx0dPCxJKBAN175kmbeCmgaTyoU7/IFzAiT2IJP hcAfdmqSSiJp1al2PELy6kJHRFB/cY2CrGSrctiXlZIE1UHMvhzi1gCvaxIohuAJ MULZP5CDv6Zr7sKYyaLK3L+IAMgPFxXGMXaUh8jXg3ji/zq3AWH8rE9PecYqwy60 LDEfYIQvQwXVHQtU2+mej3oxUzYCvbmO5lQr7+BTLx2sL0g3lsE9mmYqtbgxMf2S id3M7pht5xYvzBBJ644xmkf6idcD2VR8ckLphcOOtW/k04xY17fDkCRSRbzg1BKC ovp8xtE/cr1ZM3BaCOc80gqGvv9cdpquDaJYMYYBxQlJ8Mnr+F8JEf0uBplroDbl VtYjax1t4xMEXSNglNh9HLAhRd4y1IyBer17JYfr79BKecNUZI46WPiXnr2R6EZk CUXzwdmvMZQZoODVgOqI54ZQgX1c5KUlKVHhk/m2lTfxIchiW7zgm2s8Qkab6AX1 4MV30tUzu7eshDIhp5Jl+6QKr9GocW0EMVT7Eki5wvHO+mg264zS6bWInWxuGZSu DptJtbAacC0f4cbZjJ3Vxc3LQ5/AFBzIG0YtYo1+pDFsamNXEp0= =9P7y -----END PGP SIGNATURE----- --ofg5kpjh2upmxxvp--