unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 27735@debbugs.gnu.org
Subject: bug#27735: Lookup by UUID
Date: Thu, 20 Jul 2017 23:51:15 +0200	[thread overview]
Message-ID: <20170720235115.0958266c@scratchpost.org> (raw)
In-Reply-To: <87379qn92a.fsf@gnu.org>

Hi Ludo,

On Thu, 20 Jul 2017 22:32:29 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> > So... just leave the entire "search" instruction off if it's created by grub-mkrescue ?  That's how one could interpret thir "root device" sentence...  
> 
> Oooh, interesting, that comes in handy.  :-)
> 
> Now, how can we pass the information to ‘grub-configuration-file’ so
> that it doesn’t emit that “search” command?
> 
> It seems that the bootloader API doesn’t leave room to pass
> bootloader-specific options.

I can't believe I'm suggesting this (we've come full circle now) but we could add a new bootloader in gnu/bootloader/grub.scm, 

(define* grub-hybrid-bootloader ; or grub-mkrescue-bootloader, maybe less misleading.
  (bootloader
   (inherit grub-efi-bootloader)
   (configuration-file-generator grub-configuration-file-without-search-emission) ; this here could parametrize grub-configuration-file somehow or maybe we could refactor grub-configuration-file instead.
   ; Note: name is still 'grub-efi, so the public boot parameters API doesn't change.
   (package grub-hybrid))) ; probably; or grub-efi if you just want a quick test with EFI only.

... and use it in iso9660-image or gnu/system/install.scm .

  reply	other threads:[~2017-07-20 21:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 14:40 bug#27735: Unbootable images with GuixSD on... "GuixSD" Tobias Geerinckx-Rice
2017-07-17 14:51 ` bug#27735: [PATCH 1/2] build, vm: Use a slightly less generic label Tobias Geerinckx-Rice
2017-07-17 17:20   ` Danny Milosavljevic
2017-07-17 17:58     ` Tobias Geerinckx-Rice
2017-07-18 10:09     ` Ludovic Courtès
2017-07-18 12:30       ` Tobias Geerinckx-Rice
2017-07-18 13:48         ` Danny Milosavljevic
2017-07-17 17:17 ` bug#27735: Unbootable images with GuixSD on... "GuixSD" Danny Milosavljevic
2017-07-17 18:12   ` Tobias Geerinckx-Rice
2017-07-17 18:37     ` Tobias Geerinckx-Rice
2017-07-18 11:49   ` Ludovic Courtès
2017-07-18 15:09     ` Tobias Geerinckx-Rice
2017-07-18 18:59       ` Ludovic Courtès
2017-07-18 20:42         ` Tobias Geerinckx-Rice
2017-07-19 19:11     ` Danny Milosavljevic
2017-07-19 22:32       ` bug#27735: Lookup by UUID Ludovic Courtès
2017-07-20 17:38         ` Danny Milosavljevic
2017-07-20 20:32           ` Ludovic Courtès
2017-07-20 21:51             ` Danny Milosavljevic [this message]
2017-08-05 17:50             ` Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170720235115.0958266c@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=27735@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).