summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-11-30 18:59:39 +0000
committerSaul Wold <sgw@linux.intel.com>2012-12-14 15:17:18 -0800
commit69f258a2422e6a6ae71834dd097ffa00a1784d9e (patch)
tree94b2d90cab6d8910dea9f53b9f65e921fdc9e88b
parenta726ae7c032fac1aa49ce34180fa2ed2dcaf87d3 (diff)
downloadopenembedded-core-69f258a2422e6a6ae71834dd097ffa00a1784d9e.tar.gz
openembedded-core-69f258a2422e6a6ae71834dd097ffa00a1784d9e.tar.bz2
openembedded-core-69f258a2422e6a6ae71834dd097ffa00a1784d9e.zip
classes/rootfs_rpm: install smart instead of zypper in rpm-based images
Switch over to smart on the target when package-management is enabled. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/rootfs_rpm.bbclass6
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 @@
# Creates a root filesystem out of rpm packages
#
-ROOTFS_PKGMANAGE = "rpm zypper"
+ROOTFS_PKGMANAGE = "rpm smartpm"
-# Add 50Meg of extra space for zypper database space
-IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "zypper", " + 51200", "" ,d)}"
+# Add 50Meg of extra space for Smart
+IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm", " + 51200", "" ,d)}"
# Smart is python based, so be sure python-native is available to us.
EXTRANATIVEPATH += "python-native"