← Back to team overview

ubuntu-phone team mailing list archive

Re: Renaming the Ubuntu system.img to avoid confusion?

 

On Wed, Jun 4, 2014 at 8:15 PM, Dimitri John Ledkov <xnox@xxxxxxxxxx> wrote:
> On 4 June 2014 20:26, Jani Monoses <jani.monoses@xxxxxxxxxxxxx> wrote:
>> Due to it being called system.img when it was actually flashed to the
>> Android system partition, the Ubuntu root filesystem image residing under
>> /data/system.img can be easily confused with the Android system.img that is
>> under /var/lib/lxc/android/system.img _inside_ the Ubuntu system.img.
>>
>> How about moving away and calling the Ubuntu image ubuntu.img ?
>> Here's a patch to the system-image-upgrader script
>>
>> https://code-review.phablet.ubuntu.com/#/c/252/
>>
>> and one to the initramfs script
>>
>> https://code.launchpad.net/~jani/ubuntu/utopic/initramfs-tools-ubuntu-touch/image-name/+merge/222091
>>
>> They both preserve working with system.img by hardlinking the two names to
>> the same file, but prefer ubuntu.img when creating a new image or mounting
>> one.
>>
>> thoughts?
>> Jani
>
> The other ongoing plan is to get rid of loop-mounting image files, and
> instead have them on separate partitions.
> Such that "ubuntu.img" is actually just a normal, e.g. GPT partition
> with a label UBUNTU, and /var/lib/lxc/android/system.img is also a
> normal partition.

We'll have to support both use cases anyway, remember we still want to
have working nexus devices around (and without changing the partition
table for them).

Cheers,
-- 
Ricardo Salveti de Araujo


References