File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ anyhow = { workspace = true }
1919bootc-utils = { path = " ../utils" }
2020bootc-blockdev = { path = " ../blockdev" }
2121camino = { workspace = true , features = [" serde1" ] }
22- ostree-ext = { path = " ../ostree-ext" }
22+ ostree-ext = { path = " ../ostree-ext" , features = [ " bootc " ] }
2323chrono = { workspace = true , features = [" serde" ] }
2424clap = { workspace = true , features = [" derive" ," cargo" ] }
2525clap_mangen = { workspace = true , optional = true }
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ features = ["dox"]
7070docgen = [" clap_mangen" ]
7171dox = [" ostree/dox" ]
7272internal-testing-api = [" xshell" , " indoc" , " similar-asserts" ]
73+ # Enable calling back into bootc
74+ bootc = []
7375
7476[lints ]
7577workspace = true
Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ pub async fn deploy(
143143 // crates. We need an option to skip though so when the *main*
144144 // bootc install code calls this API, we don't do this as it
145145 // will have already been handled.
146+ // Note also we do this under a feature gate to ensure rpm-ostree
147+ // doesn't try to invoke this, as that won't work right now.
148+ #[ cfg( feature = "bootc" ) ]
146149 if !options. skip_completion {
147150 // Note that the sysroot is provided as `.` but we use cwd_dir to
148151 // make the process current working directory the sysroot.
You can’t perform that action at this time.
0 commit comments