Patchwork [3/6] classes/rootfs_rpm: install smart instead of zypper in rpm-based images

login
register
mail settings
Submitter Mark Hatle
Date Dec. 4, 2012, 7:49 p.m.
Message ID <2c15330a3c79836b20f2ebab126536a95095b7c3.1354650148.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/40353/
State New
Headers show

Comments

Mark Hatle - Dec. 4, 2012, 7:49 p.m.
From: Paul Eggleton <paul.eggleton@linux.intel.com>

Switch over to smart on the target when package-management is enabled.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/rootfs_rpm.bbclass |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 01a7767..17de9dc 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)}"
 
 # Postinstalls on device are handled within this class at present
 ROOTFS_PKGMANAGE_BOOTSTRAP = ""