]> code.ossystems Code Review - openembedded-core.git/commit
package_manager: call createrepo with --dbpath pointing inside WORKDIR
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 1 Apr 2015 11:17:06 +0000 (14:17 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Apr 2015 11:01:11 +0000 (12:01 +0100)
commitdb21bdcba5e2f646f0dc47295e8ea7e4d49a880d
treee0246c3e37ed1e1d1837796c1170fa58529fcb4a
parent32324c0d7f669083cc7066e6dfc8c58248fb5429
package_manager: call createrepo with --dbpath pointing inside WORKDIR

Rpm database in staging area is used only by createrepo.
createrepo fails with the error
"rpmdb: BDB0060 PANIC: fatal region error detected"
if rpm database is broken during previous run of createrepo.

Made createrepo to create rpm db in $WORKDIR/rpmdb/ from scratch
for every build and architecture. This should potentially fix the
failure as every run of createrepo will be using separate db.

[YOCTO #6571]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py