Skip to content

Commit 47708bf

Browse files
committed
docs(flex): add live validation handoff
1 parent 94a0853 commit 47708bf

1 file changed

Lines changed: 35 additions & 116 deletions

File tree

Lines changed: 35 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,19 @@
11
# Arcwyre Flex Live Validation Handoff
22

3-
## ISO Artifact
3+
## ISO Path
44

5-
**Path:**
6-
```
5+
```text
76
os/phoenix-os/build/phoenix-os-release-amd64.iso
87
```
98

10-
**SHA-256:**
11-
```
9+
## ISO SHA-256
10+
11+
```text
1212
a7e5135b546cf194da7b6ab15c5d97192043a0aa1161a62c45253b1a523e47a4
1313
```
1414

15-
**Size:** 3.7G
16-
17-
**Format:** ISO 9660 CD-ROM (bootable, hybrid EFI)
18-
19-
---
15+
## Linux KVM QEMU Command
2016

21-
## Linux KVM Boot
22-
23-
### Prerequisites
24-
- Linux host with KVM support
25-
- QEMU installed
26-
- ISO copied to test host
27-
28-
### Boot Command
2917
```bash
3018
qemu-system-x86_64 \
3119
-enable-kvm \
@@ -38,123 +26,54 @@ qemu-system-x86_64 \
3826
-no-reboot
3927
```
4028

41-
---
42-
43-
## USB Hardware Boot
44-
45-
### Prerequisites
46-
- USB drive (4GB+)
47-
- Linux host with USB write capability
48-
- `dd` or similar USB write tool
29+
## USB Hardware Boot Option
4930

50-
### Create Bootable USB
5131
```bash
5232
sudo dd if=phoenix-os-release-amd64.iso of=/dev/sdX bs=4M status=progress
5333
sudo sync
5434
```
5535

56-
### Boot from USB
57-
1. Insert USB into target machine
58-
2. Power on, select USB boot (typically F12, Del, or Esc at POST)
59-
3. SDDM should start automatically
36+
Boot the target machine from the USB device and validate the same live-session criteria.
6037

61-
---
62-
63-
## Inside Live Session: Validation Commands
64-
65-
Run these commands after SDDM boots and autologin completes:
38+
## Inside-Live-Session Validation Commands
6639

6740
```bash
68-
# Check current user (should be 'arc')
6941
whoami
70-
71-
# Check SDDM status
7242
systemctl status sddm --no-pager
73-
74-
# Check active sessions
7543
loginctl list-sessions
76-
77-
# Check SDDM configuration
78-
cat /etc/sddm.conf | grep -A5 "\[Autologin\]"
79-
80-
# Check for autologin success marker
81-
journalctl -b -u bwos-session-profile.service
82-
83-
# Verify no session-entry error (should produce no output)
84-
journalctl -b | grep -i "Unable to find autologin session entry"
85-
86-
# Check Arcwyre Flex identity
87-
cat /etc/os-release | grep -E "ID|NAME|VERSION"
88-
89-
# Verify runtime hook log
44+
cat /etc/sddm.conf
45+
journalctl -b -u bwos-session-profile.service --no-pager
46+
journalctl -b --no-pager | grep -i "Unable to find autologin session entry"
47+
cat /etc/os-release
9048
cat /run/arcwyre-flex-session-profile.log
91-
92-
# Check desktop environment
93-
echo $DESKTOP_SESSION
49+
echo "$DESKTOP_SESSION"
9450
```
9551

96-
---
97-
9852
## PASS / FAIL Checklist
9953

100-
### ✅ PASS Criteria (All Must Be True)
101-
102-
- [ ] ISO boots to SDDM login screen
103-
- [ ] Auto-logs in as `arc` user (no manual password entry required)
104-
- [ ] Desktop environment loads without manual intervention
105-
- [ ] Active session shows SDDM service (not LightDM)
106-
- [ ] `/etc/sddm.conf` has `[Autologin]` section with `User=arc`
107-
- [ ] `journalctl -b -u bwos-session-profile.service` shows success marker
108-
- [ ] No "Unable to find autologin session entry" error in journal
109-
- [ ] `/run/arcwyre-flex-session-profile.log` exists and contains success marker
110-
- [ ] Arcwyre Flex branding/identity visible in live session
111-
- [ ] Desktop is usable (mouse, keyboard, basic UI responsive)
112-
113-
### ❌ FAIL Criteria (Any One Fails The Test)
114-
115-
- [ ] ISO fails to boot
116-
- [ ] SDDM fails to start
117-
- [ ] Autologin does not trigger (stuck at login prompt)
118-
- [ ] Error: "Unable to find autologin session entry"
119-
- [ ] Session shows LightDM fallback (not SDDM)
120-
- [ ] `/etc/sddm.conf` missing or has wrong [Autologin] section
121-
- [ ] No success marker in journalctl or runtime log
122-
- [ ] Kernel panic or hardware/driver errors
123-
- [ ] Desktop does not load after successful login
124-
- [ ] Arcwyre Flex identity not present (wrong branding/hostname)
125-
126-
---
127-
128-
## Known Blocker: macOS QEMU
129-
130-
**Issue:** QEMU on macOS (HVF) does not support CD/DVD device emulation.
131-
132-
**Error:** `Boot failed: Could not read from CDROM (code 0009)`
133-
134-
**Workaround:** Use Linux KVM host or real USB hardware boot instead.
135-
136-
**Status:** Not a blocker for Linux KVM or USB hardware paths.
137-
138-
---
139-
140-
## Related Documentation
141-
142-
- Full validation report: `docs/ARCWYRE_FLEX_SDDM_AUTOLOGIN_VALIDATION.md`
143-
- Build details: `os/phoenix-os/build/` (ISO, kernel, initrd)
144-
- Hook implementation: `os/phoenix-os/live-build/config/hooks/live/0068-session-failure-telemetry.chroot`
145-
146-
---
54+
PASS only if all are true:
14755

148-
## Handoff Complete
56+
- ISO boots to the live environment.
57+
- SDDM starts in the live environment.
58+
- The system autologins as `arc`.
59+
- `loginctl list-sessions` shows an active live session.
60+
- `journalctl -b -u bwos-session-profile.service --no-pager` shows the runtime marker.
61+
- No runtime journal line contains `Unable to find autologin session entry`.
62+
- Arcwyre Flex identity markers are present.
63+
- The live desktop is usable.
14964

150-
This document provides everything needed to validate Arcwyre Flex SDDM autologin
151-
in a live environment without reopening the build and test infrastructure.
65+
FAIL if any are true:
15266

153-
**Next validator:** Pick a Linux KVM host or USB hardware machine, follow the boot
154-
commands, and run the validation checklist inside the live session.
67+
- ISO does not boot.
68+
- SDDM does not start.
69+
- Autologin does not enter the `arc` session.
70+
- Runtime journal contains `Unable to find autologin session entry`.
71+
- Required runtime marker is missing.
72+
- Arcwyre Flex identity markers are missing.
73+
- The live desktop is not usable.
15574

156-
---
75+
## Known Blocker
15776

158-
**Created:** 2026-06-25
159-
**Branch:** fix/flex-live-autologin-serial-boot
160-
**Commit:** f53c4152
77+
Live boot validation could not be completed in the current macOS QEMU setup.
78+
The attempted QEMU CDROM path failed with CDROM read error 0009.
79+
Live validation is deferred to Linux KVM or direct hardware boot.

0 commit comments

Comments
 (0)