# Configuration for the Redoxer image include = ["base.toml"] # Package settings [packages] bash = {} ca-certificates = {} coreutils = {} extrautils = {} findutils = {} gnu-make = {} ion = {} pkgutils = {} relibc = {} sed = {} # Override network services for redoxer (foreground dhcpd) [[files]] path = "/usr/lib/init.d/10_smolnetd.service" data = """ [unit] description = "Network stack for redoxer" requires_weak = ["00_pcid-spawner.service"] [service] cmd = "netstack" type = "oneshot_async" """ [[files]] path = "/usr/lib/init.d/10_dhcpd.service" data = """ [unit] description = "DHCP client (foreground) for redoxer" requires_weak = ["10_smolnetd.service"] [service] cmd = "dhcpd" type = "oneshot_async" """ [[files]] path = "/usr/lib/init.d/30_redoxer.service" data = """ [unit] description = "Redoxer test runner" requires_weak = ["10_dhcpd.service"] [service] cmd = "ion" args = ["/usr/lib/run_redoxer.ion"] type = "oneshot_async" """ [[files]] path = "/usr/lib/run_redoxer.ion" data = """ #!/usr/bin/env ion echo echo "## preparing environment ##" export GROUPS=0 export HOME=/root export HOST=redox export SHELL=/bin/sh export UID=0 export USER=root cd /root env echo echo "## running redoxer ##" redoxerd """