Skip to content

Commit 9243712

Browse files
After rebase fixes
Gate some lines behind composefs-backend feature Signed-off-by: Pragyan Poudyal <[email protected]>
1 parent 1d384c4 commit 9243712

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

crates/lib/src/bootloader.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ use fn_error_context::context;
77

88
use bootc_blockdev::{Partition, PartitionTable};
99
use bootc_mount as mount;
10+
11+
#[cfg(any(feature = "composefs-backend", feature = "install-to-disk"))]
1012
use bootc_mount::tempmount::TempMount;
1113

1214
use crate::utils;

crates/lib/src/install.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,10 @@ async fn prepare_install(
13221322
} else {
13231323
false
13241324
};
1325+
13251326
tracing::debug!("Composefs required: {composefs_required}");
1327+
1328+
#[cfg(feature = "composefs-backend")]
13261329
if composefs_required {
13271330
composefs_options.composefs_backend = true;
13281331
}

0 commit comments

Comments
 (0)