326df7f02d
- base-initfs recipe: pcid-spawner removed from initfs BINS and the
lib/pcid.d initfs staging dropped (dead pcid-spawner config).
- acid.toml, redoxer.toml: requires_weak now points at
00_driver-manager.service.
- redbear-mini.toml: dead /etc/pcid.d/* staging removed; driver-manager
service override no longer gated on the retired fallback flag.
- redbear-full.toml: dead legacy-format /etc/pcid.d/ihdgd.toml and
virtio-gpud.toml removed (driver-manager's 30-graphics.toml covers
the same drivers in the current format).
- Comments updated: no fallback exists; driver-manager owns the path
unconditionally. Base submodule bump (0c11c2b5).
74 lines
1.2 KiB
TOML
74 lines
1.2 KiB
TOML
# 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_driver-manager.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
|
|
"""
|