File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1559,8 +1559,7 @@ async fn initialize_composefs_repository(
1559
1559
fn get_booted_bls ( ) -> Result < BLSConfig > {
1560
1560
let cmdline = crate :: kernel:: Cmdline :: from_proc ( ) ?;
1561
1561
let booted = cmdline
1562
- . iter ( )
1563
- . find ( |x| x. key == b"composefs" )
1562
+ . find ( "composefs" )
1564
1563
. ok_or_else ( || anyhow:: anyhow!( "Failed to find composefs parameter in kernel cmdline" ) ) ?;
1565
1564
1566
1565
for entry in std:: fs:: read_dir ( "/sysroot/boot/loader/entries" ) ? {
Original file line number Diff line number Diff line change @@ -393,8 +393,7 @@ async fn boot_entry_from_composefs_deployment(
393
393
pub ( crate ) async fn composefs_deployment_status ( ) -> Result < Host > {
394
394
let cmdline = crate :: kernel:: Cmdline :: from_proc ( ) ?;
395
395
let composefs_arg = cmdline
396
- . iter ( )
397
- . find ( |x| x. key == b"composefs" )
396
+ . find ( "composefs" )
398
397
. ok_or_else ( || anyhow:: anyhow!( "Failed to find composefs parameter in kernel cmdline" ) ) ?;
399
398
let booted_image_verity = composefs_arg
400
399
. value
You can’t perform that action at this time.
0 commit comments