On 06/03/2020 04:40 PM, Richard Purdie wrote:
On Wed, 2020-06-03 at 13:48 +0800, Chen Qi wrote:
On target, when running `db_verify /var/lib/rpm/Packages', we get
the following error.
db_verify: BDB0571 library build did not include support for database
verification
Enable the 'verify' PACKAGECONFIG to avoid such issue.
Signed-off-by: Chen Qi <[email protected]>
---
meta/recipes-support/db/db_5.3.28.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/db/db_5.3.28.bb
b/meta/recipes-support/db/db_5.3.28.bb
index 3a0923ae36..b64c4c089a 100644
--- a/meta/recipes-support/db/db_5.3.28.bb
+++ b/meta/recipes-support/db/db_5.3.28.bb
@@ -61,7 +61,7 @@ DB5_CONFIG ?= "--enable-o_direct --disable-cryptography
--disable-queue --disabl
EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx --with-sysroot STRIP=true"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "verify"
PACKAGECONFIG[verify] = "--enable-verify, --disable-verify"
PACKAGECONFIG[dbm] = "--enable-dbm,--disable-dbm,"
Do we ever need to run this on target? I'm wondering why we need this
and what the implications are (extra size to the binaries?). Perhaps we
just shouldn't ship that binary if verify isn't enabled?
Cheers,
Richard
Thanks. I've sent out a new patch.
Regards,
Chen Qi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#139244):
https://lists.openembedded.org/g/openembedded-core/message/139244
Mute This Topic: https://lists.openembedded.org/mt/74644508/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-