summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass16
1 files changed, 16 insertions, 0 deletions
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 () {
40 d.setVar('RPM_POSTPROCESS_COMMANDS', '') 40 d.setVar('RPM_POSTPROCESS_COMMANDS', '')
41 41
42} 42}
43# Smart is python based, so be sure python-native is available to us.
44EXTRANATIVEPATH += "python-native"
45
46do_populate_sdk[depends] += "rpm-native:do_populate_sysroot"
47do_populate_sdk[depends] += "rpmresolve-native:do_populate_sysroot"
48do_populate_sdk[depends] += "python-smartpm-native:do_populate_sysroot"
49
50# Needed for update-alternatives
51do_populate_sdk[depends] += "opkg-native:do_populate_sysroot"
52
53# Creating the repo info in do_rootfs
54do_populate_sdk[depends] += "createrepo-native:do_populate_sysroot"
55
56rpmlibdir = "/var/lib/rpm"
57
58do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock"