qemu: seed installed RS485 profiles through SEED_DIR #13

Merged
noah merged 1 commits from qemu-seed-profiles into flare-edge-next 2026-10-03 03:05:50 -06:00
Owner

SEED_DIR may now hold profiles/rs485/<slug>.w485p (plain files, lower-case slug names, nothing else under profiles/), copied to /userdata/warden/profiles/rs485/ where warden-modbus keeps installed profiles. Every other subdirectory, symlink or name still fails closed.

Why: blueflare/flare-edge#387. A QEMU flow for the panel's DEVICE UNDOS section needs undos that stay pending, which needs the entry's profile installed at boot; the rig cannot reboot within a flow.

Tests: qemu/tests/seed-dir.sh scenarios 7 (the allowed path lands on disk) and 8 (five refused shapes: wrong extension, upper-case name, other directory, nested directory, symlink).

Generated with Claude Code

SEED_DIR may now hold `profiles/rs485/<slug>.w485p` (plain files, lower-case slug names, nothing else under `profiles/`), copied to `/userdata/warden/profiles/rs485/` where warden-modbus keeps installed profiles. Every other subdirectory, symlink or name still fails closed. Why: blueflare/flare-edge#387. A QEMU flow for the panel's DEVICE UNDOS section needs undos that stay pending, which needs the entry's profile installed at boot; the rig cannot reboot within a flow. Tests: `qemu/tests/seed-dir.sh` scenarios 7 (the allowed path lands on disk) and 8 (five refused shapes: wrong extension, upper-case name, other directory, nested directory, symlink). Generated with [Claude Code](https://claude.com/claude-code)
noah added 1 commit 2026-10-03 01:16:04 -06:00
qemu: seed installed RS485 profiles through SEED_DIR
ci / patches-apply (push) Successful in 21s
ci / qemu-tools (push) Successful in 49s
ci / prune-artifacts (push) Skipped
ci / kernel-build (push) Skipped
ci / quality (push) Successful in 29s
ci / badges (push) Skipped
ci / patches-apply (pull_request) Successful in 19s
ci / qemu-tools (pull_request) Successful in 46s
ci / bench (push) Successful in 6s
ci / test (pull_request) Successful in 13s
ci / mcdc (pull_request) Successful in 14s
ci / bench (pull_request) Successful in 6s
ci / prune-artifacts (pull_request) Skipped
ci / kernel-build (pull_request) Skipped
ci / quality (pull_request) Successful in 28s
ci / badges (pull_request) Skipped
ci / test (push) Successful in 15s
ci / mcdc (push) Successful in 12s
65a6800228
A flow can now boot the rig with a .w485p profile already installed:
SEED_DIR may hold profiles/rs485/<slug>.w485p (plain files, lower-case
slug names, nothing else under profiles/), copied to
/userdata/warden/profiles/rs485/ where warden-modbus keeps them. Every
other subdirectory, symlink or name still fails closed. Needed for
flare-edge#387 (a flow whose undos stay pending needs the profile
installed at boot; the rig cannot reboot within a flow).

seed-dir.sh scenarios 7 and 8 cover the allowed path and five refused
ones.

Refs blueflare/flare-edge#387.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg
noah merged commit 92d601f585 into flare-edge-next 2026-10-03 03:05:50 -06:00
noah deleted branch qemu-seed-profiles 2026-10-03 03:05:50 -06:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blueflare/bfe-core1106-sdk#13