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:
@@ -17,12 +17,12 @@ ci-img: FORCE
|
||||
|
||||
# The name of the target must match the name of the filesystem config file
|
||||
server desktop demo: FORCE
|
||||
rm -f "build/$(ARCH)/$@/harddrive.img" "build/$(ARCH)/$@/rbos-live.iso"
|
||||
rm -f "build/$(ARCH)/$@/harddrive.img" "build/$(ARCH)/$@/redbear-live.iso"
|
||||
export $(CI_COOKBOOK_CONFIG) REPO_NONSTOP=0 && \
|
||||
$(MAKE) CONFIG_NAME=$@ build/$(ARCH)/$@/harddrive.img build/$(ARCH)/$@/rbos-live.iso
|
||||
$(MAKE) CONFIG_NAME=$@ build/$(ARCH)/$@/harddrive.img build/$(ARCH)/$@/redbear-live.iso
|
||||
mkdir -p $(IMG_DIR)
|
||||
cp "build/$(ARCH)/$@/harddrive.img" "$(IMG_DIR)/rbos_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_harddrive.img"
|
||||
cp "build/$(ARCH)/$@/rbos-live.iso" "$(IMG_DIR)/rbos_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_livedisk.iso"
|
||||
cp "build/$(ARCH)/$@/harddrive.img" "$(IMG_DIR)/redbear_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_harddrive.img"
|
||||
cp "build/$(ARCH)/$@/redbear-live.iso" "$(IMG_DIR)/redbear_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_livedisk.iso"
|
||||
|
||||
ci-os-test: FORCE
|
||||
make CONFIG_NAME=os-test unmount
|
||||
|
||||
+4
-4
@@ -17,7 +17,7 @@ else
|
||||
mv $@.partial $@
|
||||
endif
|
||||
|
||||
$(BUILD)/rbos-live.iso: $(FSTOOLS) $(REPO_TAG) rbos.ipxe
|
||||
$(BUILD)/redbear-live.iso: $(FSTOOLS) $(REPO_TAG) redbear.ipxe
|
||||
ifeq ($(FSTOOLS_IN_PODMAN),1)
|
||||
$(PODMAN_RUN) make $@
|
||||
else
|
||||
@@ -31,7 +31,7 @@ else
|
||||
truncate -s "$$FILESYSTEM_SIZE"m $@.partial
|
||||
umask 002 && $(INSTALLER) $(INSTALLER_OPTS) -c $(FILESYSTEM_CONFIG) --write-bootloader="$(BUILD)/bootloader-live.efi" --live $@.partial
|
||||
mv $@.partial $@
|
||||
cp rbos.ipxe $(BUILD)/rbos.ipxe
|
||||
cp redbear.ipxe $(BUILD)/redbear.ipxe
|
||||
endif
|
||||
|
||||
$(BUILD)/filesystem.img: $(FSTOOLS) $(REPO_TAG)
|
||||
@@ -84,9 +84,9 @@ ifeq ($(FSTOOLS_IN_PODMAN),1)
|
||||
$(PODMAN_RUN) make $@
|
||||
else
|
||||
@mkdir -p $(MOUNT_DIR)
|
||||
$(REDOXFS) $(BUILD)/rbos-live.iso $(MOUNT_DIR)
|
||||
$(REDOXFS) $(BUILD)/redbear-live.iso $(MOUNT_DIR)
|
||||
@sleep 2
|
||||
@echo "\033[1;36;49mrbos-live.iso mounted ($$(pgrep redoxfs))\033[0m"
|
||||
@echo "\033[1;36;49mredbear-live.iso mounted ($$(pgrep redoxfs))\033[0m"
|
||||
endif
|
||||
|
||||
unmount: FORCE
|
||||
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
|
||||
# Configuration variables for running make in Podman
|
||||
## Tag the podman image $IMAGE_TAG
|
||||
IMAGE_TAG?=rbos-base
|
||||
IMAGE_TAG?=redbear-base
|
||||
## Working Directory in Podman
|
||||
CONTAINER_WORKDIR?=/mnt/redox
|
||||
|
||||
@@ -92,10 +92,10 @@ KERNEL_PATH_TARGET := $(ROOT)/$(KERNEL_PATH)/target/$(TARGET)
|
||||
# TODO: make this work using `make debug.kernel` and remove this
|
||||
kernel_debugger:
|
||||
@echo "Building and running gdbgui container..."
|
||||
podman build -t rbos-kernel-debug - < $(ROOT)/podman/redox-gdb-containerfile
|
||||
podman run --rm -p 5000:5000 -it --name rbos-gdb \
|
||||
podman build -t redbear-kernel-debug - < $(ROOT)/podman/redox-gdb-containerfile
|
||||
podman run --rm -p 5000:5000 -it --name redbear-gdb \
|
||||
-v "$(KERNEL_PATH_TARGET)/build/kernel.sym:/kernel.sym" \
|
||||
-v "$(KERNEL_PATH_SOURCE)/src:/src" \
|
||||
rbos-kernel-debug --gdb-cmd "gdb -ex 'set confirm off' \
|
||||
redbear-kernel-debug --gdb-cmd "gdb -ex 'set confirm off' \
|
||||
-ex 'add-symbol-file /kernel.sym' \
|
||||
-ex 'target remote host.containers.internal:1234'"
|
||||
|
||||
+2
-2
@@ -158,7 +158,7 @@ ifneq ($(QEMU_KERNEL),)
|
||||
endif
|
||||
|
||||
ifeq ($(live),yes)
|
||||
DISK=$(BUILD)/rbos-live.iso
|
||||
DISK=$(BUILD)/redbear-live.iso
|
||||
else
|
||||
DISK=$(BUILD)/harddrive.img
|
||||
endif
|
||||
@@ -212,7 +212,7 @@ else
|
||||
|
||||
EXTRANETARGS=
|
||||
ifeq ($(netboot),yes)
|
||||
EXTRANETARGS+=,tftp=$(BUILD),bootfile=rbos.ipxe
|
||||
EXTRANETARGS+=,tftp=$(BUILD),bootfile=redbear.ipxe
|
||||
QEMUFLAGS+=-kernel /usr/lib/ipxe/ipxe-amd64.efi
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user