flihp / meta-measured

openembedded meta layer containing recipes for TPM / TCG software
Other
20 stars 33 forks source link

tpm2-abrmd-init.sh: fix for /dev/tpmrmX #67

Closed twoerner closed 6 years ago

twoerner commented 6 years ago

Newer kernels, in addition to the traditional /dev/tpmX device nodes, are now also creating /dev/tpmrmX device nodes. This causes this script to get confused and abort, meaning tpm2-abrmd does not get started during boot.

Fix for https://github.com/flihp/meta-measured/issues/56

Signed-off-by: Trevor Woerner twoerner@gmail.com

flihp commented 6 years ago

Thanks for hacking this up @twoerner. I'm traveling for work but I'll get this tested as soon as I'm home.

twoerner commented 6 years ago

ping?

flihp commented 6 years ago

Sorry @twoerner, but I got buried under a pile of work in tpm2-tss & tpm2-abrmd. I'm going to merge before testing on this end.

twoerner commented 6 years ago

Thanks @flihp, and I understand completely.