diff options
author | Yuanjie Huang <Yuanjie.Huang@windriver.com> | 2015-12-16 17:40:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:08:50 +0000 |
commit | 95a79a503567c5eb51566aa18ebb79a5068ef5eb (patch) | |
tree | 9df5bfb614538e50d55ae1cba8fec33833f1b286 /scripts/lib/scriptutils.py | |
parent | 75cec07a03da6ecbc4ca8ecc2ef78fac4b94d4b3 (diff) | |
download | poky-95a79a503567c5eb51566aa18ebb79a5068ef5eb.tar.gz |
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>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions