Skip to content

Commit 1526b8b

Browse files
committed
cli: Only detect containers, not ostree containers
Distinguishing isn't useful and we want to get away from having ostree repos in images anyways. Signed-off-by: Colin Walters <[email protected]>
1 parent a64ae89 commit 1526b8b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/lib/src/cli.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -867,11 +867,6 @@ fn prepare_for_write() -> Result<()> {
867867
if ENTERED.load(Ordering::SeqCst) {
868868
return Ok(());
869869
}
870-
if ostree_ext::container_utils::is_ostree_container()? {
871-
anyhow::bail!(
872-
"Detected container (ostree base); this command requires a booted host system."
873-
);
874-
}
875870
if ostree_ext::container_utils::running_in_container() {
876871
anyhow::bail!("Detected container; this command requires a booted host system.");
877872
}

0 commit comments

Comments
 (0)