mongodb: Upgrade to 4.4.18

Use wildchar instead of /opt/ for build paths becasue it might be
different when building with ccache

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-01-29 18:16:03 -08:00
parent effbeeff2e
commit 7c82652b2a

View File

@@ -11,9 +11,9 @@ DEPENDS = "openssl libpcap zlib boost curl python3 \
inherit scons dos2unix siteinfo python3native systemd useradd
PV = "4.4.13"
#v4.4.13
SRCREV = "df25c71b8674a78e17468f48bcda5285decb9246"
PV = "4.4.18"
#v4.4.18
SRCREV = "8ed32b5c2c68ebe7f8ae2ebe8d23f36037a17dea"
SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \
file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \
file://0001-Use-long-long-instead-of-int64_t.patch \
@@ -103,8 +103,8 @@ scons_do_install() {
# install binaries
install -d ${D}${bindir}
for i in mongod mongos mongo; do
if [ -f ${B}/build/opt/mongo/$i ]; then
install -m 0755 ${B}/build/opt/mongo/$i ${D}${bindir}
if [ -f ${B}/build/*/mongo/$i ]; then
install -m 0755 ${B}/build/*/mongo/$i ${D}${bindir}
else
bbnote "$i does not exist"
fi