liminix/pkgs/limiswitch/default.nix
Raito Bezarius f0c4f15cf5
All checks were successful
build liminix / build_vm_qemu_mips (pull_request) Successful in 31s
limiswitch: init
Minimal features:

- Can connect over serial
- Assess the situation wrt to A/B.
- Copy store paths.
- Flash a partition with data, e.g. a kernel.
- Activate the system.

Next steps:

- Boot into a specific image (primary or secondary)
- SSH transport layer
- Agent
- Less hardcoding
- Even better error recovery in the IO layer of the InteractionChannel
- xmodem/ymodem/zmodem for serial file transfers
- U-Boot-based recovery via TFTP or in-bootloader flashing
- Integration with colmena custom activation protocol

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-09-21 22:26:42 +02:00

11 lines
156 B
Nix

{ pkgs ? import <nixpkgs> {} }:
{
shell = pkgs.mkShell {
buildInputs = with pkgs; [
cargo
rustc
pkg-config
udev
];
};
}