systemd 259 includes NvPCRs JSON snippets when tpm2 support is enabled
via packageconfig, so make sure they are also included as part of the
main systemd package.

This fixes the following issue when tpm2 is enabled in systemd:

ERROR: systemd-1_259.1-r0 do_package: QA Issue: systemd: Files/directories
were installed but not shipped in any package:
  /usr/lib/nvpcr
  /usr/lib/nvpcr/cryptsetup.nvpcr
  /usr/lib/nvpcr/hardware.nvpcr

Signed-off-by: Ricardo Salveti <[email protected]>
---
 meta/recipes-core/systemd/systemd_259.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd_259.1.bb 
b/meta/recipes-core/systemd/systemd_259.1.bb
index 34dd37ffff..e265579f85 100644
--- a/meta/recipes-core/systemd/systemd_259.1.bb
+++ b/meta/recipes-core/systemd/systemd_259.1.bb
@@ -696,6 +696,7 @@ FILES:${PN} = " ${base_bindir}/* \
                 ${exec_prefix}/lib/sysctl.d \
                 ${exec_prefix}/lib/sysusers.d \
                 ${exec_prefix}/lib/environment.d \
+                ${exec_prefix}/lib/nvpcr \
                 ${exec_prefix}/lib/pcrlock.d \
                 ${localstatedir} \
                 ${nonarch_libdir}/modprobe.d/systemd.conf \
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232523): 
https://lists.openembedded.org/g/openembedded-core/message/232523
Mute This Topic: https://lists.openembedded.org/mt/118160634/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to