diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-02-22 14:56:16 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-02-22 18:14:52 -0800 |
commit | 586d4ed9c73d09dc78ea4c28e33c15304f7df627 (patch) | |
tree | fd7853a08594934aef59ae4dedc9dcd3fc75e744 /meta-networking/recipes-support/cim-schema | |
parent | 1262533bd1874dce9ff4c0f61ea0d8dc0503968e (diff) | |
download | meta-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>
Diffstat (limited to 'meta-networking/recipes-support/cim-schema')
-rw-r--r-- | meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb | 7 |
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 | ||
5 | LICENSE = "DMTF" | 5 | LICENSE = "DMTF" |
6 | 6 | ||
7 | SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-Doc.zip \ | 7 | SRC_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 | " |
10 | SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739" | 10 | SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739" |
11 | SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267" | 11 | SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267" |
12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" | 12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" |
13 | 13 | ||
14 | do_unpack() { | ||
15 | unzip -q ${DL_DIR}/cim_schema_${PV}Final-Doc.zip -d ${S} | ||
16 | cp -f ${FILE_DIRNAME}/files/LICENSE ${WORKDIR}/ | ||
17 | } | ||
18 | |||
19 | do_install() { | 14 | do_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 |