Since [1], if the validation against the kernel does not work, systemd searches
for PKCS#7 certificates in `/{etc,usr/lib}/verity.d` as a fallback mechanism to
validate dm-verity signatures.
[1] https://github.com/systemd/systemd/commit/
c2fa92e7e8907d9658646595261fa2d3433e6e4b
install() {
inst_multiple -o \
+ "/usr/lib/verity.d/*.conf" \
"$systemdutildir"/systemd-veritysetup \
"$systemdutildir"/system-generators/systemd-veritysetup-generator \
"$systemdsystemunitdir"/remote-veritysetup.target \
if [[ $hostonly ]]; then
inst_multiple -H -o \
/etc/veritytab \
+ "/etc/verity.d/*.conf" \
"$systemdsystemconfdir"/veritysetup.target \
"$systemdsystemconfdir/veritysetup.target.wants/*.target" \
"$systemdsystemconfdir"/veritysetup-pre.target \