mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-06 17:58:24 +00:00
tpm2-abrmd: Fix missing tpm2-abrmd.service
The default value of --with-systemdsystemunitdir with the prefix "/usr" cannot be used to search tpm2-abrmd.service. In order to fix this issue, explicitly set --with-systemdsystemunitdir as before. In addition, place .perset to the dedicated system-preset directory. Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
This commit is contained in:
@@ -26,7 +26,13 @@ USERADD_PACKAGES = "${PN}"
|
||||
GROUPADD_PARAM_${PN} = "tss"
|
||||
USERADD_PARAM_${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss"
|
||||
|
||||
EXTRA_OECONF += "\
|
||||
--with-systemdsystemunitdir=${systemd_system_unitdir} \
|
||||
--with-systemdpresetdir=${systemd_unitdir}/system-preset \
|
||||
--with-udevrulesdir=${sysconfdir}/udev/rules.d \
|
||||
"
|
||||
|
||||
FILES_${PN} += "\
|
||||
${libdir}/systemd \
|
||||
${systemd_unitdir}/system-preset \
|
||||
${datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user