guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#41560] [PATCH 2/8] bootloader: grub: Do not run grub-install when c


From: Ludovic Courtès
Subject: [bug#41560] [PATCH 2/8] bootloader: grub: Do not run grub-install when creating a disk-image.
Date: Thu, 28 May 2020 23:40:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> * gnu/bootloader/grub.scm (install-grub): When creating a disk-image,
> grub-install will fail because it lacks root permissions. In that case, do not
> run grub-install and only copy Grub modules to the /boot directory.

[...]

> +        ;; Install GRUB on DEVICE which is mounted at MOUNT-POINT. If device
                                                                         ^
DEVICE

> +        ;; is #f we are creating a disk-image.

Maybe:

  … is #f, then populate the disk image rooted at MOUNT-POINT.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]