@@ -622,13 +622,10 @@ async fn initialize_ostree_root_from_self(
622
622
options. kargs = Some ( kargs. as_slice ( ) ) ;
623
623
options. target_imgref = Some ( & state. target_imgref ) ;
624
624
options. proxy_cfg = proxy_cfg;
625
- println ! ( "Creating initial deployment" ) ;
626
- let target_image = state. target_imgref . to_string ( ) ;
625
+ println ! ( "Deploying container image" ) ;
627
626
let imgstate =
628
627
ostree_container:: deploy:: deploy ( & sysroot, stateroot, & src_imageref, Some ( options) ) . await ?;
629
- let digest = imgstate. manifest_digest . as_str ( ) ;
630
- println ! ( "Installed: {target_image}" ) ;
631
- println ! ( " Digest: {digest}" ) ;
628
+ println ! ( "Deployment complete" ) ;
632
629
633
630
sysroot. load ( cancellable) ?;
634
631
let deployment = sysroot
@@ -1048,7 +1045,10 @@ async fn prepare_install(
1048
1045
let ( override_disable_selinux, setenforce_guard) =
1049
1046
reexecute_self_for_selinux_if_needed ( & source, config_opts. disable_selinux ) ?;
1050
1047
1051
- println ! ( "Installing: {:#}" , & target_imgref) ;
1048
+ println ! ( "Installing image: {:#}" , & target_imgref) ;
1049
+ if let Some ( digest) = source. digest . as_deref ( ) {
1050
+ println ! ( "Digest: {digest}" ) ;
1051
+ }
1052
1052
1053
1053
let install_config = config:: load_config ( ) ?;
1054
1054
tracing:: debug!( "Loaded install configuration" ) ;
0 commit comments