Skip to content

elmos kernel clone

Clone the Linux kernel source at a pinned tag and apply the macOS host
patches that elmos ships for that tag.
By default the clone is shallow (one commit, a few hundred MB instead of
several GB) and pinned to v6.18.
Examples:
elmos kernel clone # v6.18, shallow, patched
elmos kernel clone --ref v6.12 # another tag
elmos kernel clone --full # full history (needed for 'kernel switch')
elmos kernel clone [git-url] [flags]
--full Clone the full history instead of one commit
--no-patches Do not apply the built-in macOS host patches
--ref string Kernel tag or branch to check out (default "v6.18")
-c, --config string config file (default is elmos.yaml)
-e, --verbose enable verbose output

Generated from the elmos command definitions by elmos gendocs.