mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
package: Move pkgdata handling functions to oe.packagedata
To avoid reparsing the bbclass code all the time, move the functions to the packagedata python function library code which is more efficient. (From OE-Core rev: f520a3039540b1183b1b2bdaaf8b9195995c0187) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -203,6 +203,7 @@ fakeroot python do_rootfs () {
|
||||
from oe.rootfs import create_rootfs
|
||||
from oe.manifest import create_manifest
|
||||
import logging
|
||||
import oe.packagedata
|
||||
|
||||
logger = d.getVar('BB_TASK_LOGGER', False)
|
||||
if logger:
|
||||
@@ -247,9 +248,9 @@ fakeroot python do_rootfs () {
|
||||
# otherwise, the multilib renaming could step in and squash any fixups that
|
||||
# may have occurred.
|
||||
pn = d.getVar('PN')
|
||||
runtime_mapping_rename("PACKAGE_INSTALL", pn, d)
|
||||
runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", pn, d)
|
||||
runtime_mapping_rename("BAD_RECOMMENDATIONS", pn, d)
|
||||
oe.packagedata.runtime_mapping_rename("PACKAGE_INSTALL", pn, d)
|
||||
oe.packagedata.runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", pn, d)
|
||||
oe.packagedata.runtime_mapping_rename("BAD_RECOMMENDATIONS", pn, d)
|
||||
|
||||
# Generate the initial manifest
|
||||
create_manifest(d)
|
||||
|
||||
Reference in New Issue
Block a user