diff options
Diffstat (limited to 'meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb')
-rw-r--r-- | meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb index 3e7b81a..9d1ff72 100644 --- a/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb +++ b/meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb | |||
@@ -24,22 +24,6 @@ EXTRA_USERS_PARAMS = "\ | |||
24 | groupadd tss; \ | 24 | groupadd tss; \ |
25 | " | 25 | " |
26 | 26 | ||
27 | SYSTEMD_PACKAGES = "resourcemgr" | ||
28 | SYSTEMD_SERVICE_resourcemgr = "resourcemgr.service" | ||
29 | SYSTEMD_AUTO_ENABLE_resourcemgr = "enable" | ||
30 | |||
31 | do_patch[postfuncs] += "${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','fix_systemd_unit','', d)}" | ||
32 | fix_systemd_unit () { | ||
33 | sed -i -e 's;^ExecStart=.*/resourcemgr;ExecStart=${sbindir}/resourcemgr;' ${S}/contrib/resourcemgr.service | ||
34 | } | ||
35 | |||
36 | do_install_append() { | ||
37 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
38 | install -d ${D}${systemd_system_unitdir} | ||
39 | install -m0644 ${S}/contrib/resourcemgr.service ${D}${systemd_system_unitdir}/resourcemgr.service | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | PROVIDES = "${PACKAGES}" | 27 | PROVIDES = "${PACKAGES}" |
44 | PACKAGES = " \ | 28 | PACKAGES = " \ |
45 | ${PN} \ | 29 | ${PN} \ |
@@ -57,7 +41,6 @@ PACKAGES = " \ | |||
57 | libtss2 \ | 41 | libtss2 \ |
58 | libtss2-dev \ | 42 | libtss2-dev \ |
59 | libtss2-staticdev \ | 43 | libtss2-staticdev \ |
60 | resourcemgr \ | ||
61 | " | 44 | " |
62 | 45 | ||
63 | FILES_libtss2-tcti-device = "${libdir}/libtss2-tcti-device.so.*" | 46 | FILES_libtss2-tcti-device = "${libdir}/libtss2-tcti-device.so.*" |
@@ -89,5 +72,3 @@ FILES_libtss2-dev = " \ | |||
89 | FILES_libtss2-staticdev = "${libdir}/libtss*a" | 72 | FILES_libtss2-staticdev = "${libdir}/libtss*a" |
90 | 73 | ||
91 | FILES_${PN} = "${libdir}/udev" | 74 | FILES_${PN} = "${libdir}/udev" |
92 | |||
93 | FILES_resourcemgr = "${sbindir}/resourcemgr ${systemd_system_unitdir}/resourcemgr.service" | ||