|
|
@ -18,9 +18,9 @@ pub enum Command {
|
|
|
|
#[clap(name = "partition")]
|
|
|
|
#[clap(name = "partition")]
|
|
|
|
Partition(PartitionArgs),
|
|
|
|
Partition(PartitionArgs),
|
|
|
|
|
|
|
|
|
|
|
|
/// Install base packages
|
|
|
|
/// Install base packages, optionally define a different kernel
|
|
|
|
#[clap(name = "install-base")]
|
|
|
|
#[clap(name = "install-base")]
|
|
|
|
InstallBase,
|
|
|
|
InstallBase(InstallBaseArgs),
|
|
|
|
|
|
|
|
|
|
|
|
/// Generate fstab file for mounting partitions
|
|
|
|
/// Generate fstab file for mounting partitions
|
|
|
|
#[clap(name = "genfstab")]
|
|
|
|
#[clap(name = "genfstab")]
|
|
|
@ -103,6 +103,12 @@ pub struct PartitionArgs {
|
|
|
|
pub partitions: Vec<Partition>,
|
|
|
|
pub partitions: Vec<Partition>,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Args)]
|
|
|
|
|
|
|
|
pub struct InstallBaseArgs {
|
|
|
|
|
|
|
|
#[clap(long)]
|
|
|
|
|
|
|
|
pub kernel: String,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Args)]
|
|
|
|
#[derive(Debug, Args)]
|
|
|
|
pub struct UnakiteArgs {
|
|
|
|
pub struct UnakiteArgs {
|
|
|
|
/// root device of unakite
|
|
|
|
/// root device of unakite
|
|
|
|