diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-14 14:31:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:21:46 +0100 |
commit | e6837f785c7f6363697ca9a2d80df006d420ce92 (patch) | |
tree | 1a0d45633745c800148ca2c058da3a75ab760381 /meta/classes/rootfs_rpm.bbclass | |
parent | 6882d2d9993c8655a292c93e84ea01b4738a700d (diff) | |
download | poky-e6837f785c7f6363697ca9a2d80df006d420ce92.tar.gz |
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>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 16 |
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. | ||
44 | EXTRANATIVEPATH += "python-native" | ||
45 | |||
46 | do_populate_sdk[depends] += "rpm-native:do_populate_sysroot" | ||
47 | do_populate_sdk[depends] += "rpmresolve-native:do_populate_sysroot" | ||
48 | do_populate_sdk[depends] += "python-smartpm-native:do_populate_sysroot" | ||
49 | |||
50 | # Needed for update-alternatives | ||
51 | do_populate_sdk[depends] += "opkg-native:do_populate_sysroot" | ||
52 | |||
53 | # Creating the repo info in do_rootfs | ||
54 | do_populate_sdk[depends] += "createrepo-native:do_populate_sysroot" | ||
55 | |||
56 | rpmlibdir = "/var/lib/rpm" | ||
57 | |||
58 | do_populate_sdk[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock" | ||