|
|
@ -58,7 +58,6 @@ pub fn install_bootloader_efi(efidir: PathBuf) {
|
|
|
|
"grub",
|
|
|
|
"grub",
|
|
|
|
"efibootmgr",
|
|
|
|
"efibootmgr",
|
|
|
|
"grub-btrfs",
|
|
|
|
"grub-btrfs",
|
|
|
|
"crystal-grub-theme",
|
|
|
|
|
|
|
|
"os-prober",
|
|
|
|
"os-prober",
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
let efidir = std::path::Path::new("/mnt").join(efidir);
|
|
|
|
let efidir = std::path::Path::new("/mnt").join(efidir);
|
|
|
@ -89,13 +88,6 @@ pub fn install_bootloader_efi(efidir: PathBuf) {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
"install grub as efi without --removable",
|
|
|
|
"install grub as efi without --removable",
|
|
|
|
);
|
|
|
|
);
|
|
|
|
files_eval(
|
|
|
|
|
|
|
|
append_file(
|
|
|
|
|
|
|
|
"/mnt/etc/default/grub",
|
|
|
|
|
|
|
|
"GRUB_THEME=\"/usr/share/grub/themes/crystal/theme.txt\"",
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
"enable crystal grub theme",
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
exec_eval(
|
|
|
|
exec_eval(
|
|
|
|
exec_chroot(
|
|
|
|
exec_chroot(
|
|
|
|
"grub-mkconfig",
|
|
|
|
"grub-mkconfig",
|
|
|
|