50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
28 lines
660 B
TOML
28 lines
660 B
TOML
#TODO: Unable to fork services, page fault on rsdctl
|
|
[source]
|
|
git = "https://github.com/willnode/rustysd"
|
|
branch = "redox"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
cookbook_cargo
|
|
|
|
mkdir -p ${COOKBOOK_STAGE}/etc/rustysd/system
|
|
cat <<'EOF' > ${COOKBOOK_STAGE}/etc/rustysd/rustysd_config.toml
|
|
unit_dirs = [
|
|
"/etc/rustysd/system",
|
|
"/etc/rustysd/user",
|
|
]
|
|
logging_dir = "/var/log/rustysd"
|
|
log_to_disk = true
|
|
log_to_stdout = false
|
|
target_unit = "default.target"
|
|
notifications_dir = "/var/run/rustysd"
|
|
# selfpath = ""
|
|
EOF
|
|
|
|
cp ${COOKBOOK_SOURCE}/docker_test_units/*.target ${COOKBOOK_STAGE}/etc/rustysd/system/
|
|
ln -s rsdctl ${COOKBOOK_STAGE}/usr/bin/systemctl
|
|
"""
|