summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/db
diff options
context:
space:
mode:
authorWenlin Kang <wenlin.kang@windriver.com>2019-08-09 16:39:48 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-13 09:37:37 +0100
commitd5d9dde006e2aa358a05bcdabea72610ddd35736 (patch)
treeabc3241e6267ded43f44c815a85afb1d3c5a4d52 /meta/recipes-support/db
parentd1100db5eb6ae18339dd7944cf9c52238790247b (diff)
downloadpoky-d5d9dde006e2aa358a05bcdabea72610ddd35736.tar.gz
db: add switch for building database verification
Add switch for building database verification, enable this, it will solve the following issue: root@qemux86-64:~# db_verify /var/lib/rpm/Packages db_verify: BDB0571 library build did not include support for database verification BDB5105 Verification of /var/lib/rpm/Packages failed. (From OE-Core rev: a785157c7d78bd4becdc03c93a21a5dba37015b9) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/db')
-rw-r--r--meta/recipes-support/db/db_5.3.28.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb
index 8975647daf..761d80c2fd 100644
--- a/meta/recipes-support/db/db_5.3.28.bb
+++ b/meta/recipes-support/db/db_5.3.28.bb
@@ -56,10 +56,12 @@ FILES_SOLIBSDEV = "${libdir}/libdb.so ${libdir}/libdb_cxx.so"
56 56
57#configuration - set in local.conf to override 57#configuration - set in local.conf to override
58# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) 58# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix)
59DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-verify --disable-compat185 --disable-sql" 59DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-compat185 --disable-sql"
60 60
61EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx --with-sysroot STRIP=true" 61EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx --with-sysroot STRIP=true"
62 62
63PACKAGECONFIG[verify] = "--enable-verify, --disable-verify"
64
63EXTRA_OEMAKE += "LIBTOOL='./${HOST_SYS}-libtool'" 65EXTRA_OEMAKE += "LIBTOOL='./${HOST_SYS}-libtool'"
64 66
65EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java" 67EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java"