Skip to content

Conversation

smuppand
Copy link
Contributor

@smuppand smuppand commented Oct 10, 2025

  • Skip redundant fetches via “already extracted” detection (marker file + archive entry sniff).
  • New downloader cascade: curl → aria2c → wget, with BusyBox wget fallback and --no-check-certificate path when OpenSSL is missing.
  • Detect bad system clock (ensure_reasonable_clock); treat as limited network and return 2 (SKIP) instead of failing.
  • Support absolute paths and file:// URLs; write a .extracted success marker after unpack.
  • Keep all original var names and multi-line style; no API changes to callers.
  • Clear logging for presence checks, downloads, and extraction verification.
  • Standardized returns: 0=OK, 1=error, 2=limited-network/skip.

… TLS

- Add “already extracted” detection (marker file + entry sniff) to skip refetch.
- New downloader cascade: curl → aria2c → wget, with BusyBox wget fallback and --no-check-certificate path when OpenSSL is absent.
- Detect bad system clock via ensure_reasonable_clock; treat as limited-network and return 2 (skip) instead of hard fail.
- Support absolute and file:// URLs; keep all original var names and multi-line style.
- Improved logging and success marker (.extracted); verify at least one extracted entry exists.
- Standardize return codes: 0=OK, 1=error, 2=limited-network/skip; no changes required in callers.

Signed-off-by: Srikanth Muppandam <[email protected]>
- Add `. "$TOOLS/lib_video.sh"` after audio_common sourcing.
- Fixes runtime error: `video_step: not found` on AudioPlayback runs.
- Reuses existing video helpers (e.g., video_step) for consistent logging.

Signed-off-by: Srikanth Muppandam <[email protected]>
Copy link
Contributor

@abbajaj806 abbajaj806 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abbajaj806 abbajaj806 merged commit a7abd8d into qualcomm-linux:main Oct 13, 2025
8 checks passed
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.

2 participants