Undid changes for unakite that weren't needed

axtloss/rework-partitioning
UsernameSwift 2 years ago
parent e8d1fce55b
commit 89afd9a611

@ -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) { pub fn setup_unakite(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev: &str) {
log::debug!("Setting up Unakite"); log::debug!("Setting up Unakite");
remount(root, oldroot, efi, efidir, bootdev, true); remount(root, oldroot, efi, efidir, bootdev, true);
base::install_base_packages("kernel".to_string()); base::install_base_packages("linux".to_string());
base::genfstab(); base::genfstab();
locale::set_locale("en_US.UTF-8 UTF-8".to_string()); locale::set_locale("en_US.UTF-8 UTF-8".to_string());
locale::set_timezone("Europe/Berlin"); // TODO: get the proper timezone locale::set_timezone("Europe/Berlin"); // TODO: get the proper timezone

@ -107,7 +107,7 @@ pub fn read_config(configpath: PathBuf) {
&mut partitions, &mut partitions,
config.unakite.enable config.unakite.enable
); );
base::install_base_packages(kernel); base::install_base_packages(config.kernel);
base::genfstab(); base::genfstab();
println!(); println!();
log::info!("Installing bootloader : {}", config.bootloader.r#type); log::info!("Installing bootloader : {}", config.bootloader.r#type);

Loading…
Cancel
Save