]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: fix bitbake package-index failed
authorHongxu Jia <hongxu.jia@windriver.com>
Tue, 13 Sep 2016 08:48:32 +0000 (04:48 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Sep 2016 14:15:33 +0000 (15:15 +0100)
commit3c8c8501d0a19b566a94a9e06afe40642b444958
treeec7a81ebbaa4a939d73e35b47fe67b9d02d2b80a
parent31c6c8150394de067085be5b0058037077860a8a
package_manager.py: fix bitbake package-index failed

Previously the following commit in oe-core move RPM metadata
from DEPLOY_DIR to WORKDIR.
-----------
commit a92c196449c516fe51786d429078bbb1213bb029
Author: Stephano Cetola <stephano.cetola@linux.intel.com>
Date:   Wed Aug 10 13:03:16 2016 -0700

    Allow for simultaneous do_rootfs tasks with rpm

    Give each rootfs its own RPM channel to use.  This puts the RPM metadata
    in a private subdirectory of $WORKDIR, rather than living in DEPLOY_DIR
    where other tasks may race with it.
-----------

In the modification of 'class RpmIndexer, it should not
directly set arch_dir with WORKDIR. It caused 'bitbake
package-index' could not work correctly.

Assign WORKDIR as input parameter at RpmIndexer initial time
could fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/package_manager.py