Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Sep 12, 2024
1 parent 8e1518a commit 0232548
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/treefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ It supports the following parameters:
rpm-ostree will replace binaries such as `/usr/bin/rpm` with
wrappers that intercept unsafe operations, or adjust functionality.

The default is `false` out of conservatism; you likely want to enable this.
This is deprecated and we now plan to land relevant functionality
in the upstream projects.

* `cliwrap-binaries`: array of strings, optional. An explicit list of binaries
to enable `cliwrap`. The current allowed set contains just one value: `kernel-install`.
Expand Down
3 changes: 3 additions & 0 deletions rust/src/cliwrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ pub fn entrypoint(args: &[&str]) -> Result<()> {

/// Write wrappers to the target root filesystem.
fn install_to_root(args: &[&str]) -> Result<()> {
crate::client::warn_future_incompatibility(
"cliwrap is deprecated; the replacement path is to get functionality into the relevant upstream projects.",
);
let root = args
.get(0)
.map(Utf8Path::new)
Expand Down

0 comments on commit 0232548

Please sign in to comment.