stefanberger / swtpm

Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Other
576 stars 143 forks source link

Support out-of-PATH installations #796

Closed stefanberger closed 1 year ago

stefanberger commented 1 year ago

This PR implements a function find_program() that tries to find a program, which is only described by the program's name (e.g. 'swtpm_cert'), in BINDIR before trying $PATH and therefore will find swtpm_localca and swtpm_cert in non-PATH installation paths, such /home//rootfs/usr.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4285


Totals Coverage Status
Change from base Build 4274: 0.02%
Covered Lines: 7075
Relevant Lines: 9649

💛 - Coveralls