Rename rbos → redbear everywhere, add redbear-info system tool
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.
This commit is contained in:
@@ -4,7 +4,21 @@
|
||||
path = "source"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user