diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-11-30 18:59:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-17 17:24:51 +0000 |
commit | 2997a704fcf035b1f4d8517e6b7887d250cb2716 (patch) | |
tree | f25205a7a34998fc0412f3f9bfa01428d1fb0e98 /meta/classes/rootfs_rpm.bbclass | |
parent | 019ba25654cd3ae63a6b6c0f2d67da520bf10bc6 (diff) | |
download | poky-2997a704fcf035b1f4d8517e6b7887d250cb2716.tar.gz |
classes/rootfs_rpm: install smart instead of zypper in rpm-based images
Switch over to smart on the target when package-management is enabled.
(From OE-Core rev: 69f258a2422e6a6ae71834dd097ffa00a1784d9e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index d0b0d5793f..a507ad62e8 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -2,10 +2,10 @@ | |||
2 | # Creates a root filesystem out of rpm packages | 2 | # Creates a root filesystem out of rpm packages |
3 | # | 3 | # |
4 | 4 | ||
5 | ROOTFS_PKGMANAGE = "rpm zypper" | 5 | ROOTFS_PKGMANAGE = "rpm smartpm" |
6 | 6 | ||
7 | # Add 50Meg of extra space for zypper database space | 7 | # Add 50Meg of extra space for Smart |
8 | IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "zypper", " + 51200", "" ,d)}" | 8 | IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm", " + 51200", "" ,d)}" |
9 | 9 | ||
10 | # Smart is python based, so be sure python-native is available to us. | 10 | # Smart is python based, so be sure python-native is available to us. |
11 | EXTRANATIVEPATH += "python-native" | 11 | EXTRANATIVEPATH += "python-native" |