Commit graph

82 commits

Author SHA1 Message Date
Daniel Barlow
76243d306c remove checkedConfig, check all the config 2022-10-19 22:09:38 +01:00
Daniel Barlow
3ef30056c4 trim down the qemu kernel config
just retain the options we need to pass the tests
2022-10-18 22:28:07 +01:00
Daniel Barlow
77922c875b add per-device overlay
presently this is used to reference the appropriate kernel and (if
needed) openwrt source trees, but I would not be surprised if we find
other uses
2022-10-15 18:55:33 +01:00
Daniel Barlow
2f3072d7d5 enable /proc/config.gz
previous attempt hadn't noticed that it has a missing dependency
2022-10-05 21:50:10 +01:00
Daniel Barlow
e9f04931fa improve syntax for accessing service outputs 2022-10-02 16:35:55 +01:00
Daniel Barlow
2d7bb6b2fa twiddle docs 2022-10-02 14:47:35 +01:00
Daniel Barlow
da8866a01a first pass at a hostapd service, rough around the edges 2022-10-02 10:04:35 +01:00
Daniel Barlow
c320d0afc7 add dnsmasq and example config for it
would be good to move more of this into a module, but that
doesn't sit well with the (potential) ability to run more than one
dnsmasq service, as modules are singletons
2022-09-28 21:33:18 +01:00
Daniel Barlow
dfdaa27f39 make ppp log to stderr not syslog 2022-09-27 22:57:06 +01:00
Daniel Barlow
0632b5102e remove .service/.target/.bundle etc suffixes on service names
they don't seem to be providing value
2022-09-27 22:56:53 +01:00
Daniel Barlow
696bbe6521 rename systemPackages as defaultProfile.packages
it doesn't work the same way as in nixos, so don't name it the same way
2022-09-27 16:47:42 +01:00
Daniel Barlow
09a9dba963 export "dir" and "symlink" from pseudofiles package 2022-09-26 18:27:43 +01:00
Daniel Barlow
c6c6b51893 make s6-rc-database a package 2022-09-26 15:59:21 +01:00
Daniel Barlow
7803eebfd4 add a "route" service 2022-09-26 13:44:40 +01:00
Daniel Barlow
4bfba33170 handle case when ppp0 eists but is down 2022-09-26 12:11:44 +01:00
Daniel Barlow
cbee488d22 automated test for pppoe 2022-09-26 11:17:31 +01:00
Daniel Barlow
5d51d15b86 working pppoe with readiness notification on ip-up 2022-09-25 21:12:50 +01:00
Daniel Barlow
3540f594b1 address service: rename addr->address & add prefixLength
these names are consistent with nixos
2022-09-25 16:51:13 +01:00
Daniel Barlow
c1835d97ee add pppoe 2022-09-25 11:54:31 +01:00
Daniel Barlow
c6e56b1637 merge-modules accepts >1 module 2022-09-25 11:52:02 +01:00
Daniel Barlow
887a4ff966 WIP introduce nixos module system for configuration 2022-09-25 11:10:22 +01:00
Daniel Barlow
0f999f9ae4 smoke test : remove temporary files afterwards 2022-09-24 21:13:15 +01:00
Daniel Barlow
d284179272 script and README to start routeros configured for pppoe 2022-09-24 13:04:47 +01:00
Daniel Barlow
7a4314baee run-tests cd into each test directory before running it 2022-09-23 17:21:43 +01:00
Daniel Barlow
0b0efde12c tidy repo 2022-09-22 11:11:31 +01:00
Daniel Barlow
e46abbccca put liminix-tools in package overlay 2022-09-22 11:10:41 +01:00
Daniel Barlow
fde7a269b7 add default service target, get some stuff running 2022-09-22 00:10:55 +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
b2f7a429f7 build a kernel, using malta_kvm_defconfig
(there's a lot in this config that I don't think is needed)
2022-09-20 18:54:27 +01:00
Daniel Barlow
ad759b7c6d allow changing hardware device in tests 2022-09-20 16:09:44 +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