@@ -25,7 +25,22 @@ pub(crate) async fn initialize_composefs_repository(
2525 root_setup : & RootSetup ,
2626 allow_missing_fsverity : bool ,
2727) -> Result < ( String , impl FsVerityHashValue ) > {
28+ const COMPOSEFS_REPO_INIT_JOURNAL_ID : & str = "5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a9" ;
29+
2830 let rootfs_dir = & root_setup. physical_root ;
31+ let image_name = & state. source . imageref . name ;
32+ let transport = & state. source . imageref . transport ;
33+
34+ tracing:: info!(
35+ message_id = COMPOSEFS_REPO_INIT_JOURNAL_ID ,
36+ bootc. operation = "repository_init" ,
37+ bootc. source_image = %image_name,
38+ bootc. transport = %transport,
39+ bootc. allow_missing_fsverity = allow_missing_fsverity,
40+ "Initializing composefs repository for image {}:{}" ,
41+ transport,
42+ image_name
43+ ) ;
2944
3045 crate :: store:: ensure_composefs_dir ( rootfs_dir) ?;
3146
@@ -80,6 +95,19 @@ pub(crate) async fn pull_composefs_repo(
8095 Sha512HashValue ,
8196 crate :: store:: ComposefsFilesystem ,
8297) > {
98+ const COMPOSEFS_PULL_JOURNAL_ID : & str = "4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a9f8" ;
99+
100+ tracing:: info!(
101+ message_id = COMPOSEFS_PULL_JOURNAL_ID ,
102+ bootc. operation = "pull" ,
103+ bootc. source_image = image,
104+ bootc. transport = transport,
105+ bootc. allow_missing_fsverity = allow_missing_fsverity,
106+ "Pulling composefs image {}:{}" ,
107+ transport,
108+ image
109+ ) ;
110+
83111 let rootfs_dir = Dir :: open_ambient_dir ( "/sysroot" , ambient_authority ( ) ) ?;
84112
85113 let mut repo = open_composefs_repo ( & rootfs_dir) . context ( "Opening composefs repo" ) ?;
@@ -93,7 +121,12 @@ pub(crate) async fn pull_composefs_repo(
93121 . await
94122 . context ( "Pulling composefs repo" ) ?;
95123
96- tracing:: info!( "ID: {id}, Verity: {}" , verity. to_hex( ) ) ;
124+ tracing:: info!(
125+ message_id = COMPOSEFS_PULL_JOURNAL_ID ,
126+ id = id,
127+ verity = verity. to_hex( ) ,
128+ "Pulled image into repository"
129+ ) ;
97130
98131 let mut repo = open_composefs_repo ( & rootfs_dir) ?;
99132 repo. set_insecure ( allow_missing_fsverity) ;
0 commit comments