← Back to team overview

ubuntu-phone team mailing list archive

Re: BUG: Ran out of space while installing ubuntu-sdk/go-qml directly on Nexus 4

 

hi,
Am Sonntag, den 16.03.2014, 09:42 -0400 schrieb David Marceau:
> On 03/16/2014 08:09 AM, Oliver Grawert wrote:
> > If you want to build apps for the target arch, setting up a cross
> > build environment is the way to go here ...
> 
> Why should I cross build when I can build directly on the target?
> I installed everything and actually built on the target.
> I was just missing a bit more space.

simply because the system is not designed as a build environment ... 

as I mentioned before you would only be able to install this setup once,
and upgrade/dist-upgrade would break by design, leaving you with having
to re-flash/re-setup the whole thing once something changes. dpkg's use
of hardlinks during package upgrades collides with the design of the
underlying system.

since we are using androids dd in recovery mode during install which can
not handle files above 2G adding a switch to ubuntu-device-flash would
simply break when trying to create a bigger loop image. 
The only solution would be to dd additional bytes to the end of the img
file and resize the partition and the filesystem from a separate tool,
but given the above constraint this would not help with making apt/dpkg
fully functional which is why we do not encourage using the system as a
development environment.

ciao
	oli

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References