ansible-role-tinypilot icon indicating copy to clipboard operation
ansible-role-tinypilot copied to clipboard

Retrieve the uStreamer version from the binary instead of git

Open mtlynch opened this issue 3 years ago • 1 comments

Versions of git with the 2022-04-12 security fix applied (https://github.blog/2022-04-12-git-security-vulnerability-announced/) will fail to check status if they're not run as the directory owner.

As a fix, we should just stop depending on git for the version number and use the output of ustreamer --version instead. This is also more flexible in the future if we decide to move from a source-compiled version to a precompiled Debian package for uStreamer.

Fixes https://github.com/tiny-pilot/tinypilot/issues/1140 Review on CodeApprove

mtlynch avatar Oct 17 '22 21:10 mtlynch

Automated comment from CodeApprove ➜

⏳ @jotaen4tinypilot please review this Pull Request

mtlynch avatar Oct 17 '22 21:10 mtlynch