]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:50 +0000 (16:08 +0000)
commit95a79a503567c5eb51566aa18ebb79a5068ef5eb
tree9df5bfb614538e50d55ae1cba8fec33833f1b286
parent75cec07a03da6ecbc4ca8ecc2ef78fac4b94d4b3
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.

(From OE-Core rev: 59934080f8311a810e7b5ce82a264d4b9de650ec)

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