]> code.ossystems Code Review - openembedded-core.git/commit
db: do not install db_verify if 'verify' is not enabled
authorChen Qi <Qi.Chen@windriver.com>
Fri, 5 Jun 2020 02:09:45 +0000 (10:09 +0800)
committerSteve Sakoman <steve@sakoman.com>
Tue, 16 Jun 2020 20:14:02 +0000 (10:14 -1000)
commitb45f1a3b8007ab34dcbe0cba365823da179d0c50
treebd9a260261f8e1342a0cac7c1e9c18f7255bc1c4
parentdce2315ea2e0f14854fa43994eede04848cd624c
db: do not install db_verify if 'verify' is not enabled

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

This is because db_verify is installed but 'verify' PACKAGECONFIG is
not enabled. So fix it by not installing do_verify in such case.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5ffdb296f211403f987b5d5a724a94ee91dc80c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/db/db_5.3.28.bb