From 2cf42b49003494e1b10775523c9a2547eaf16ea4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 14 Aug 2014 14:31:40 +0100 Subject: classes: Combine rootfs_ and populate_sdk_ 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. Signed-off-by: Richard Purdie --- meta/classes/rootfs_rpm.bbclass | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'meta/classes/rootfs_rpm.bbclass') diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 9e97d341d9..fb887e57fa 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -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" -- cgit v1.2.3