diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index ecc3b53..f274e24 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -4,7 +4,7 @@ env: DEBIAN_FRONTEND: noninteractive GET_BASE_DISK_LOG: debug REG_USER: "robot$debian+bot_actions_2024" - ZSTD_LV: 18 + ZSTD_LV: 22 on: push: diff --git a/assets/ci/build.md b/assets/ci/build.md index 71d313f..e3bfd05 100644 --- a/assets/ci/build.md +++ b/assets/ci/build.md @@ -3,7 +3,7 @@ ## get-base-disk ```sh -env CARGO_TARGET_DIR=/tmp/musl cross build --profile thin --target=x86_64-unknown-linux-musl -v +env CARGO_TARGET_DIR=/tmp/musl cross build --package get-base-disk --profile thin --target=x86_64-unknown-linux-musl -v cp /tmp/musl/x86_64-unknown-linux-musl/thin/get-base-disk ./tmp.get-base-disk diff --git a/crates/get-base-disk/src/cli.rs b/crates/get-base-disk/src/cli.rs index 5448f4c..0d6a873 100644 --- a/crates/get-base-disk/src/cli.rs +++ b/crates/get-base-disk/src/cli.rs @@ -18,11 +18,11 @@ pub(crate) const PKG_VERSION: &str = env!("CARGO_PKG_VERSION"); /// Example: --os debian --ver 2.2 --tag base --obtain --build pub(crate) struct Cli { /// OS Name, e.g. debian, ubuntu - #[arg(long, id = "OS_Name")] + #[arg(long, id = "OS_Name", default_value = "debian")] os: String, /// Version, e.g. 1.3, 2.0, 22.04 - #[arg(long)] + #[arg(long, default_value = "2.1")] ver: String, /// e.g. base