Comment 7 for bug 813296

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 813296] Re: lmc doesn't create partition large enough, fails to deallocate loopback on failure

On Thu, 2011-07-21 at 19:44 +0000, James Westby wrote:
> On Thu, 21 Jul 2011 14:22:22 -0000, Guilherme Salgado <email address hidden> wrote:
> > Would it be reasonable to just increase the default size? If so, would
> > 2.5G be enough or should we go to 3GB?
>
> Given we don't have a way to express the default size that should be
> used in the image we should just pick one. I would go for 3GB here.

That's true, but we could easily hard-code a check to not allow attempts
to build Ubuntu images with less than 2GB.

> Perhaps we could sum the sizes of the image file and hwpacks and pick a
> default based on that.

That's certainly a more robust alternative. We should do something
similar for SD cards as well