ARM-software / devlib

Library for interaction with and instrumentation of remote devices.
Apache License 2.0
47 stars 78 forks source link

target: Update kernel version parsing for Android GKI kernels #656

Closed douglas-raillard-arm closed 11 months ago

douglas-raillard-arm commented 11 months ago

Android GKI kernels have versions such as: 5.15.110-android14-11-ga6d7915820a0-ab10726252

Update the parsing regex to include:

This also allows parsing the git sha1 correctly, which otherwise is broken on a version like that.

Fixes https://github.com/ARM-software/devlib/issues/654