Skip to content

Commit

Permalink
Deprecate cliwrap
Browse files Browse the repository at this point in the history
I'm looking at handling kernel overrides:
- coreos#4726
- https://gitlab.com/fedora/bootc/tracker/-/issues/22

And I think the cliwrap thing turned out to be the wrong approach
for this.

There's consensus now it was the wrong approach, so deprecate it.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Sep 12, 2024
1 parent 0232548 commit 4f2506a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/cliwrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ parent: Experimental features
nav_order: 1
---

# Wrapping other CLI entrypoints
# DEPRECATED: Wrapping other CLI entrypoints

**This functionality is now deprecated and slated for removal**.

The below text documents the functionality as it exists today for historical reference.

---

A simple way to describe the goal of rpm-ostree is to convert the default model for operating system updates to be "image based".

Expand Down
4 changes: 4 additions & 0 deletions rust/src/treefile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,10 @@ impl Treefile {
deprecated = true;
eprintln!("warning: initramfs-args is deprecated, use /etc/dracut.conf.d")
}
if self.get_cliwrap() {
deprecated = true;
eprintln!("warning: cliwrap is deprecated and slated for removal");
}
if deprecated {
std::thread::sleep(std::time::Duration::from_secs(3));
}
Expand Down

0 comments on commit 4f2506a

Please sign in to comment.