From 8081ead7277e554fd745f6b19f779d48304a3511 Mon Sep 17 00:00:00 2001 From: Tio TROM Date: Mon, 18 Oct 2021 15:10:25 +0200 Subject: [PATCH] sync with manjaro's settings --- calamares/modules/bootloader.conf | 54 +++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/calamares/modules/bootloader.conf b/calamares/modules/bootloader.conf index eda0392..9f9ad84 100644 --- a/calamares/modules/bootloader.conf +++ b/calamares/modules/bootloader.conf @@ -1,15 +1,57 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +# +# Bootloader configuration. The bootloader is installed to allow +# the system to start (and pick one of the installed operating +# systems to run). --- +# Define which bootloader you want to use for EFI installations +# Possible options are 'grub', 'sb-shim' and 'systemd-boot'. efiBootLoader: "grub" -kernel: "/vmlinuz-5.10-x86_64" -img: "/initramfs-5.10-x86_64.img" -fallback: "/initramfs-5.10-x86_64-fallback.img" + +# systemd-boot configuration files settings, set kernel and initramfs file names +# and amount of time before default selection boots +kernel: "_ALL_kver_" +img: "_default_image_" +fallback: "_fallback_image_" timeout: "10" -kernelLine: ", with linux510" -fallbackKernelLine: ", with linux510 (fallback initramfs)" + +# Optionally set the menu entry name and kernel name to use in systemd-boot. +# If not specified here, these settings will be taken from branding.desc. +# +# bootloaderEntryName: "Manjaro" +kernelLine: ", with _manjaro_kernel_" +fallbackKernelLine: ", with _manjaro_kernel_ (fallback initramfs)" + +# GRUB 2 binary names and boot directory +# Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names. +# These names are also used when using sb-shim, since that needs some +# GRUB functionality (notably grub-probe) to work. As needed, you may use +# complete paths like `/usr/bin/efibootmgr` for the executables. +# grubInstall: "grub-install" grubMkconfig: "grub-mkconfig" grubCfg: "/boot/grub/grub.cfg" grubProbe: "grub-probe" efiBootMgr: "efibootmgr" -#efiBootloaderId: "dirname" + +# Optionally set the bootloader ID to use for EFI. This is passed to +# grub-install --bootloader-id. +# +# If not set here, the value from bootloaderEntryName from branding.desc +# is used, with problematic characters (space and slash) replaced. +# +# The ID is also used as a directory name within the EFI environment, +# and the bootloader is copied from /boot/efi/EFI// . When +# setting the option here, keep in mind that the name is sanitized +# (problematic characters, see above, are replaced). +# +# efiBootloaderId: "dirname" + +# Optionally install a copy of the GRUB EFI bootloader as the EFI +# fallback loader (either bootia32.efi or bootx64.efi depending on +# the system). This may be needed on certain systems (Intel DH87MC +# seems to be the only one). If you set this to false, take care +# to add another module to optionally install the fallback on those +# boards that need it. installEFIFallback: true