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 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core