mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
install: Fix cargo fmt
Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
committed by
John Eckersberg
parent
ffbc27376a
commit
2afa715f74
@@ -1796,14 +1796,20 @@ pub(crate) fn setup_composefs_bls_boot(
|
||||
|
||||
loader_entries_dir.atomic_write(
|
||||
// SAFETY: We set sort_key above
|
||||
format!("bootc-composefs-{}.conf", bls_config.sort_key.as_ref().unwrap()),
|
||||
format!(
|
||||
"bootc-composefs-{}.conf",
|
||||
bls_config.sort_key.as_ref().unwrap()
|
||||
),
|
||||
bls_config.to_string().as_bytes(),
|
||||
)?;
|
||||
|
||||
if let Some(booted_bls) = booted_bls {
|
||||
loader_entries_dir.atomic_write(
|
||||
// SAFETY: We set sort_key above
|
||||
format!("bootc-composefs-{}.conf", booted_bls.sort_key.as_ref().unwrap()),
|
||||
format!(
|
||||
"bootc-composefs-{}.conf",
|
||||
booted_bls.sort_key.as_ref().unwrap()
|
||||
),
|
||||
booted_bls.to_string().as_bytes(),
|
||||
)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user