tpm2-software / tpm2-totp

Attest the trustworthiness of a device against a human using time-based one-time passwords
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
159 stars 35 forks source link

dist: escape "$" in dracut udev rule #66

Closed diabonas closed 4 years ago

diabonas commented 4 years ago

The dollar sign is a special character in udev rules and must be escaped as $$, otherwise journalctl -b shows the following warning:

/etc/udev/rules.d/80-tpm2-totp.rules:1 Invalid value "/sbin/initqueue --settled --onetime /bin/show-tpm2-totp & show_tpm2_totp_pid=$!" for RUN (char 79: invalid substitution type),ignoring, but please fix it.

This hopefully fixes #65.

codecov[bot] commented 4 years ago

Codecov Report

Merging #66 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   84.05%   84.05%           
=======================================
  Files           4        4           
  Lines         759      759           
=======================================
  Hits          638      638           
  Misses        121      121

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a69c50f...74adaf9. Read the comment docs.