Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 152 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ regex = "1.10.4"
rustix = { "version" = "1", features = ["use-libc", "thread", "net", "fs", "system", "process", "mount"] }
serde = "1.0.199"
serde_json = "1.0.116"
selinux = "=0.5.0"
shlex = "2.0"
similar-asserts = "2.0.0"
static_assertions = "1.1.0"
Expand Down
3 changes: 3 additions & 0 deletions contrib/packaging/bootc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ Source1: %{url}/releases/download/v%{version}/bootc-%{version}-vendor.tar
ExcludeArch: %{ix86}

BuildRequires: libzstd-devel
# selinux-sys generates libselinux bindings with bindgen at build time.
# bindgen requires libclang.
BuildRequires: clang-devel
BuildRequires: make
BuildRequires: ostree-devel
BuildRequires: openssl-devel
Expand Down
5 changes: 4 additions & 1 deletion crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ async fn async_main() -> Result<()> {

// As you can see, the role of this file is mostly to just be a shim
// to call into the code that lives in the internal shared library.
bootc_lib::cli::run_from_iter(std::env::args()).await
match bootc_lib::cli::run_from_iter(std::env::args()).await? {
bootc_lib::cli::CliExitStatus::Success => Ok(()),
bootc_lib::cli::CliExitStatus::PredicateFalse => std::process::exit(1),
}
}

/// Perform process global initialization, then create an async runtime
Expand Down
1 change: 1 addition & 0 deletions crates/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ regex = { workspace = true }
rustix = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
selinux = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["io-std", "time", "process", "rt", "net"] }
Expand Down
Loading