Skip to content

tests: add verify_split_install escript#1211

Draft
eriknordmark wants to merge 1 commit into
lf-edge:masterfrom
eriknordmark:split-rootfs-verify-escript
Draft

tests: add verify_split_install escript#1211
eriknordmark wants to merge 1 commit into
lf-edge:masterfrom
eriknordmark:split-rootfs-verify-escript

Conversation

@eriknordmark

Copy link
Copy Markdown
Contributor

WIP / draft.

Adds the verify_split_install escript that the eve repo's
test-split-installer.sh invokes as TestEdenScripts/verify_split_install
but which was never committed. Over eden eve ssh it asserts that the
split-rootfs Extension came up on a booted universal image: extsloader
reaches state=ready, the erofs Extension is dm-verity mounted at
/persist/exts, the runtime HV matches EXPECTED_HV, and (optionally)
/persist is the expected filesystem.

Depends on the split-rootfs POC work (lf-edge/eve #6062); marking draft
until that lands.

Add the verification escript that test-split-installer.sh (in the eve
repo) invokes as TestEdenScripts/verify_split_install but which was
never committed. Over `eden eve ssh` it asserts the split-rootfs
Extension came up on a booted universal image: extsloader reaches
state=ready, the erofs Extension is dm-verity mounted at /persist/exts,
the runtime HV matches EXPECTED_HV, and (optionally) /persist is the
expected filesystem. Device-side commands avoid shell variables since
the escript engine substitutes $NAME.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant