summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-02-22 14:56:16 +0800
committerKhem Raj <raj.khem@gmail.com>2019-02-22 18:14:52 -0800
commit586d4ed9c73d09dc78ea4c28e33c15304f7df627 (patch)
treefd7853a08594934aef59ae4dedc9dcd3fc75e744
parent1262533bd1874dce9ff4c0f61ea0d8dc0503968e (diff)
downloadmeta-openembedded-586d4ed9c73d09dc78ea4c28e33c15304f7df627.tar.gz
cim-schema-docs: remove do_unpack
Use subdir=${BP}, rather than write do_unpack manually. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
index 31875ea50..4ecaabd7e 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
@@ -4,18 +4,13 @@ SECTION = "doc"
4 4
5LICENSE = "DMTF" 5LICENSE = "DMTF"
6 6
7SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-Doc.zip \ 7SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-Doc.zip;subdir=${BP} \
8 file://LICENSE \ 8 file://LICENSE \
9 " 9 "
10SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739" 10SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739"
11SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267" 11SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267"
12LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" 12LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4"
13 13
14do_unpack() {
15 unzip -q ${DL_DIR}/cim_schema_${PV}Final-Doc.zip -d ${S}
16 cp -f ${FILE_DIRNAME}/files/LICENSE ${WORKDIR}/
17}
18
19do_install() { 14do_install() {
20 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}-docs 15 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}-docs
21 cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/doc/cim-schema-${PV}-docs 16 cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/doc/cim-schema-${PV}-docs