diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-07-07 09:39:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-08 23:02:07 +0100 |
commit | 7061af381277a20e4df455daac9754b73fcbe467 (patch) | |
tree | e9d4a459aee147e2fd7a600d6d25b19a3d160b69 /meta/classes | |
parent | ab7530ab380fb39edc2acacebe7f1a36fa2ed4ba (diff) | |
download | poky-7061af381277a20e4df455daac9754b73fcbe467.tar.gz |
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
(From OE-Core rev: 05995abe8d74ed8a460f6c29b686f812f62b3d92)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
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 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | ROOTFS_PKGMANAGE = "rpm zypper" | 5 | ROOTFS_PKGMANAGE = "rpm zypper" |
6 | |||
7 | # Add 50Meg of extra space for zypper database space | ||
8 | IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "zypper", " + 51200", "" ,d)}" | ||
9 | |||
6 | # Postinstalls on device are handled within this class at present | 10 | # Postinstalls on device are handled within this class at present |
7 | ROOTFS_PKGMANAGE_BOOTSTRAP = "" | 11 | ROOTFS_PKGMANAGE_BOOTSTRAP = "" |
8 | 12 | ||