KERNEL_HELP_BUILD

Constant KERNEL_HELP_BUILD 

Source
pub const KERNEL_HELP_BUILD: &str = "Kernel to build (or, for a prebuilt \
     spec, acquire into the cache) — one of: \
     (1) a version (`6.14.2`, `6.15-rc3`), a `MAJOR.MINOR` prefix (`6.14`, \
     latest patch in that series), or a bare `MAJOR` prefix (`6`, latest \
     `6.x`); \
     (2) an inclusive version range (`6.11..6.14` or `6.11..=6.14` — builds \
     every stable/longterm release in the range); \
     (3) a source directory path (`./linux`, `~/linux`, or an absolute path; \
     a bare relative name like `linux` is read as a cache key, so prefix a \
     relative source dir with `./`); \
     (4) a git source (`git+URL#tag=NAME`, `git+URL#branch=NAME`, or \
     `git+URL#sha=<40-hex>`); \
     (5) a local kernel package (`*.rpm` / `*.deb` / `*.pkg.tar.zst`, one \
     file per `--kernel`); \
     or (6) a prebuilt distro kernel — `fedora` / `fedora-44` / `f44`, \
     `ubuntu` / `ubuntu-24.04` (resolves to the latest LTS HWE kernel), \
     `amazonlinux` / `amazonlinux-2023` / `al2023`, \
     `steamos` / `steamos-3.8`, or `gke` / `gke-129` (x86_64 only). Omitted, the latest \
     stable release is built. For a local package or distro spec, `build` \
     downloads/unpacks the prebuilt kernel into the cache rather than \
     compiling. A cache key (an already-built entry from `kernel list`) is \
     rejected — it names a built kernel, so there is nothing to build. Build \
     (or acquire) one kernel per invocation (or one range).";
Expand description

Help text for --kernel on kernel build (ktstr and cargo ktstr). Unlike KERNEL_HELP_NO_RAW, this surface builds a kernel rather than resolving one for a test run: it is NOT repeatable (one kernel or one range per invocation), and a cache key is rejected (a cache key names an already-built entry, so there is nothing to build). A source-directory path auto-builds; a version / range auto-downloads; a git source is fetched and built. Omitting --kernel builds the latest stable release.