revert removal of crystal-grub-theme

axtloss/rework-partitioning
axtloss 2 years ago committed by GitHub
parent a8a883980c
commit 74b85312fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,6 +58,7 @@ 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);
@ -88,6 +89,13 @@ 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",

Loading…
Cancel
Save