Skip to content
Commit 34eb1943 authored by Valentin Schneider's avatar Valentin Schneider Committed by Patrick Bellasi
Browse files

utils/wa_results_collector: Add fallback sha1 acquisition method

To map a WA run with a kernel commit sha1, we currently read whatever
__meta/target_info.json reports for "kernel_release" (which should be
the equivalent of uname -r).

However, there are cases where this doesn't seem to be reported. For
instance, a HiKey960 built with hikey960_defconfig will not report the
commit sha1 in its version data, which will cause an exception in the
results collector code.

Since the sha1 is included in the results directory name, use that
as a backup.
parent 8d60ac3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment