From 40eb16a377566984de2149aaf2195f7b74c4f10a Mon Sep 17 00:00:00 2001 From: axtlos Date: Thu, 19 May 2022 19:28:16 +0200 Subject: [PATCH] copy jade.json to unakite --- src/functions/unakite.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/functions/unakite.rs b/src/functions/unakite.rs index 53a743b..35640dd 100644 --- a/src/functions/unakite.rs +++ b/src/functions/unakite.rs @@ -185,6 +185,16 @@ pub fn setup_unakite(root: &str, oldroot: &str, efi: bool, efidir: &str, bootdev users::root_pass("Cp7oN04ZY0PsA"); // unakite desktops::install_desktop_setup(DesktopSetup::Xfce); install(vec!["gparted", "firefox"]); + exec_eval( + exec( + "cp", + vec![ + String::from("/tmp/jade.json"), + String::from("/mnt/etc/installSettings.json"), + ] + ), + "Copy jade.json to /etc/installSettings.json in unakite", + ); remount(root, oldroot, efi, efidir, bootdev, false); exec_eval( exec_chroot(