diff options
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/files/tpm2-abrmd.default (renamed from meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd-1.3.1/tpm2-abrmd.default) | 0 | ||||
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/files/tpm2-abrmd_git.default (renamed from meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd-git/tpm2-abrmd.default) | 0 | ||||
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc | 9 | ||||
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb | 9 | ||||
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb | 9 | 
5 files changed, 18 insertions, 9 deletions
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd-1.3.1/tpm2-abrmd.default b/meta-tpm2/recipes-tpm/tpm2-abrmd/files/tpm2-abrmd.default index 987978a..987978a 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd-1.3.1/tpm2-abrmd.default +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/files/tpm2-abrmd.default  | |||
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd-git/tpm2-abrmd.default b/meta-tpm2/recipes-tpm/tpm2-abrmd/files/tpm2-abrmd_git.default index 08dd111..08dd111 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd-git/tpm2-abrmd.default +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/files/tpm2-abrmd_git.default  | |||
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc index 5ce5cf3..037151e 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc  | |||
| @@ -11,7 +11,6 @@ DEPENDS += "autoconf-archive-native dbus glib-2.0 glib-2.0-native" | |||
| 11 | 11 | ||
| 12 | SRC_URI = "\ | 12 | SRC_URI = "\ | 
| 13 | file://tpm2-abrmd-init.sh \ | 13 | file://tpm2-abrmd-init.sh \ | 
| 14 | file://tpm2-abrmd.default \ | ||
| 15 | " | 14 | " | 
| 16 | 15 | ||
| 17 | inherit autotools pkgconfig systemd update-rc.d useradd | 16 | inherit autotools pkgconfig systemd update-rc.d useradd | 
| @@ -37,11 +36,3 @@ FILES_${PN} += "\ | |||
| 37 | ${systemd_unitdir}/system-preset \ | 36 | ${systemd_unitdir}/system-preset \ | 
| 38 | ${datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service \ | 37 | ${datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service \ | 
| 39 | " | 38 | " | 
| 40 | |||
| 41 | do_install_append() { | ||
| 42 | install -d "${D}${sysconfdir}/init.d" | ||
| 43 | install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd" | ||
| 44 | |||
| 45 | install -d "${D}${sysconfdir}/default" | ||
| 46 | install -m 0644 "${WORKDIR}/tpm2-abrmd.default" "${D}${sysconfdir}/default/tpm2-abrmd" | ||
| 47 | } | ||
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb index 4c5f727..6cdf373 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb  | |||
| @@ -4,6 +4,15 @@ DEPENDS += "libtctidevice libtctisocket libtss2" | |||
| 4 | 4 | ||
| 5 | SRC_URI += " \ | 5 | SRC_URI += " \ | 
| 6 | https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \ | 6 | https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \ | 
| 7 | file://tpm2-abrmd.default \ | ||
| 7 | " | 8 | " | 
| 8 | SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de" | 9 | SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de" | 
| 9 | SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea" | 10 | SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea" | 
| 11 | |||
| 12 | do_install_append() { | ||
| 13 | install -d "${D}${sysconfdir}/init.d" | ||
| 14 | install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd" | ||
| 15 | |||
| 16 | install -d "${D}${sysconfdir}/default" | ||
| 17 | install -m 0644 "${WORKDIR}/tpm2-abrmd.default" "${D}${sysconfdir}/default/tpm2-abrmd" | ||
| 18 | } | ||
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb index bcac1a1..22d1d45 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb  | |||
| @@ -9,6 +9,7 @@ PV = "${PVBASE}.${SRCPV}" | |||
| 9 | 9 | ||
| 10 | SRC_URI += " \ | 10 | SRC_URI += " \ | 
| 11 | git://github.com/01org/${BPN}.git;protocol=git;branch=master;name=${BPN};destsuffix=${BPN} \ | 11 | git://github.com/01org/${BPN}.git;protocol=git;branch=master;name=${BPN};destsuffix=${BPN} \ | 
| 12 | file://tpm2-abrmd_git.default \ | ||
| 12 | " | 13 | " | 
| 13 | 14 | ||
| 14 | SRCREV = "${AUTOREV}" | 15 | SRCREV = "${AUTOREV}" | 
| @@ -23,4 +24,12 @@ do_configure_prepend () { | |||
| 23 | cd "${currentdir}" | 24 | cd "${currentdir}" | 
| 24 | } | 25 | } | 
| 25 | 26 | ||
| 27 | do_install_append() { | ||
| 28 | install -d "${D}${sysconfdir}/init.d" | ||
| 29 | install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd" | ||
| 30 | |||
| 31 | install -d "${D}${sysconfdir}/default" | ||
| 32 | install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd" | ||
| 33 | } | ||
| 34 | |||
| 26 | RDEPENDS_${PN} += "tpm2-tss" | 35 | RDEPENDS_${PN} += "tpm2-tss" | 
