summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-30 11:55:36 -0800
committerKhem Raj <raj.khem@gmail.com>2019-12-31 11:06:24 -0800
commit1f9b9e904689542d81ba1c5454c7870608d27b63 (patch)
treea08c20657b8c4f6811cdfdca33c476bd6093dd2e
parent6eddcf93765e2c87195e7b13eb955ee59eb02e5d (diff)
downloadmeta-openembedded-1f9b9e904689542d81ba1c5454c7870608d27b63.tar.gz
sanlock: Upgrade to 3.8.0+
The original SRCREV was at 3.7.3 even though PV was 3.8.0 this upgrades to latest on top of 3.8.0 to get py3 support Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/sanlock/sanlock_3.8.0.bb21
1 files changed, 11 insertions, 10 deletions
diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.8.0.bb b/meta-oe/recipes-extended/sanlock/sanlock_3.8.0.bb
index bf7eaf411..ffd46da0a 100644
--- a/meta-oe/recipes-extended/sanlock/sanlock_3.8.0.bb
+++ b/meta-oe/recipes-extended/sanlock/sanlock_3.8.0.bb
@@ -9,13 +9,16 @@ HOMEPAGE = "https://pagure.io/sanlock"
9SECTION = "utils" 9SECTION = "utils"
10 10
11LICENSE = "LGPLv2+ & GPLv2 & GPLv2+" 11LICENSE = "LGPLv2+ & GPLv2 & GPLv2+"
12LIC_FILES_CHKSUM = "file://README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22" 12LIC_FILES_CHKSUM = "file://../README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22"
13
14PV .= "+git${SRCPV}"
13 15
14SRC_URI = "git://pagure.io/sanlock.git;protocol=http \ 16SRC_URI = "git://pagure.io/sanlock.git;protocol=http \
15 file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \ 17 file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch;patchdir=../ \
16 " 18 "
17SRCREV = "7afe0e66f5c7f24894896fad20ffa6f39733d80f" 19SRCREV = "cff348800722f7dadf030ffe7494c2df714996e3"
18S = "${WORKDIR}/git" 20
21S = "${WORKDIR}/git/python"
19 22
20DEPENDS = "libaio util-linux" 23DEPENDS = "libaio util-linux"
21 24
@@ -24,15 +27,13 @@ inherit distutils3 useradd
24do_configure[noexec] = "1" 27do_configure[noexec] = "1"
25 28
26do_compile_prepend () { 29do_compile_prepend () {
27 oe_runmake -C wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}" 30 oe_runmake -C ${S}/../wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}"
28 oe_runmake -C src CMD_LDFLAGS="${LDFLAGS}" LIB_ENTIRE_LDFLAGS="${LDFLAGS}" LIB_CLIENT_LDFLAGS="${LDFLAGS}" 31 oe_runmake -C ${S}/../src CMD_LDFLAGS="${LDFLAGS}" LIB_ENTIRE_LDFLAGS="${LDFLAGS}" LIB_CLIENT_LDFLAGS="${LDFLAGS}"
29 cd ${S}/python
30} 32}
31 33
32do_install_prepend () { 34do_install_prepend () {
33 oe_runmake -C wdmd DESTDIR=${D} LIBDIR=${libdir} install 35 oe_runmake -C ${S}/../wdmd DESTDIR=${D} LIBDIR=${libdir} install
34 oe_runmake -C src DESTDIR=${D} LIBDIR=${libdir} install 36 oe_runmake -C ${S}/../src DESTDIR=${D} LIBDIR=${libdir} install
35 cd ${S}/python
36} 37}
37 38
38SANLOCKGROUP ?= "sanlock" 39SANLOCKGROUP ?= "sanlock"