diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-30 11:55:36 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-12-31 11:06:24 -0800 |
commit | 1f9b9e904689542d81ba1c5454c7870608d27b63 (patch) | |
tree | a08c20657b8c4f6811cdfdca33c476bd6093dd2e | |
parent | 6eddcf93765e2c87195e7b13eb955ee59eb02e5d (diff) | |
download | meta-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.bb | 21 |
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" | |||
9 | SECTION = "utils" | 9 | SECTION = "utils" |
10 | 10 | ||
11 | LICENSE = "LGPLv2+ & GPLv2 & GPLv2+" | 11 | LICENSE = "LGPLv2+ & GPLv2 & GPLv2+" |
12 | LIC_FILES_CHKSUM = "file://README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22" | 12 | LIC_FILES_CHKSUM = "file://../README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22" |
13 | |||
14 | PV .= "+git${SRCPV}" | ||
13 | 15 | ||
14 | SRC_URI = "git://pagure.io/sanlock.git;protocol=http \ | 16 | SRC_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 | " |
17 | SRCREV = "7afe0e66f5c7f24894896fad20ffa6f39733d80f" | 19 | SRCREV = "cff348800722f7dadf030ffe7494c2df714996e3" |
18 | S = "${WORKDIR}/git" | 20 | |
21 | S = "${WORKDIR}/git/python" | ||
19 | 22 | ||
20 | DEPENDS = "libaio util-linux" | 23 | DEPENDS = "libaio util-linux" |
21 | 24 | ||
@@ -24,15 +27,13 @@ inherit distutils3 useradd | |||
24 | do_configure[noexec] = "1" | 27 | do_configure[noexec] = "1" |
25 | 28 | ||
26 | do_compile_prepend () { | 29 | do_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 | ||
32 | do_install_prepend () { | 34 | do_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 | ||
38 | SANLOCKGROUP ?= "sanlock" | 39 | SANLOCKGROUP ?= "sanlock" |