about summary refs log tree commit diff
path: root/tvix/boot
diff options
context:
space:
mode:
authorConnor Brewster <cbrewster@hey.com>2023-09-27T23·07-0700
committerConnor Brewster <cbrewster@hey.com>2023-09-28T04·24+0000
commit053e41f4e53b590654f7cece5f84fdfd9dd20bf2 (patch)
tree6e8d3371495445031a470b56bdd724634a335ff0 /tvix/boot
parentde958ccf0172dfe43c3adcec624c03b1de70f8b3 (diff)
docs(tvix/boot): Update command to reflect new tvix/boot directory r/6667
This used to be in tvix/test but was moved to tvix/boot, but not all the
command were updated so they no longer work as documented.

This updates the commands to use the new tvix/boot directory.

Change-Id: I8658d928a152140df182c159bf98ea9d9ecd1302
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9482
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/boot')
-rw-r--r--tvix/boot/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/tvix/boot/README.md b/tvix/boot/README.md
index 79fca31ebc71..cf593dcc07ba 100644
--- a/tvix/boot/README.md
+++ b/tvix/boot/README.md
@@ -5,7 +5,7 @@ virtiofs.
 
 In the `tests/` subdirectory, there's some integration tests.
 
-## //tvix/tests:runVM
+## //tvix/boot:runVM
 A script spinning up a `tvix-store virtiofs` daemon, then starting a cloud-
 hypervisor VM.
 
@@ -52,7 +52,7 @@ pkill nar-bridge; pkill tvix-store
 Run the VM like this:
 
 ```
-CH_CMDLINE=tvix.shell mg run //tvix/tests:runVM --
+CH_CMDLINE=tvix.shell mg run //tvix/boot:runVM --
 ```
 
 You'll get dropped into an interactive shell, from which you can do things with
@@ -81,7 +81,7 @@ Run the VM like this:
 
 ```
 hello_cmd=$(mg build //third_party/nixpkgs:hello)/bin/hello
-CH_CMDLINE=tvix.run=$hello_cmd mg run //tvix/tests:runVM --
+CH_CMDLINE=tvix.run=$hello_cmd mg run //tvix/boot:runVM --
 ```
 
 Observe it executing the file (and closure) from the tvix-store:
@@ -106,7 +106,7 @@ init= cmdline option, and will switch_root to it.
 
 
 ```
-CH_CMDLINE=init=/nix/store/…-nixos-system-…/init mg run //tvix/tests:runVM --
+CH_CMDLINE=init=/nix/store/…-nixos-system-…/init mg run //tvix/boot:runVM --
 ```
 
 ```
@@ -133,4 +133,4 @@ starting systemd...
 [    0.980740] systemd[1]: systemd 253.6 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
 ```
 
-This effectively replaces the NixOS Stage 1 entirely.
\ No newline at end of file
+This effectively replaces the NixOS Stage 1 entirely.