Jackie Huang 6651e26a2c openstack-ras: uprev to stx 5.0
* update the PV with adding git${SRCPV}

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I07336775de392048868680d8df1a9453d16d01f3
2021-07-23 15:26:41 +08:00

28 lines
848 B
BlitzBasic

DESCRIPTION = "Pacemaker High Availability resource agents for OpenStack"
SUMMARY = "Openstack Resource Agents from Madkiss"
PROTOCOL = "https"
BRANCH = "master"
SRCNAME = "stx-openstack-ras"
SRCREV = "cc6f677570b4f0e7ba44a91d5dff33164b8b76bc"
S = "${WORKDIR}/git"
PV = "1.0.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "git://github.com/starlingx-staging/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
make DESTDIR=${D} install
rm -rf ${D}/usr/lib/ocf/resource.d/openstack/ceilometer-agent-central
rm -rf ${D}/usr/lib/ocf/resource.d/openstack/ceilometer-alarm-evaluator
rm -rf ${D}/usr/lib/ocf/resource.d/openstack/ceilometer-alarm-notifier
}
FILES_${PN} += " ${libdir}"