1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

classes: Combine rootfs_<pkgtype> and populate_sdk_<pkgtype>

There is no real reason to have these separate files any longer. It does
mean in meta-toolchain type recipes some extra variables are defined but
it also means the common code can be grouped and maintained together
which I believe is more beneficial. We therefore merge the classes.

(From OE-Core rev: 2cf42b49003494e1b10775523c9a2547eaf16ea4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2014-08-14 14:31:40 +01:00
parent 6882d2d999
commit e6837f785c
7 changed files with 38 additions and 38 deletions
+16
View File
@@ -40,3 +40,19 @@ python () {
d.setVar('RPM_POSTPROCESS_COMMANDS', '')
}
# Smart is python based, so be sure python-native is available to us.
EXTRANATIVEPATH += "python-native"
do_populate_sdk[depends] += "rpm-native:do_populate_sysroot"
do_populate_sdk[depends] += "rpmresolve-native:do_populate_sysroot"
do_populate_sdk[depends] += "python-smartpm-native:do_populate_sysroot"
# Needed for update-alternatives
do_populate_sdk[depends] += "opkg-native:do_populate_sysroot"
# Creating the repo info in do_rootfs
do_populate_sdk[depends] += "createrepo-native:do_populate_sysroot"
rpmlibdir = "/var/lib/rpm"
do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock"