-
Notifications
You must be signed in to change notification settings - Fork 4
Crashupload Script Method
gomathishankar37 edited this page Jun 2, 2026
·
3 revisions
This page documents the legacy shell path, which remains active for some device types.
Primary script: uploadDumps.sh
Current routing logic:
-
mediaclient: binary-first with legacy fallback -
broadband: legacy script path -
extender: legacy script path - unknown: legacy script path
Worker script: runDumpUpload.sh
Core responsibilities:
- Resolve runtime paths (secure/non-secure)
- Acquire lock and avoid overlap
- Discover dumps and build archive metadata
- Upload via curl and cleanup
Observed call pattern:
uploadDumps.sh <arg1> <dump_type> [secure] [wait_for_lock]-
<dump_type>:0minidump,1coredump -
secure: switches to/opt/secure/minidumpsand/opt/secure/corefiles -
wait_for_lock: lock wait mode
The repo includes these units:
coredump-upload.pathcoredump-upload.serviceminidump-on-bootup-upload.serviceminidump-on-bootup-upload.timer
Service ExecStart calls uploadDumps.sh.