Skip to content

Commit

Permalink
Merge pull request coreos#4510 from cgwalters/add-repair-interface
Browse files Browse the repository at this point in the history
main: Update ostree-ext, add provisional-repair entrypoint
  • Loading branch information
jmarrero authored Jul 21, 2023
2 parents 4be80b0 + 53fb8c7 commit 41ab2f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 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 Makefile-rpm-ostree.am
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ install-rpmostree-hook:
install -m 0755 -t $(DESTDIR)$(bindir) rpm-ostree
install -d -m 0755 $(ostreeextdir)
ln -Tsr -f $(DESTDIR)$(bindir)/rpm-ostree $(ostreeextdir)/ostree-ima-sign
ln -Tsr -f $(DESTDIR)$(bindir)/rpm-ostree $(ostreeextdir)/ostree-provisional-repair
ln -Tsr -f $(DESTDIR)$(bindir)/rpm-ostree $(ostreeextdir)/ostree-container
INSTALL_EXEC_HOOKS += install-rpmostree-hook

Expand Down
4 changes: 3 additions & 1 deletion rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ async fn dispatch_ostree_ext(args: Vec<String>) -> Result<i32> {
/// Dispatch multicall binary to relevant logic, based on callname from `argv[0]`.
async fn dispatch_multicall(callname: String, args: Vec<String>) -> Result<i32> {
match callname.as_str() {
"ostree-container" | "ostree-ima-sign" => dispatch_ostree_ext(args).await,
"ostree-container" | "ostree-ima-sign" | "ostree-provisional-repair" => {
dispatch_ostree_ext(args).await
}
_ => inner_async_main(args).await, // implicitly includes "rpm-ostree"
}
}
Expand Down

0 comments on commit 41ab2f4

Please sign in to comment.