GNU bug report logs - #41066
[PATCH] gnu: grub: Support for chain loading.

Previous Next

Package: guix-patches;

Reported by: Stefan <stefan-guix <at> vodafonemail.de>

Date: Sun, 3 May 2020 23:35:02 UTC

Severity: normal

Tags: patch

Merged with 41068

Done: Stefan <stefan-guix <at> vodafonemail.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Stefan <stefan-guix <at> vodafonemail.de>
Cc: 41066 <at> debbugs.gnu.org, Mathieu Othacehe <othacehe <at> gnu.org>, ludo <at> gnu.org, Efraim Flashner <efraim <at> flashner.co.il>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [bug#41066] [PATCH] gnu: bootloader: Support for chain loading.
Date: Tue, 17 Nov 2020 17:17:14 +0100
[Message part 1 (text/plain, inline)]
Also, please keep in mind Ludo's suggestion of using the first class profiles
of G-Expressions.  I'm not sure it's applicable in this case (!)--but still, it
would be nice, for a future version of raspberry efi netboot or of similar
things, to be able to do this, right from config.scm:

  (operating-system
    (bootloader
      (bootloader-configuration
        (bootloader ; field in bootloader-configuration
          (bootloader ; bootloader record constructor
            (inherit grub-efi-netboot-bootloader) ; so we have the installer
            (package ; override bootloader's package
             (profile ; create a profile
              (content
               (list (file-append firmware "/boot/")
                     (file-append u-boot-my-scb "/libexec/u-boot.bin")
                     (plain-file "config.txt"
                                 "kernel=u-boot.bin")
                     (bootloader-package grub-efi-netboot-bootloader))))) ; and put the package we've overridden back into the profile
            (target "/boot"))))

This way, maybe the procedures efi-bootloader-chain and
efi-bootloader-profile would be superfluous.

Note: I haven't used this myself yet. 
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 4 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.