From 89afd9a6117bed88cfacae90cafb64535f341d3c Mon Sep 17 00:00:00 2001 From: UsernameSwift Date: Sat, 25 Jun 2022 10:14:37 -0400 Subject: [PATCH] Undid changes for unakite that weren't needed --- src/functions/unakite.rs | 2 +- src/internal/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions/unakite.rs b/src/functions/unakite.rs index 089d5b0..0391eb0 100644 --- a/src/functions/unakite.rs +++ b/src/functions/unakite.rs @@ -144,7 +144,7 @@ pub fn remount(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str pub fn setup_unakite(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str) { log::debug!("Setting up Unakite"); remount(root, oldroot, efi, efidir, bootdev, true); - base::install_base_packages("kernel".to_string()); + base::install_base_packages("linux".to_string()); base::genfstab(); locale::set_locale("en_US.UTF-8 UTF-8".to_string()); locale::set_timezone("Europe/Berlin"); // TODO: get the proper timezone diff --git a/src/internal/config.rs b/src/internal/config.rs index 1b7cd99..bdf217a 100755 --- a/src/internal/config.rs +++ b/src/internal/config.rs @@ -107,7 +107,7 @@ pub fn read_config(configpath: PathBuf) { &mut partitions, config.unakite.enable ); - base::install_base_packages(kernel); + base::install_base_packages(config.kernel); base::genfstab(); println!(); log::info!("Installing bootloader : {}", config.bootloader.r#type);