]> code.ossystems Code Review - openembedded-core.git/commit
createrepo: Implement --dbpath command line option
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 1 Apr 2015 12:09:18 +0000 (15:09 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Apr 2015 11:00:53 +0000 (12:00 +0100)
commit7dc6d50ac1fc20a262b62330d950a8e30acdf0b6
tree842ce8f1337843a6305f67151fbb71f7f81ecee0
parent9e4880c5bee33032142bee18a63d7f4a9db4a55a
createrepo: Implement --dbpath command line option

--dbpath option can be used in cases where users don't want
createrepo to use system rpm db to avoid possible collisiouns
with other programs.

For bitbake builds it would be possible to specify different
databases even for every createrepo run. Considering that rootfs
builds can run multiple createrepo in parallel, it can help to avoid
race conditions caused by accessing or creating the same rpm database
by multiple createrepo instances at the same time.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/createrepo/createrepo/createrepo-dbpath.patch [new file with mode: 0644]
meta/recipes-support/createrepo/createrepo_0.4.11.bb