|
|
@ -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
|
|
|
|