(args: SetupArgs)
| 713 | } |
| 714 | |
| 715 | pub async fn cmd_sys_setup(args: SetupArgs) -> Result<()> { |
| 716 | let stage0 = Stage0::load(&args)?; |
| 717 | let vmm = stage0.host_api(); |
| 718 | let result = do_sys_setup(stage0).await; |
| 719 | if let Err(err) = &result { |
| 720 | vmm.notify_q("boot.error", &format!("{err:#}")).await; |
| 721 | } |
| 722 | result |
| 723 | } |
| 724 | |
| 725 | async fn do_sys_setup(stage0: Stage0<'_>) -> Result<()> { |
| 726 | if stage0.shared.app_compose.secure_time { |
no test coverage detected