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:
2026-04-12 19:46:54 +01:00
parent 50b731f1b7
commit 43fd088349
36 changed files with 686 additions and 101 deletions
+7 -7
View File
@@ -2,7 +2,7 @@
set -e
MOUNT_POINT="/mnt/rbos"
MOUNT_POINT="/mnt/redbear"
DISK_DEVICE=""
show_help() {
@@ -11,19 +11,19 @@ show_help() {
echo "Mount or unmount a Red Bear OS filesystem partition"
echo ""
echo "Options:"
echo " -u, --unmount Unmount the RBOS filesystem partition"
echo " -m, --mount-point PATH Custom mount point (default: /mnt/rbos)"
echo " -u, --unmount Unmount the Red Bear OS filesystem partition"
echo " -m, --mount-point PATH Custom mount point (default: /mnt/redbear)"
echo " -h, --help Show this help"
echo ""
echo "Examples:"
echo " $0 /dev/sda3 Mount /dev/sda3"
echo " $0 -u Unmount from default location"
echo " $0 -m /mnt/my-rbos /dev/sda3 Mount to custom location"
echo " $0 -m /mnt/my-redbear /dev/sda3 Mount to custom location"
}
unmount_fs() {
if mountpoint -q "$MOUNT_POINT" 2>/dev/null; then
echo "Unmounting RBOS filesystem from $MOUNT_POINT..."
echo "Unmounting Red Bear OS filesystem from $MOUNT_POINT..."
fusermount -u "$MOUNT_POINT" || fusermount3 -u "$MOUNT_POINT"
echo "Successfully unmounted"
else
@@ -93,7 +93,7 @@ if [ "$UNMOUNT" = true ]; then
fi
if [ -z "$DISK_DEVICE" ]; then
DISK_DEVICE="/dev/disk/by-partlabel/RBOS_INSTALL"
DISK_DEVICE="/dev/disk/by-partlabel/Red Bear OS_INSTALL"
if [ ! -b "$DISK_DEVICE" ]; then
echo "Error: No device specified and default partition not found"
echo ""
@@ -114,6 +114,6 @@ mkdir -p "$MOUNT_POINT"
echo "Mounting $DISK_DEVICE to $MOUNT_POINT..."
"$REDOXFS_BIN" "$DISK_DEVICE" "$MOUNT_POINT"
echo "RBOS filesystem successfully mounted at $MOUNT_POINT"
echo "Red Bear OS filesystem successfully mounted at $MOUNT_POINT"
echo "To unmount, run: $0 -u"