Debug Build
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 2m59s
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 2m59s
This commit is contained in:
parent
84638cbb9a
commit
afad8be554
2
.github/release-canary-v3
vendored
2
.github/release-canary-v3
vendored
@ -1 +1 @@
|
|||||||
2
|
3
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
pika-installer-gtk4 (1.0.2-101pika1) pika; urgency=low
|
pika-installer-gtk4 (1.0.2-101pika2) pika; urgency=low
|
||||||
|
|
||||||
* Just rebuild in OS 4
|
* Just rebuild in OS 4
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ pub fn create_installation_script(
|
|||||||
partition_method_manual_fstab_entry_array_refcell: &Rc<RefCell<Vec<FstabEntry>>>,
|
partition_method_manual_fstab_entry_array_refcell: &Rc<RefCell<Vec<FstabEntry>>>,
|
||||||
partition_method_manual_luks_enabled_refcell: &Rc<RefCell<bool>>,
|
partition_method_manual_luks_enabled_refcell: &Rc<RefCell<bool>>,
|
||||||
partition_method_manual_crypttab_entry_array_refcell: &Rc<RefCell<Vec<CrypttabEntry>>>,
|
partition_method_manual_crypttab_entry_array_refcell: &Rc<RefCell<Vec<CrypttabEntry>>>,
|
||||||
) {
|
) -> String {
|
||||||
let mut final_script = String::new();
|
let mut final_script = String::new();
|
||||||
|
|
||||||
let standard_installation_format = strfmt::strfmt(
|
let standard_installation_format = strfmt::strfmt(
|
||||||
@ -428,5 +428,5 @@ touch /tmp/pika-installer-gtk4-swaplist
|
|||||||
_ => panic!()
|
_ => panic!()
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("{}", final_script)
|
final_script
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,10 @@ use glib::{clone, closure_local};
|
|||||||
use gtk::{gio, glib};
|
use gtk::{gio, glib};
|
||||||
use std::{cell::RefCell, fs, ops::Deref, path::Path, process::Command, rc::Rc};
|
use std::{cell::RefCell, fs, ops::Deref, path::Path, process::Command, rc::Rc};
|
||||||
|
|
||||||
|
/// DEBUG
|
||||||
|
use duct::cmd;
|
||||||
|
/// DEBUG END
|
||||||
|
|
||||||
pub fn installation_summary_page(
|
pub fn installation_summary_page(
|
||||||
main_carousel: &adw::Carousel,
|
main_carousel: &adw::Carousel,
|
||||||
language_changed_action: &gio::SimpleAction,
|
language_changed_action: &gio::SimpleAction,
|
||||||
@ -102,6 +106,7 @@ pub fn installation_summary_page(
|
|||||||
partition_method_manual_crypttab_entry_array_refcell,
|
partition_method_manual_crypttab_entry_array_refcell,
|
||||||
move |_|
|
move |_|
|
||||||
{
|
{
|
||||||
|
let big_cmd = cmd!("bash", "-c",
|
||||||
installation_progress_page::create_installation_script(
|
installation_progress_page::create_installation_script(
|
||||||
&language_selection_text_refcell,
|
&language_selection_text_refcell,
|
||||||
&keymap_selection_text_refcell,
|
&keymap_selection_text_refcell,
|
||||||
@ -116,7 +121,9 @@ pub fn installation_summary_page(
|
|||||||
&partition_method_manual_fstab_entry_array_refcell,
|
&partition_method_manual_fstab_entry_array_refcell,
|
||||||
&partition_method_manual_luks_enabled_refcell,
|
&partition_method_manual_luks_enabled_refcell,
|
||||||
&partition_method_manual_crypttab_entry_array_refcell,
|
&partition_method_manual_crypttab_entry_array_refcell,
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
assert!(big_cmd.run().is_ok());
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user