]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jun 2020 06:46:55 +0000 (07:46 +0100)
commitb5ffdb296f211403f987b5d5a724a94ee91dc80c
treec70eb918b291ea6cc2d1f116803270dfd2f98e15
parentd908ca51b72f4ba417e7573ae3d953535f53286c
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>
meta/recipes-support/db/db_5.3.28.bb