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
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to