IRIS Video: stabilize stack switching & avoid duplicate heavy ops in --stack both, cleaner logs and safer Kodiak FW flow #182
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces top-level vs sub-run gating in run.sh so heavy operations run once per --stack both execution:
Adds robust post-stack capture in run.sh:
Keeps Kodiak firmware handling safe and minimal:
upstream FW install done once per pass
downstream reload only when requested/needed, with existing lib_video.sh helpers
Preserves CLI and logic; no renames, no one-liners. Logging now explicitly states when sub-runs skip costly steps (e.g., “Sub-run: skipping rootfs size check”).
lib_video.sh enhancements leveraged:
retrying modprobe, runtime block/unblock, persistent blacklist handling, V4L node refresh, FW swap/reload helpers
functestlib.sh & YAML: no interface changes; existing helpers (check_dependencies, extract_tar_from_url, ensure_rootfs_min_size, scan_dmesg_errors) used as-is.
Verification
Compatibility & Risk