1528e04b09
Phase 2 of the build-system assessment:
Tier 1 (user-facing message fixes):
- mk/podman.mk: 'mk/config.mk' -> '.config' (the actual config location)
- mk/prefix.mk: vague 're-run the build' -> specific 'make prefix' guidance
- mk/virtualbox.mk: 'RedBearOS directory' -> 'Red Bear OS VM directory'
- src/bin/repo.rs: '{:?}' -> '{:#}' anyhow chain format + 'repo: ' prefix
Tier 2 (doc consolidation):
- Archive BUILD-SYSTEM-IMPROVEMENTS.md to local/docs/archived/ (self-labeled
'HISTORICAL POST-MORTEM', no longer current).
- Add local/docs/BUILD-SYSTEM-ASSESSMENT-2026-07-18.md (459-line
comprehensive assessment: architecture, quality, robustness, gaps).
- docs/README.md: refresh status note (2026-05-01 -> 2026-07-18, v4.0 ->
v6.0); fix 'as an full fork' grammar.
- docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md: add status header noting
canonical/secondary split vs CONSOLE-TO-KDE-DESKTOP-PLAN.md; fix grammar.
- HARDWARE.md: remove nonexistent PROFILE-MATRIX.md reference; repoint to
README.md and the canonical desktop plan.
- local/docs/LOCAL-FORK-SUPREMACY-POLICY.md: 'currently 0.1.0' -> 'currently
branch 0.3.1; legacy release archive at sources/redbear-0.1.0/'.
- local/docs/GRUB-INTEGRATION-PLAN.md: 'make all CONFIG_NAME=redbear-grub'
-> canonical './local/scripts/build-redbear.sh redbear-grub'.
- recipes/AGENTS.md, recipes/core/AGENTS.md: replace upstream-Redox-pattern
content with proper redirects to root AGENTS.md reflecting the local
fork / path-fork model actually used by Red Bear.
- CONTRIBUTING.md: full rewrite for local fork workflow (Gitea, single-repo
rule, path-fork model, patch governance, build-redbear.sh as canonical
entry point, no AI attribution policy).
- README.md: add BUILD-SYSTEM-ASSESSMENT-2026-07-18.md to Documentation list.
Verified: cargo check (0 errors), cargo test --lib (35/35 passed),
cargo clippy (0 new warnings vs baseline).
45 lines
1.6 KiB
Makefile
45 lines
1.6 KiB
Makefile
# Configuration file for VirtualBox, it creates a VirtualBox virtual machine
|
|
|
|
virtualbox: $(BUILD)/harddrive.img
|
|
echo "Delete VM"
|
|
-$(VBM) unregistervm RedBearOS --delete; \
|
|
if [ $$? -ne 0 ]; \
|
|
then \
|
|
if [ -d "$$HOME/VirtualBox VMs/RedBearOS" ]; \
|
|
then \
|
|
echo "Red Bear OS VM directory exists, deleting..."; \
|
|
$(RM) -rf "$$HOME/VirtualBox VMs/RedBearOS"; \
|
|
fi \
|
|
fi
|
|
echo "Delete Disk"
|
|
-$(RM) harddrive.vdi
|
|
echo "Create VM"
|
|
$(VBM) createvm --name RedBearOS --register
|
|
echo "Set Configuration"
|
|
$(VBM) modifyvm RedBearOS --memory 2048
|
|
$(VBM) modifyvm RedBearOS --vram 32
|
|
if [ "$(net)" != "no" ]; \
|
|
then \
|
|
$(VBM) modifyvm RedBearOS --nic1 nat; \
|
|
$(VBM) modifyvm RedBearOS --nictype1 82540EM; \
|
|
$(VBM) modifyvm RedBearOS --cableconnected1 on; \
|
|
$(VBM) modifyvm RedBearOS --nictrace1 on; \
|
|
$(VBM) modifyvm RedBearOS --nictracefile1 "$(ROOT)/$(BUILD)/network.pcap"; \
|
|
fi
|
|
$(VBM) modifyvm RedBearOS --uart1 0x3F8 4
|
|
$(VBM) modifyvm RedBearOS --uartmode1 file "$(ROOT)/$(BUILD)/serial.log"
|
|
$(VBM) modifyvm RedBearOS --usb off # on
|
|
$(VBM) modifyvm RedBearOS --keyboard ps2
|
|
$(VBM) modifyvm RedBearOS --mouse ps2
|
|
$(VBM) modifyvm RedBearOS --audio-driver $(VB_AUDIO)
|
|
$(VBM) modifyvm RedBearOS --audiocontroller hda
|
|
$(VBM) modifyvm RedBearOS --audioout on
|
|
$(VBM) modifyvm RedBearOS --nestedpaging on
|
|
echo "Create Disk"
|
|
$(VBM) convertfromraw $< $(BUILD)/harddrive.vdi
|
|
echo "Attach Disk"
|
|
$(VBM) storagectl RedBearOS --name ATA --add sata --controller IntelAHCI --bootable on --portcount 1
|
|
$(VBM) storageattach RedBearOS --storagectl ATA --port 0 --device 0 --type hdd --medium $(BUILD)/harddrive.vdi
|
|
echo "Run VM"
|
|
$(VBM) startvm RedBearOS
|