File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
crates/lib/src/bootc_composefs Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change
1
+ use std:: ffi:: OsStr ;
1
2
use std:: fs:: create_dir_all;
2
3
use std:: io:: Write ;
3
4
use std:: path:: Path ;
4
- use std:: ffi:: OsStr ;
5
5
6
6
use anyhow:: { anyhow, Context , Result } ;
7
7
use bootc_blockdev:: find_parent_devices;
@@ -567,6 +567,7 @@ pub(crate) fn setup_composefs_bls_boot(
567
567
}
568
568
569
569
/// Writes a PortableExecutable to ESP along with any PE specific or Global addons
570
+ #[ context( "Writing {file_path} to ESP" ) ]
570
571
fn write_pe_to_esp (
571
572
repo : & ComposefsRepository < Sha256HashValue > ,
572
573
file : & RegularFile < Sha256HashValue > ,
@@ -586,7 +587,8 @@ fn write_pe_to_esp(
586
587
if matches ! ( pe_type, PEType :: Uki ) {
587
588
let cmdline = uki:: get_cmdline ( & efi_bin) . context ( "Getting UKI cmdline" ) ?;
588
589
589
- let ( composefs_cmdline, insecure) = get_cmdline_composefs :: < Sha256HashValue > ( cmdline) ?;
590
+ let ( composefs_cmdline, insecure) =
591
+ get_cmdline_composefs :: < Sha256HashValue > ( cmdline) . context ( "Parsing composefs=" ) ?;
590
592
591
593
// If the UKI cmdline does not match what the user has passed as cmdline option
592
594
// NOTE: This will only be checked for new installs and now upgrades/switches
You can’t perform that action at this time.
0 commit comments