summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
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:35:55 +0100
commita785157c7d78bd4becdc03c93a21a5dba37015b9 (patch)
tree46461f77c53cddf029c8bee725fea2f1b27838e3 /meta/recipes-support
parent5b7fd7a945f8eeece51f01ad20a6de12fea89433 (diff)
downloadopenembedded-core-a785157c7d78bd4becdc03c93a21a5dba37015b9.tar.gz
openembedded-core-a785157c7d78bd4becdc03c93a21a5dba37015b9.tar.bz2
openembedded-core-a785157c7d78bd4becdc03c93a21a5dba37015b9.zip
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. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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"
#configuration - set in local.conf to override
# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix)
-DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-verify --disable-compat185 --disable-sql"
+DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-compat185 --disable-sql"
EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx --with-sysroot STRIP=true"
+PACKAGECONFIG[verify] = "--enable-verify, --disable-verify"
+
EXTRA_OEMAKE += "LIBTOOL='./${HOST_SYS}-libtool'"
EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java"