Add cross-toolchain wrappers and update scripts
Red Bear OS Team
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Reference host-side copy of the guest-side Phase 4 Wayland runtime check.
|
||||
# The actual in-guest command installed by the profile is `redbear-phase4-wayland-check`.
|
||||
# Reference shell reimplementation of the guest-side Phase 4 Wayland runtime check.
|
||||
# Run this inside the guest when `redbear-phase4-wayland-check` is unavailable for debugging.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -21,15 +21,40 @@ require_command() {
|
||||
require_command orbital-wayland "orbital-wayland launcher is installed"
|
||||
require_command wayland-session "wayland-session launcher is installed"
|
||||
require_command smallvil "smallvil compositor is installed"
|
||||
require_command qt6-wayland-smoke "qt6-wayland-smoke is installed"
|
||||
require_command qt6-bootstrap-check "qt6-bootstrap-check is installed"
|
||||
require_command qt6-plugin-check "qt6-plugin-check is installed"
|
||||
require_command redbear-info "redbear-info is installed"
|
||||
|
||||
echo
|
||||
for marker in \
|
||||
/home/root/.wayland-session.started \
|
||||
/home/root/.qt6-bootstrap-minimal.ok \
|
||||
/home/root/.qt6-plugin-minimal.ok \
|
||||
/home/root/.qt6-wayland-smoke-minimal.ok \
|
||||
/home/root/.qt6-wayland-smoke-offscreen.ok \
|
||||
/home/root/.qt6-wayland-smoke-wayland.ok \
|
||||
/home/root/.qt6-wayland-smoke.ok
|
||||
do
|
||||
if [[ -f "$marker" ]]; then
|
||||
echo "✅ Marker present: $marker"
|
||||
else
|
||||
echo "❌ Marker missing: $marker"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
echo "=== redbear-info --json ==="
|
||||
redbear-info --json
|
||||
redbear-info --json | tee /tmp/redbear-phase4-info.json
|
||||
if ! grep -q 'virtio_net_present' /tmp/redbear-phase4-info.json; then
|
||||
echo "❌ redbear-info --json did not report virtio_net_present"
|
||||
exit 1
|
||||
fi
|
||||
echo
|
||||
|
||||
echo "=== Phase 4 launch surface ==="
|
||||
echo "orbital-wayland and smallvil are present on the wayland profile."
|
||||
echo "Run 'orbital-wayland' from a graphical VT to start the compositor path."
|
||||
echo "orbital-wayland, smallvil, and the Qt6 Phase 4 smoke helpers are present on the wayland profile."
|
||||
echo "Run this script inside the guest, or use redbear-phase4-wayland-check as the canonical validator."
|
||||
echo
|
||||
echo "=== Test Complete ==="
|
||||
|
||||
Reference in New Issue
Block a user