mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
* Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Dropped Lua patch as no ptest support exists in jethro Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Conflicts: meta-oe/recipes-devtools/lua/lua_5.3.1.bb
35 lines
1.3 KiB
BlitzBasic
35 lines
1.3 KiB
BlitzBasic
require cim-schema.inc
|
|
|
|
LICENSE = "DMTF"
|
|
|
|
RCONFLICTS_${PN} = "cim-schema-exper"
|
|
|
|
SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-MOFs.zip \
|
|
file://LICENSE \
|
|
"
|
|
SRC_URI[md5sum] = "a9bdf17c7374e3b5b7adeaac4842c4ad"
|
|
SRC_URI[sha256sum] = "dbfa3064ea427acd71a4bebbc172ca2dc44b0b09a6d83b0945b9ffa988a9058a"
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4"
|
|
|
|
do_unpack() {
|
|
unzip -q ${DL_DIR}/cim_schema_${PV}Final-MOFs.zip -d ${S}
|
|
cp -f ${FILE_DIRNAME}/files/LICENSE ${WORKDIR}/
|
|
}
|
|
|
|
do_install() {
|
|
install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/
|
|
install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
|
|
install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
|
|
|
|
cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/
|
|
chown -R root:root ${D}${datadir}/mof/cimv${PV}/
|
|
for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
|
|
sed -i -e 's/\r//g' $i
|
|
done
|
|
ln -s cimv${PV} ${D}${datadir}/mof/cim-current
|
|
ln -s cim_schema_${PV}.mof ${D}${datadir}/mof/cim-current/CIM_Schema.mof
|
|
}
|
|
|
|
FILES_${PN} = "${datadir}/mof/* ${datadir}/doc/*"
|
|
FILES_${PN}-doc = ""
|