summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-06-06 14:26:23 +0000
committerAlyssa Ross <hi@alyssa.is>2023-09-19 19:16:28 +0000
commit7a8c61dedcdfa61285f1d28e71332c72dd011614 (patch)
treea8b940eea13057def294e16dbfd8dfa12ae14cfb /host
parent07d39c6823f0ef89518c6d37cd763a0efbb41cb1 (diff)
downloadspectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.tar
spectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.tar.gz
spectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.tar.bz2
spectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.tar.lz
spectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.tar.xz
spectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.tar.zst
spectrum-7a8c61dedcdfa61285f1d28e71332c72dd011614.zip
vm/app/foot.nix: init
This demonstrates that, as a result of upstream developments, we are
now able to run clients without them freezing after a couple of
seconds [1], and without crashing if they use the keymap [2].

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=70d1ace56db6c79d39dbe9c0d5244452b67e2fde
[2]: https://chromium.googlesource.com/chromiumos/platform/crosvm/+/998597a1bd29432bdee28d298511549edff1434a

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'host')
-rw-r--r--host/initramfs/extfs.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/initramfs/extfs.nix b/host/initramfs/extfs.nix
index 174fc81..dd29866 100644
--- a/host/initramfs/extfs.nix
+++ b/host/initramfs/extfs.nix
@@ -10,6 +10,7 @@ let
   };
 
   appvm-catgirl = import ../../vm/app/catgirl.nix { inherit config; };
+  appvm-foot = import ../../vm/app/foot.nix { inherit config; };
   appvm-hello-wayland = import ../../vm/app/hello-wayland.nix { inherit config; };
   appvm-lynx = import ../../vm/app/lynx.nix { inherit config; };
   appvm-mg = import ../../vm/app/mg.nix { inherit config; };
@@ -18,13 +19,14 @@ in
 runCommand "ext.ext4" {
   nativeBuildInputs = [ e2fsprogs ];
 } ''
-  mkdir -p root/svc/data/appvm-{catgirl,hello-wayland,lynx,mg}
+  mkdir -p root/svc/data/appvm-{catgirl,foot,hello-wayland,lynx,mg}
   cd root
 
   tar -C ${netvm} -c data | tar -C svc -x
   chmod +w svc/data
 
   tar -C ${appvm-catgirl} -c . | tar -C svc/data/appvm-catgirl -x
+  tar -C ${appvm-foot} -c . | tar -C svc/data/appvm-foot -x
   tar -C ${appvm-hello-wayland} -c . | tar -C svc/data/appvm-hello-wayland -x
   tar -C ${appvm-lynx} -c . | tar -C svc/data/appvm-lynx -x
   tar -C ${appvm-mg} -c . | tar -C svc/data/appvm-mg -x