Commit graph

12 commits

Author SHA1 Message Date
Daniel Barlow
a427b9da5e move s6-rc db creation to a module 2022-09-26 20:59:56 +01:00
Daniel Barlow
bd6cbd373f add config environment.etc which gets converted to pseudofiles 2022-09-26 20:46:28 +01:00
Daniel Barlow
1c14bb63fa callPackageify make-image.nix 2022-09-26 16:19:14 +01:00
Daniel Barlow
c6c6b51893 make s6-rc-database a package 2022-09-26 15:59:21 +01:00
Daniel Barlow
cd5afb22e7 remove static busybox 2022-09-26 14:46:06 +01:00
Daniel Barlow
d5ccecf038 make "shutdown" work
create a package for the s6-compatible shutdown/halt/poweroff
commands and put it on the path ahead of busybox
2022-09-26 14:13:23 +01:00
Daniel Barlow
edb701b87d set PATH for root user, mount /proc and /sys 2022-09-22 00:10:00 +01:00
Daniel Barlow
45025f128a switch to s6-linux-init and s6-rc
This is at the point where it runs a getty and a pile of s6-supervise
processes, though it doesn't seem to run the things being supervised
2022-09-21 23:01:21 +01:00
Daniel Barlow
6be5b90c96 boots to userland and runs busybox init 2022-09-20 23:04:08 +01:00
Daniel Barlow
83d576fb58 remove unused lets, add test case 2022-09-20 15:46:03 +01:00
Daniel Barlow
b38b0bd932 add rudimentary test harness, turn example-configuration into a test 2022-09-20 15:22:37 +01:00
Daniel Barlow
4b118bca19 generate a mips squashfs with some s6-rc services
haven't even tried booting it but I don't expect it to work. Needs

- s6-linux-init or some other pid 1 program
- a kernel
2022-09-19 23:51:38 +01:00