mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-06 17:58:24 +00:00
tpm2-abrmd-init: fix for /dev/tpmrmX
In addition to the expected /dev/tpmX device nodes, newer Linux kernels now also create /dev/tpmrmX nodes. This causes the daemon's startup script to fail, meaning the abrmd daemon is not started automatically. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
This commit is contained in:
committed by
Jia Zhang
parent
e8df96cf47
commit
b50b53dad2
@@ -27,7 +27,7 @@ case "${1}" in
|
||||
start)
|
||||
echo -n "Starting $DESC: "
|
||||
|
||||
if [ ! -e /dev/tpm* ]
|
||||
if [ ! -e /dev/tpm? ]
|
||||
then
|
||||
echo "device driver not loaded, skipping."
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user