summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-07-07 09:39:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 23:01:20 +0100
commit05995abe8d74ed8a460f6c29b686f812f62b3d92 (patch)
tree452b52a6b22848db7f236c3942a7b4b9283c8df3 /meta/classes/rootfs_rpm.bbclass
parentf825e4ca619d3dc9c650343327a753eeb4a50e51 (diff)
downloadopenembedded-core-05995abe8d74ed8a460f6c29b686f812f62b3d92.tar.gz
openembedded-core-05995abe8d74ed8a460f6c29b686f812f62b3d92.tar.bz2
openembedded-core-05995abe8d74ed8a460f6c29b686f812f62b3d92.zip
rootfs_rpm: Add 50M to IMAGE_ROOTFS_EXTRA_SPACE for zypper /var space
[YOCTO #1171] This is a temporary fix to address the fact that zypper's db configuation uses a large amount of /var space. When the correct'ed zypper config can be applied, this fix can be removed. The zypper bug for yocto is 1174 http://bugzilla.pokylinux.org/show_bug.cgi?id=1174 Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 3a11858cd0..b554bae34e 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -3,6 +3,10 @@
#
ROOTFS_PKGMANAGE = "rpm zypper"
+
+# Add 50Meg of extra space for zypper database space
+IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "zypper", " + 51200", "" ,d)}"
+
# Postinstalls on device are handled within this class at present
ROOTFS_PKGMANAGE_BOOTSTRAP = ""