WULT-DEPLOY(1)
π
WULT-DEPLOY(1) β ok bestie, let's talk wult deploy β¨
Manual page for the deploy command of wult. It's dated 2024-03-08 and it's lowkey one of the most important pages in the whole wult cinematic universe. Sit down, grab a boba, we're doing this. π§
πΈ NAME πΈ
wult deploy β compile and deploy wult helpers and drivers to the SUT. That's the whole vibe. π
π SYNOPSIS π
wult deploy [-h] [-q] [-d] [--kernel-src KSRC] [--local-build]
[--tmpdir-path TMPDIR_PATH] [--keep-tmpdir] [-H HOSTNAME] [-U USERNAME]
[-K PRIVKEY] [-T TIMEOUT] [--skip-drivers]
β¨ DESCRIPTION β¨
Okay so here's the tea π«: this command compiles and deploys the wult helpers and drivers over to the SUT (that's the System Under Test, main character of the whole operation). And the SUT can be can be either local or a remote host β depends on whether you passed the -H option. Local bestie or long-distance bestie, your call. π
By default, everything gets built on the SUT itself. But if you want to build on the local system instead, --local-build is right there for you. β¨
Now, where do the drivers live? On the local host, they're searched for in these directories, in this exact order:
./drivers/idle$WULT_DATA_PATH/drivers/idle$HOME/.local/share/wult/drivers/idle/usr/local/share/wult/drivers/idle/usr/share/wult/drivers/idle
The wult tool also depends on the following helpers: wult-freq-helper. These helpers will be compiled on the SUT and deployed to the SUT. π οΈβ¨
The sources of the helpers are searched for in these paths, again in this exact order, on the local host:
./helpers$WULT_DATA_PATH/helpers$HOME/.local/share/wult/helpers/usr/local/share/wult/helpers/usr/share/wult/helpers
By default, helpers are deployed to the path defined by the WULT_HELPERSPATH environment variable. π But if that variable isn't defined? No stress β they land in $HOME/.local/bin, where $HOME is the home directory of user USERNAME on host HOST (peep the --host and --username options, they're the ones calling the shots here). π
π OPTIONS 'wult deploy' π
Every single one, no gatekeeping:
-hβ Show this help message and exit. π«Ά Your lil escape hatch.-qβ Be quiet. π€« Shhh. Minimal noise mode.-dβ Print debugging information. π For when you need to know everything.--kernel-src KSRCβ Path to the Linux kernel sources to build drivers against. The default is/lib/modules/$(uname -r)/buildon the SUT. π Heads up: if you used--local-build, then this path is considered to be on the local system, not the SUT. Keep track of where your feet are planted, bestie.--drivers-make-optsβ Options and variables to pass tomakewhen the drivers are built. For example, passCC=clang LLVM=1to use clang and LLVM tools for building the drivers (this is required when the kernel was build with clang/LLVM). π It's giving "I know exactly what I'm doing."--skip-driversβ Deploy the eBPF helper, but do not deploy the drivers. π¨ This is a debug and development option, do not use it for other purposes. Fr fr, it's not for your production era.--local-buildβ Build helpers and drivers locally, instead of building onHOSTNAME(the SUT). π Stay home, build at home.--tmpdir-path TMPDIR_PATHβ Whenwultis deployed, a random temporary directory is used. Use this option provide a custom path instead. It will be used as a temporary directory on both local and remote hosts. π This option is meant for debugging purposes.--keep-tmpdirβ Do not remove the temporary directories created while deployingwult. π Also meant for debugging purposes. Your lil temp files get to stay. π-H HOSTNAME,--host HOSTNAMEβ Name of the host to run the command on. π-U USERNAME,--username USERNAMEβ Name of the user to use for logging into the remote host over SSH. The default user name isroot. π-K PRIVKEY,--priv-key PRIVKEYβ Path to the private SSH key that should be used for logging into the remote host. By default the key is automatically found from standard paths like~/.ssh. π-T TIMEOUT,--timeout TIMEOUTβ SSH connect timeout in seconds, default is8. β±οΈ
π PSA for the real ones:--skip-drivers,--tmpdir-pathand--keep-tmpdirare all explicitly debugging-flavoured. The page says so. Don't get cute with them outside that context. π
And that's the whole page, bestie β no cap. π¦ This one lives in the wult manual, and its footer slot is just a lil empty () placeholder, so no version number to spill β but the date on the whole thing is 2024-03-08. Screenshot it, remember it, deploy it. π
β¨
π¦ where this page comes from
- fedora 43: wult 1.12.48-2.fc43 Β· BSD-3-Clause AND GPL-2.0-only
- fedora 44: wult 1.12.48-2.fc44 Β· BSD-3-Clause AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms