summary refs log tree commit diff
path: root/vm
Commit message (Collapse)AuthorAge
* Remove Nix files in copyPathToStoreAlyssa Ross2022-05-16
| | | | | | Nix files shouldn't be considered part of the sources, and so they should be filtered out. This way, changes to them (that don't change their meaning) won't force rebuilds.
* vm/app: fix make run-cloud-hypervisorAlyssa Ross2022-05-07
| | | | | | Whoops. Fixes: e64a796 ("host/appvm-lynx-vmm: reduce VM memory")
* vm: show the virtio console by defaultAlyssa Ross2022-05-07
| | | | | | | | | When I set the virtio console to go to a new PTY by default, it was because I was working on / testing patches for terminal emulators to get them to attach to PTYs and send resize events. Now that I'm not doing that so much, let's show the console intended for VM output by default, rather than requiring running another process to connect to it.
* Create /etc/s6-linux-init/env/ to silence warningAlyssa Ross2022-04-28
|
* Remove s6-portable-utilsAlyssa Ross2022-04-28
| | | | | Not worth pulling this in any more just for another mkdir implementation!
* Switch stage1 init to s6-linux-initAlyssa Ross2022-04-28
| | | | | | | The main improvement things brings is that it should resolve a rare race condition in early boot, where s6-rc-init would run before s6-svscan, and so the boot would hang because s6-rc would never end up properly running.
* Adapt to s6-linux-init structureAlyssa Ross2022-04-28
| | | | This is preparatory work before a switch to s6-linux-init.
* vm/sys/net: remove unnecessary tar commandAlyssa Ross2022-04-28
| | | | | We don't need to create the etc/service directory, because we're already including etc/service/getty-hvc0.
* Get rid of fstab.license filesAlyssa Ross2022-04-25
| | | | | | | These never needed to be separate. They were the result of some confusion while I was trying to hack on the Musl fstab parser, briefly broke comment parsing, and then didn't realise I'd introduced that breakage.
* Add fs_freq and fs_passno fields to fstab filesAlyssa Ross2022-04-25
| | | | | | | | | | | | | | | | | | These fields are pretty much obsolete and are supposed to be optional according to fstab(5), but upstream Musl requires them. Long ago, I wrote a patch[1] to fix it, sent it upstream, and then applied it in Spectrum's Nixpkgs as a temporary measure, to avoid churn in the fstab files, thinking it would quickly be applied upstream. But it has now been more than half a year since the last discussion on my patch. I do think it'll probably be accepted eventually, but at this point it's not worth patching Musl ourselves for to avoid the very minor churn of doing this change now, and reverting it when my patch is finally accepted. So just add the fields, and then we can drop the patch from our Nixpkgs, and then we won't have to rebuild the Musl-targetting compilers we could otherwise get from Hydra. [1]: https://inbox.vuxu.org/musl/20210915221155.3977763-4-hi@alyssa.is/
* Drop copyright notices from otherwise empty filesAlyssa Ross2022-04-23
| | | | The reuse tool is fortunately smart enough to ignore these.
* Don't assume /var/empty exists in MakefilesAlyssa Ross2022-04-10
| | | | | | | | It apparently doesn't on Ubuntu, and this way we also don't have to hack around it being missing in the Nix sandbox. Reported-by: Ville Ilvonen <ville.ilvonen@unikie.com> Message-Id: <20220406082038.4012718-1-hi@alyssa.is>
* vm: remove s6-mount everywhereAlyssa Ross2022-04-02
| | | | | | | | | | Problems with s6-mount: • s6-mount -a will fail if some filesystems have already been mounted • Does not support LABEL= device patterns. We also already have a mount implementation in Busybox, so standardising on that lets us drop the s6-linux-utils package entirely.
* Busybox modprobe is bannedAlyssa Ross2022-03-22
| | | | | | | | | | | | Trying to use modprobe from Busybox has caused nothing but problems. The latest issue is that it doesn't implement softdep at all. rootfs.ext4 before: 509M rootfs.ext4 after: 513M Thanks-to: Puck Meerburg <puck@puckipedia.com> Message-Id: <20220321140107.1043654-1-hi@alyssa.is> Tested-by: Ville Ilvonen <ville.ilvonen@unikie.com>
* vm: remove unused linux argumentsAlyssa Ross2022-03-05
| | | | | We take linux from buildPackages so don't need the separate linux argument.
* vm/app/catgirl: join the real IRC channelAlyssa Ross2022-02-27
|
* vm/app/*: make Make variable names more sensibleAlyssa Ross2022-02-16
| | | | These have nothing to do with s6-rc.
* vm/sys/net: remove unnecessary directory in outputAlyssa Ross2022-02-16
|
* host/rootfs: dynamically generate s6-rc servicesAlyssa Ross2022-02-14
| | | | | | | | This way, we don't allow arbitrary code from the ext partition to run on the host system, which gives us better integrity guarantees when paired with Secure Boot. This new scheme also makes it easy to introspect VMs, since they're defined using a very limited configuration language.
* Relicense Nix files to MITAlyssa Ross2022-01-11
| | | | | | | I don't think Nix files are likely to contain anything particularly worth protecting with copyleft, and I'd like to make code sharing with Nixpkgs as easy as possible, so I think it's a good idea to adopt the policy that Nix files are MIT-licensed by default to match Nixpkgs.
* Add missing copyright and license infoAlyssa Ross2022-01-11
|
* LICENSES: consolidateAlyssa Ross2022-01-11
|
* .gitignore: consolidateAlyssa Ross2022-01-11
|
* vm/sys/net: importAlyssa Ross2021-12-12
|\
| * vm/sys/net: move to monorepo pathAlyssa Ross2021-12-12
|
* vm/app/lynx: importAlyssa Ross2021-12-12
|\
| * vm/app/lynx: move to monorepo pathAlyssa Ross2021-12-12
|
* vm/app/catgirl: move to monorepo pathAlyssa Ross2021-12-12