]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Fix support for db5 and db6
authorYuanjie Huang <Yuanjie.Huang@windriver.com>
Wed, 16 Dec 2015 09:40:38 +0000 (17:40 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Dec 2015 16:08:42 +0000 (16:08 +0000)
commit59934080f8311a810e7b5ce82a264d4b9de650ec
tree29fe5c753deba0537744178cc2aa55e4e308fc16
parent9ae79973cfdabd1b4dacddce32735c65fe3544e4
rpm: Fix support for db5 and db6

The previous attempt to let rpm configuration support both db5 and db6
has a flaw that when the building host provides db6 without its header
the db_create test will false pass. This new patch addresses this issue
by test against the DB_VERSION_MAJOR macro value, which is defined in
both db5 and db6's header.

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/rpm/rpm/rpm-db5-or-db6.patch