diff --git a/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb b/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb deleted file mode 100644 index 6f4611a..0000000 --- a/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_0.1.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = " \ - " -DESCRIPTION = " \ - " -SECTION = "tpm" -PR = "r0" -LICENSE = "PD" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS = "libtspi" - -S = "${WORKDIR}/${BPN}_${PV}" - -SRC_URI += " \ - http://twobit.us/${BPN}/${BPN}_${PV}.tar.bz2 \ -" - -SRC_URI[md5sum] = "98d2a3b816e54bdb17fe97a4294928bc" -SRC_URI[sha256sum] = "0ee784b252537bde4e195bfdedb20efd01ccf106a2b86beae6c8c02b3f7b1470" - -inherit autotools -B = "${WORKDIR}/${BPN}_${PV}" diff --git a/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb b/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb new file mode 100644 index 0000000..a534329 --- /dev/null +++ b/meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb @@ -0,0 +1,27 @@ +SUMMARY = "Command line utility to extend hash of arbitrary data into a TPMs PCR." +SECTION = "security/tpm" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "libtspi" + +PV = "0.1+git${SRCPV}" + +SRC_URI = "\ + git://github.com/flihp/pcr-extend.git \ +" +SRCREV = "c02ad8f628b3d99f6d4c087b402fe31a40ee6316" + +S = "${WORKDIR}/git" + +inherit autotools + +do_compile() { + oe_runmake -C "${S}" +} + +do_install() { + install -d "${D}${bindir}" + DESTDIR="${D}" oe_runmake install -C "${S}" +}