43fd088349
Replace all 'rbos'/'RBOS' references with 'redbear'/'Red Bear OS' across the build system, scripts, docs, and configs. Renamed files: rbos.ipxe → redbear.ipxe assets/rbos-icon.png → assets/redbear-icon.png recipes/system/rbos-info → recipes/system/redbear-info Added redbear-info: a system tool that enumerates all Red Bear OS custom components, checks runtime availability via scheme paths and binary presence, and prints status/test info. Supports --verbose, --json, and --test output modes. Zero external dependencies.
25 lines
854 B
TOML
25 lines
854 B
TOML
[source]
|
|
# Local overlay recipe — source lives in source/, no git fetch needed.
|
|
# When building via the overlay, cookbook uses the local source directly.
|
|
path = "source"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
# Build the firmware-loader daemon
|
|
COOKBOOK_CARGO_PATH=. cookbook_cargo
|
|
|
|
# Stage firmware blobs (copied by integrate-redbear.sh from local/firmware/amdgpu/)
|
|
if [ -d "${COOKBOOK_SOURCE}/firmware/amdgpu" ]; then
|
|
AMD_FW_COUNT=$(ls "${COOKBOOK_SOURCE}/firmware/amdgpu/"*.bin 2>/dev/null | wc -l)
|
|
if [ "${AMD_FW_COUNT}" -gt 0 ]; then
|
|
mkdir -p "${COOKBOOK_STAGE}/usr/lib/firmware/amdgpu"
|
|
cp "${COOKBOOK_SOURCE}/firmware/amdgpu/"*.bin "${COOKBOOK_STAGE}/usr/lib/firmware/amdgpu/"
|
|
echo "Staged ${AMD_FW_COUNT} AMD firmware blobs"
|
|
fi
|
|
fi
|
|
"""
|
|
|
|
[package.files]
|
|
"/usr/lib/drivers/firmware-loader" = "firmware-loader"
|