summaryrefslogtreecommitdiff
path: root/gnu/bootloader
AgeCommit message (Collapse)Author
2026-03-05bootloader: grub: Always use rumpdisk-style root for the 64-bit Hurd.Janneke Nieuwenhuizen
* gnu/bootloader/grub.scm (make-grub-configuration): When building for the 64-bit Hurd, use RumpDisk root device name. Change-Id: Iffa9af0a504ea698d055208ac9ed66ea7eac03d7
2026-02-17system: Remove depthcharger bootloader.Andreas Enge
It depends on vboot-utils, which does not build and which depends on python2. This effectively reverts commit 96c90474c0cbfe88d1dccb9cb52a0f1b3a1505e7 . * gnu/bootloader/depthcharge.scm: Remove file. * gnu/local.mk (GNU_SYSTEM_MODULES): Unregister file. Change-Id: Id14b2010237dbce1423734790b2b3a37f6b939e4
2026-02-17system: Remove nintendo-nes-classic-edition installer.Andreas Enge
* gnu/system/install.scm (nintendo-nes-classic-edition-installation-os): Delete variable. * gnu/bootloader/u-boot.scm (u-boot-nintendo-nes-classic-edition-bootloader): Delete variable. Change-Id: I538d1b7d80f4d475c5389bd41cee4ab4358c05c2
2026-02-01gnu: bootloader: Add u-boot-am335x-evm-bootloader.Denis 'GNUtoo' Carikli
* gnu/bootloader/u-boot.scm (u-boot-am335x-evm-bootloader): New exported variable. Change-Id: I258f7b7b31e7b7597710b8ff30d7a5ed882e147c Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2026-01-16gnu: install-starfive-visionfive2-uEnv.txt: Set extra options.Artyom V. Poptsov
* gnu/bootloader/u-boot.scm (install-starfive-visionfive2-uEnv.txt): Set "boot_targets" and "bootcmd_mmc1". Change-Id: I0ce157d66e792af605cfdb7cc5dbecf6e5171c5a Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-16gnu: make-u-boot-installer: Use the original file name.Artyom V. Poptsov
* gnu/bootloader/u-boot.scm (make-u-boot-installer): Use the original file name without the Guix store file prefix when installing a plain file. Change-Id: Ica2707878c1dd5f7d3b805499a0a38ca76e315af Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-16gnu: install-starfive-visionfive2-uEnv.txt: Remove "~%".Artyom V. Poptsov
* gnu/bootloader/u-boot.scm (install-starfive-visionfive2-uEnv.txt): Remove an extra "~%" from the file contents. Change-Id: Ie83ae01702538153017e45da51ce2c3000df7899 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-11-24bootloader: grub: Add grub-efi32-removable-bootloader.Denis 'GNUtoo' Carikli
* gnu/bootloader/grub.scm (grub-efi32-removable-bootloader): New variable. Change-Id: Ia2f772484143cfeb9498f04fee89d57af83143d9 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03gnu: bootloader: Add nanopi-r4s-rk3399 bootloader.dan
* gnu/bootloader/u-boot.scm (u-boot-nanopi-r4s-rk3399-bootloader): Add variable. * gnu/packages/bootloaders.scm (u-boot-nanopi-r4s-rk3399): Add variable. Change-Id: Ib7af37fff02d7e5a83928949835c03a5949927da Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-09-18system: Add u-boot-rock-4c-plus-rk3399.Denis 'GNUtoo' Carikli
* gnu/packages/bootloaders.scm (u-boot-rock-4c-plus-rk3399): New variable. * gnu/bootloader/u-boot.scm (u-boot-rock-4c-plus-rk3399-bootloader): New exported variable. * gnu/system/install.scm (rock-4c-plus-installation-os): New exported variable. Change-Id: I37025b248178311ccf8246cb0e02ed9399f9c6ac Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with the more careful command, to avoid a world rebuild: grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \ --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
The change was automated via: git grep -l maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' * .mailmap: New entry. Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-03-04gnu: bootloader: Add orangepi-zero2w bootloader.Herman Rimm
* gnu/bootloader/u-boot.scm (u-boot-orangepi-zero2w-bootloader): Add variable. * gnu/packages/bootloaders.scm (u-boot-orangepi-zero2w): Add variable. * gnu/packages/firmware.scm (arm-trusted-firmware-sun50i-h616): Add variable. Change-Id: Idb43fdabac51b3301f3bea24fec72bfa29636489 Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-03-04gnu: bootloader: u-boot: Add write-u-boot-image procedure.Herman Rimm
* gnu/bootloader/u-boot.scm (write-u-boot-image): Add procedure. (install-beaglebone-black-u-boot, install-allwinner-u-boot, install-allwinner64-u-boot, install-imx-u-boot, install-puma-rk3399-u-boot, install-rockchip-u-boot, install-sifive-unmatched-u-boot, install-starfive-visionfive2-u-boot): Use write-u-boot-image. Change-Id: Icb73534bfc5b9ab7c8874176f649c29275c388cf Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-03-04gnu: bootloader: u-boot: Add u-boot-rockchip-bootloader.Herman Rimm
* gnu/bootloader/u-boot.scm (install-rockchip-u-boot): Add procedure. (install-orangepi-r1-plus-lts-rk3328-u-boot, install-firefly-rk3399-u-boot, install-rock64-rk3328-u-boot, install-rockpro64-rk3399-u-boot, install-pinebook-pro-rk3399-u-boot): Remove procedure. (u-boot-rockchip-bootloader): Add variable. (u-boot-firefly-rk3399-bootloader, u-boot-orangepi-r1-plus-lts-rk3328-bootloader, u-boot-rock64-rk3328-bootloader, u-boot-rockpro64-rk3399-bootloader, u-boot-pinebook-pro-rk3399-bootloader): Inherit u-boot-rockchip-bootloader. [disk-image-installer]: Remove. Change-Id: Icb7546ee2bb1742c12c7b47ff2779d278dd45b14 Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-01-26bootloader/grub: Create grub background image with ungrafted inputs.Efraim Flashner
This fixes bug https://issues.guix.gnu.org/75510. * gnu/bootloader/grub.scm (image->png): Create the grub-image using ungrafted inputs. Change-Id: Ia23dd081d9711c703b7bf795dc376e024bb5caff
2024-12-01bootloader: u-boot: Add procedure to share installer code.Herman Rimm
* gnu/bootloader/u-boot.scm (make-u-boot-installer): Add procedure. (install-u-boot-ts7970-q-2g-1000mhz-c-u-boot, install-qemu-riscv64-u-boot): Remove variables. (install-starfive-visionfive2-uEnv.txt, u-boot-ts7970-q-2g-1000mhz-c-bootloader, u-boot-qemu-riscv64-bootloader): Use make-u-boot-installer. Change-Id: I0b0b507925a7c8ca608f7307d442d9588862ae91 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-01bootloader: grub: Add procedure to share EFI installer code.Herman Rimm
* gnu/bootloader/grub.scm (make-grub-efi-bootloader): Add procedure. (install-grub-efi, install-grub-efi32): Remove variables. (install-grub-efi-removable): Deprecate variable. Change-Id: Ie10b506bb1088179d459ddafe3229fd730ac45aa Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-11bootloader: grub: Remove hardcoded partition number for the Hurd.Janneke Nieuwenhuizen
This supports using another than the default DISK0 PART1 and using LABEL or UUID as root file-system specifier. It still defaults to DISK0 PART1 if the file-system cannot be found, i.e., lives only at the build side: A virtual machine/childhurd build. * gnu/build/file-systems.scm (%hurd-device-spec-regexp, %device-spec-regexp): New variables. (device-name->hurd-device-name, hurd-device-name->device-name, device-spec->device, device-spec->device-name): Use them in new procedures. * gnu/bootloader/grub.scm (make-grub-configuration): Use them to remove hardcoded partition number (root-index 1). Change-Id: I49fa93dacc09883dfb4d695402c5eac2e0e17286
2024-05-22bootloader: Add u-boot-starfive-visionfive2-bootloader.Zheng Junjie
* gnu/bootloader/u-boot.scm (u-boot-starfive-visionfive2-bootloader): New variable. Change-Id: I4b73906fe18d481644102c271f5e0883167b3a50
2024-03-31bootloader: Add u-boot-qemu-riscv64-bootloader.Zheng Junjie
* gnu/bootloader/u-boot.scm (u-boot-qemu-riscv64-bootloader): New variable. Change-Id: If6622838d2250c90a26380849b92387aa7122fbb Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14bootloader: grub: Add support for loading an additional initrd.Tomas Volf
In order to be able to provide decryption keys for the LUKS device, they need to be available in the initial ram disk. However they cannot be stored inside the usual initrd, since it is stored in the store and being a world-readable (as files in the store are) is not a desired property for a initrd containing decryption keys. This commit adds an option to load additional initrd during the boot, one that is not stored inside the store and therefore can contain secrets. Since only grub supports encrypted /boot, only grub is modified to use the extra-initrd. There is no use case for the other bootloaders. * doc/guix.texi (Bootloader Configuration): Describe the new extra-initrd field. * gnu/bootloader.scm (<bootloader-configuration>): Add extra-initrd field. * gnu/bootloader/grub.scm (make-grub-configuration): Use the extra-initrd field. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I995989bb623bb594ccdafbf4a1a6de941bd4189f
2023-12-22gnu: bootloader: Add orangepi-r1-plus-lts-rk3328 bootloader.Herman Rimm
* gnu/bootloader/u-boot.scm (install-orangepi-r1-plus-lts-rk3328-u-boot, u-boot-orangepi-r1-plus-lts-rk3328-bootloader): New variables. * gnu/packages/bootloaders.scm (u-boot-orangepi-r1-plus-lts-rk3328): New variable. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-07-13bootloader: grub: Use rumpdisk-style root when booting with "noide".Janneke Nieuwenhuizen
* gnu/bootloader/grub.scm (make-grub-configuration): When "noide" is in arguments, use device name "wd0" rather than "hd0". Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-06-14gnu: bootloader: Add u-boot-sifive-unmatched-bootloader.Efraim Flashner
* gnu/bootloader/u-boot.scm (install-sifive-unmatched-u-boot, u-boot-sifive-unmatched-bootloader): New variables.
2023-01-18gnu: Add u-boot-ts7970-q-2g-1000mhz-c-bootloader.Maxim Cournoyer
* gnu/bootloader/u-boot.scm (u-boot-ts7970-q-2g-1000mhz-c-bootloader): New variable.
2022-12-28gnu: u-boot-am335x-boneblack: Revert to old name.Maxim Cournoyer
This reverts to the name this package had previous to commit c2c1dfdf5760873f1db86d14873f725a105f7feb ("gnu: bootloader: Add U-Boot packages for Raspberry Pi models."), which caused the package name to be derived from the board name. * gnu/packages/bootloaders.scm (u-boot-am335x-evm-boneblack): Remove the NAME-SUFFIX keyword argument. Specify the full name via the name field. * gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Adjust to the renamed package. Reported-by: Vagrant Cascadian <vagrant@debian.org>
2022-12-20gnu: u-boot-am335x-evm-boneblack: Fix variable name.Maxim Cournoyer
* gnu/packages/bootloaders.scm (u-boot-am335x-boneblack): Rename to... (u-boot-am335x-evm-boneblack), to match the package name. * gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Adjust accordingly.
2022-12-07bootloaders: grub: Fix comment.Maxim Cournoyer
* gnu/bootloader/grub.scm (make-grub-configuration): Refer to the correct argument in comment.
2022-12-01gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader.Stefan
This rework allows to use an (efi-bootloader-chain) like this, which is able to boot over network or local storage, depending on whether the bootloader target has support for symbolic links: (operating-system (bootloader (bootloader-configuration (bootloader (efi-bootloader-chain grub-efi-netboot-removable-bootloader #:packages (list my-firmware-package my-u-boot-package) #:files (list (plain-file "config.txt" "kernel=u-boot.bin")) #:hooks my-special-bootloader-profile-manipulator)) (targets '("/booti/efi")) …)) …) * doc/guix.texi (Bootloader Configuration): Describe the new ‘grub-efi-netboot-removable-bootloader’. Mention the file names used and that the UEFI Boot Manager is not modified. Advise to disable write-access over TFTP. * gnu/bootloader.scm (efi-bootloader-profile): Allow a list of packages and collect everything directly in the profile, avoiding a separate collection directory. Renamed the profile from "bootloader-profile" to "efi-bootloader-profile". [bootloader-collection]: Rename to... [efi-bootloader-profile-hook]: ... this and remove unused modules. Do not create the now extraneous collection directory. (efi-bootloader-chain): Add PACKAGES and DISK-IMAGE-INSTALLER arguments. Remove handling of the collection directory, now only calling the given installer procedure. * gnu/bootloader/grub.scm (make-grub-efi-netboot-installer): New helper. (make-grub-configuration): New helper based on (grub-configuration-file). Add a GRUB argument, fix indentation, remove previous code retrieving GRUB from CONFIG. (grub-configuration-file): Make use of make-grub-configuration. (grub-efi-configuration-file): New procedure. (grub-cfg): New variable to replace "/boot/grub/grub.cfg". (install-grub-efi-netboot): Remove, splitting logic to... (make-grub-efi-netboot-installer): ... this new helper procedure, as well as to make-grub-efi-netboot, added below. (grub-bootloader): Adjust to use the GRUB-CFG. (grub-efi-bootloader): Likewise. Removed inheritance and declare all fields explicitly. (make-grub-efi-netboot-bootloader): New procedure. (grub-efi-netboot-bootloader): Use it. (grub-efi-netboot-removable-bootloader): New variable. * gnu/packages/bootloaders.scm (make-grub-efi-netboot): New procedure. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-08gnu: bootloader: grub: Add support for chain-loader.tiantian
* gnu/bootloader/grub.scm (grub-configuration-file): Add support for chain-loader. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-08-30bootloader: Add device-tree-support? option.Reza Alizadeh Majd
In some specific cases where the device tree file is already loaded in RAM, it can be preferable that the bootloader does not try to use a device tree from the Linux kernel tree. * gnu/bootloader.scm (<bootloader-configuration>)[device-tree-support?]: New field. * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Add FDTDIR line based on <device-tree-support?> field of <bootloader-configuration>. * doc/guix.texi (Bootloader Configuration)[device-tree-support?]: Add documentation for the new field.
2022-06-24image: Add support for 32bit UEFI.Denis 'GNUtoo' Carikli
* gnu/bootloader/grub.scm (grub-efi32-bootloader): New variable. (install-grub-efi32): New variable. * gnu/build/bootloader.scm (install-efi): Add a 'targets' keyword argument. (install-efi-loader): Likewise. * gnu/build/image.scm (initialize-efi32-partition): New procedure. * gnu/packages/bootloaders.scm (grub-efi32): New variable. * gnu/system/image.scm (esp32-partition): New variable (efi32-disk-image): New variable. (efi32-raw-image-type): New variable. (system-disk-image)[partition-image]: Set '#:grub-efi32' when calling the partition initializer. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-06-06bootloader: grub: Add removable grub-efi bootloader option.Karl Hallsby
For single-disk installs (external USBs) and for amnesiac UEFIs, Guix is not found using its default Grub EFI bootloader location of /boot/efi/EFI/Guix/grubx64.efi means the Guix install will not be found. To handle this, we can place the bootloader file in the UEFI specification location, overwriting any other OS that may have placed a file there. This location is namely /boot/efi/EFI/BOOT/BOOTX64.efi. Grub has explicit support for this location/situation with the `--removable` flag. * gnu/bootloader/grub.scm (install-grub-efi-removable) (grub-efi-removable-bootloader): New variables. * doc/guix.texi (Bootloader Configuration): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-13bootloader: grub: Fix serial mode.Mathieu Othacehe
* gnu/bootloader/grub.scm (grub-setup-io): Fix serial mode display by declaring the serial property before the terminal_input and terminal_output properties.
2021-12-01gnu: system: Add LUKS2 support for the root file system.Josselin Poiret
* gnu/bootloader/grub.scm (grub-configuration-file): Add 'insmod luks2'. * gnu/system/mapped-devices.scm (open-luks-device): Create '/run/cryptsetup/' directory. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-29Migrate to the new 'targets' field of bootloader-configuration.Maxim Cournoyer
The old 'target' field is deprecated; adjust the sources to use the new 'targets' one instead. * doc/guix-cookbook.texi<target>: Replace by 'targets'. * gnu/bootloader/grub.scm: Likewise. * gnu/installer/parted.scm: Likewise. * gnu/machine/digital-ocean.scm: Likewise. * gnu/system/examples/asus-c201.tmpl: Likewise * gnu/system/examples/bare-bones.tmpl: Likewise * gnu/system/examples/bare-hurd.tmpl: Likewise * gnu/system/examples/beaglebone-black.tmpl: Likewise * gnu/system/examples/desktop.tmpl: Likewise * gnu/system/examples/docker-image.tmpl: Likewise * gnu/system/examples/lightweight-desktop.tmpl: Likewise * gnu/system/examples/vm-image.tmpl: Likewise * gnu/system/examples/yggdrasil.tmpl: Likewise * gnu/system/hurd.scm: Likewise * gnu/system/images/hurd.scm: Likewise * gnu/system/images/novena.scm: Likewise * gnu/system/images/pine64.scm: Likewise * gnu/system/images/pinebook-pro.scm: Likewise * gnu/system/images/rock64.scm: Likewise * gnu/system/install.scm: Likewise * gnu/system/vm.scm: Likewise * gnu/tests.scm: Likewise * gnu/tests/ganeti.scm: Likewise * gnu/tests/install.scm: Likewise * gnu/tests/nfs.scm: Likewise * gnu/tests/telephony.scm: Likewise * tests/boot-parameters.scm: Likewise * tests/system.scm: Likewise
2021-05-29gnu: bootloader: Fix install-allwinner64-u-boot.Vagrant Cascadian
This fixes boot breakage introduced in commit: a65c935e29766940148d52b8116634b1e1cbcba6 Multiple files were still needed, but the filenames changed. * gnu/bootloader/u-boot.scm (install-allwinner64-u-boot): Update to use both SPL and u-boot files with new filenames.
2021-04-10bootloader: grub: Fix typo in docstring.Tobias Geerinckx-Rice
* gnu/bootloader/grub.scm (install-grub-efi-netboot): Fix typo.
2021-02-08gnu: bootloader: Update install-allwinner64-u-boot.Vagrant Cascadian
* gnu/bootloader/u-boot.scm (install-allwinner64-u-boot): Update to use a single file to install.
2021-02-08gnu: u-boot-puma-rk3399: Switch to using arm-trusted-firmware-rk3399.Vagrant Cascadian
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399)[native-inputs]: Add arm-trusted-firmware-rk3399. Remove arm-trusted-firmware-puma-rk3399 and rk3399-cortex-m0. * gnu/packages/firmware.scm (arm-trusted-firmware-puma-rk3399, rk3399-cortex-m0): Remove obsolete variables. * gnu/bootloader/u-boot.scm (install-puma-rk3399-u-boot): Install idbloader.img.
2021-01-17gnu: grub: Use installed unicode font.Stefan
* gnu/bootloader/grub.scm (setup-gfxterm): Remove parameter font-file. Refer to the installed font in /boot, not in the store. (font-file): Delete obsolete function. (install-grub): When populating a disk-image, install the unicode font, too. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-21system: Allow separated /boot and encrypted root.Miguel Ángel Arruga Vivas
* gnu/bootloader/grub.scm (grub-configuration-file): New parameter store-crypto-devices. [crypto-devices]: New helper function. [builder]: Use crypto-devices. * gnu/machine/ssh.scm (roll-back-managed-host): Use boot-parameters-store-crypto-devices to provide its contents to the bootloader configuration generation process. * gnu/tests/install.scm (%encrypted-root-not-boot-os, %encrypted-root-not-boot-os): New os declaration. (%encrypted-root-not-boot-installation-script): New script, whose contents were initially taken from %encrypted-root-installation-script. (%test-encrypted-root-not-boot-os): New test. * gnu/system.scm (define-module): Export operating-system-bootoader-crypto-devices and boot-parameters-store-crypto-devices. (<boot-parameters>): Add field store-crypto-devices. (read-boot-parameters): Parse store-crypto-devices field. [uuid-sexp->uuid]: New helper function extracted from device-sexp->device. (operating-system-bootloader-crypto-devices): New function. (operating-system-bootcfg): Use operating-system-bootloader-crypto-devices to provide its contents to the bootloader configuration generation process. (operating-system-boot-parameters): Add store-crypto-devices to the generated boot-parameters. (operating-system-boot-parameters-file): Likewise to the file with the serialized structure. * guix/scripts/system.scm (reinstall-bootloader): Use boot-parameters-store-crypto-devices to provide its contents to the bootloader configuration generation process. * tests/boot-parameters.scm (%default-store-crypto-devices): New variable. (%grub-boot-parameters, test-read-boot-parameters): Use %default-store-crypto-devices. (tests store-crypto-devices): New tests.
2020-12-15Revert "gnu: grub: Fix unicode font loading when booting over TFTP."Ludovic Courtès
This reverts commit 03fb57ff77b57de510b59485845ed7cb4e0a77a7, which breaks most system tests. Specifically, grub.cfg.drv fails to build: ERROR: In procedure canonicalize-path: In procedure canonicalize-path: No such file or directory
2020-12-14gnu: grub: Fix unicode font loading when booting over TFTP.Stefan
* gnu/bootloader/grub.scm (eye-candy)(font-file): Fix unicode font loading when booting over TFTP. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-11-17bootloader: grub: Skip install-grub-efi when producing a disk image.Maxim Cournoyer
Fixes <http://issues.guix.gnu.org/44353>. Every bootloader should try their best to install themselves using only the MOUNT-POINT and otherwise do nothing. This requirement comes from the necessity to call INSTALL-GRUB when installing the (non-EFI) GRUB bootloader, which needs to populate the root file system with extra modules that cannot be fit in the core.img file, limited in size to 491520 bytes (by the i386-pc format required for legacy BIOS compatibility). As introducing bootloader knowledge at the level of the image code is undesirable, every bootloader should be adapted to support this fall-back for their installation procedure (TODO). * gnu/bootloader/grub.scm (install-grub-efi)[efi-dir]: Skip when the EFI-DIR argument is set to #f.
2020-11-01system: Generate grub locale directory for grub.cfg.Miguel Ángel Arruga Vivas
* gnu/bootloader/grub.scm (grub-locale-directory): New function. (grub-configuration-file)[locale-config]: Use grub-locale-directory and avoid the extra search when eye-candy have performed it.
2020-10-30system: Fix dependency for grub.cfg generation.Miguel Ángel Arruga Vivas
* gnu/bootloader/grub.scm (eye-candy)[font-file]: Use the bootloader package provided with the configuration.
2020-10-30system: Fix grub keymap with store in btrfs subvolume.Miguel Ángel Arruga Vivas
* gnu/bootloader/grub.scm (grub-configuration-file) [keyboard-layout-config]: Use normalize-file.