[OE-core] [PATCH 1/8] rootfs_rpm: Add 50Meg to image size for zypper

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jul 8 14:52:21 UTC 2011


On Thu, 2011-07-07 at 22:42 -0700, Saul Wold wrote:
> On 07/07/2011 04:38 PM, Richard Purdie wrote:
> > On Thu, 2011-07-07 at 16:31 -0700, Saul Wold wrote:
> >> [YOCTO #1171]
> >>
> >> Add /var space for zypper due to its space usage for db maintence
> >
> > This hasn't been tested for opkg/deb and is missing something like:
> >
> > ZYPPER_VAR_DB_SPACE ??= 0
> >
> > I'd suggest we just change this to append " + 51200" to
> > IMAGE_ROOTFS_EXTRA_SPACE. I'd also like this only to happen when we're
> > actually installing zypper so the minimal images are unaffected...
> >
> I can do the + 51200, but I have not figured out how to do the check for 
> zypper, maybe it's something straight forward, but I am not finding a 
> way to do it easily.

How about something like:

IMAGE_ROOTFS_EXTRA_SPACE += "${@base_contains("PACKAGE_INSTALL", "zypper", " + 51200", "" ,d)}"

?

Not perfect but should basically work for what we need until we find a
bettr fix for zypper itself.

Cheers,

Richard





More information about the Openembedded-core mailing list