particle-os-cli/process/drivers/opts.rs
Gerald Pinder 3a0be4099a
feat: Add bootc support (#448)
Adds support for using `bootc` as the preferred method for booting from
a locally created image. This new method gets rid of the need to create
a tarball and move it to the correct place and instead it will make use
of `podman scp` which copies the image to the root `containers-storage`
and then has `rpm-ostree` and `bootc` boot from that store.

Closes #418 
Closes #200
2025-08-09 14:05:59 -04:00

33 lines
580 B
Rust

use clap::ValueEnum;
pub use boot::*;
pub use build::*;
pub use ci::*;
pub use inspect::*;
pub use rechunk::*;
pub use run::*;
pub use signing::*;
mod boot;
mod build;
mod ci;
mod inspect;
mod rechunk;
mod run;
mod signing;
#[derive(Debug, Copy, Clone, Default, ValueEnum)]
pub enum CompressionType {
#[default]
Gzip,
Zstd,
}
impl std::fmt::Display for CompressionType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str(match self {
Self::Zstd => "zstd",
Self::Gzip => "gzip",
})
}
}