summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Otto <m.otto@phytec.de>2020-06-04 16:18:41 +0200
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2020-06-08 16:33:23 +0200
commitc206bfb58f0d1561b1708c2e31b2eb7922b4071a (patch)
tree011838a5c42aa006e025ae4c8f405c1fd402dc98
parentaceff9837016d376a90a96b3b119350603e5ed85 (diff)
downloadmeta-yogurt-c206bfb58f0d1561b1708c2e31b2eb7922b4071a.tar.bz2
meta-yogurt-c206bfb58f0d1561b1708c2e31b2eb7922b4071a.zip
phytec-dev-ca: hash for certificate version 1.0
Only the hash for the verification of the install package stay in this recipe. Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-core/phytec-dev-ca/phytec-dev-ca_1.0.bb37
1 files changed, 1 insertions, 36 deletions
diff --git a/recipes-core/phytec-dev-ca/phytec-dev-ca_1.0.bb b/recipes-core/phytec-dev-ca/phytec-dev-ca_1.0.bb
index 65da194..cd0be7e 100644
--- a/recipes-core/phytec-dev-ca/phytec-dev-ca_1.0.bb
+++ b/recipes-core/phytec-dev-ca/phytec-dev-ca_1.0.bb
@@ -1,43 +1,8 @@
# Copyright (C) 2020 Maik Otto <m.otto@phytec.de>
# Released under the MIT license (see COPYING.MIT for the terms)
-DESCRIPTION = "Development PHYTEC CA with test keys.\
- Please create and use your own certificates and keys!"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-
-inherit pkgconfig
-
-SRC_URI = " \
- ftp://ftp.phytec.de/pub/Software/Linux/Applications/phytec-dev-ca-${PV}.tar.gz;name=tarball \
-"
+require phytec-dev-ca.inc
SRC_URI[tarball.md5sum] = "2dc3fe8eb55c39c1435a942e5b7cd11f"
SRC_URI[tarball.sha256sum] = "000e54175ff34254f521b097ec98961658cc9c8338e72f78d93c4cb0f20c8e7c"
-INSANE_SKIP_${PN} += "already-stripped"
-
-S = "${WORKDIR}"
-DEVCA = "phytec-dev-ca"
-
-do_install() {
- if echo "${CERT_PATH}" | grep -q "${DEVCA}"; then
- install -d ${CERT_PATH}
- cp -r ${B}/${DEVCA}/* ${CERT_PATH}
- fi
-}
-
-do_cleanall_append() {
- import shutil
- import os
- src_uri = (d.getVar('CERT_PATH') or "")
- devca = (d.getVar('DEVCA') or "")
- if len(src_uri) == 0:
- return
- if devca not in src_uri:
- return
- if os.path.exists(src_uri):
- shutil.rmtree(src_uri)
-}
-
-BBCLASSEXTEND = "native"