← Back to team overview

ubuntu-phone team mailing list archive

Renaming the Ubuntu system.img to avoid confusion?

 

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

Follow ups