← Back to team overview

ubuntu-phone team mailing list archive

Re: How to setup my own system-image server

 

You can tar the device tarball by hand, it has two top directories,
partitions/ containing blobs to flash directly to mmc partitions of the
same name, and system/ which contains whatever is to be unpacked over the
ubuntu tarball.
We usually just put /var/lib/lxc/android/system.img there, which should be
a valid ext4 fs of the Android build (so transform it via simg2img if it is
built sparse by default).

You can automate this using the make-device-tarball script from here,
passing it a conf file based on the device-tarball.conf example
https://github.com/janimo/phablet-porting-scripts/tree/master/build

On Sun, Mar 22, 2015 at 1:54 PM, itviewer <login@xxxxxxxxxxxx> wrote:

>  Hi all,
>     Over the past few days, I have been troubled by this thing:How to
> setup my own system-image server for my Ubuntu Touch port with
> over-the-air updates,
>     Just like this link:http://system-image.tasemnice.eu
> <http://system-image.tasemnice.eu%22/> for nexus5.
>     I refer to the following link:
>
> https://www.stgraber.org/2014/02/11/your-own-ubuntu-touch-image-server/
>         https://wiki.ubuntu.com/ImageBasedUpgrades
>
>     However, these instructions do not mention the following things:
>     1、I know there are three separate components in an Ubuntu Touch image:
>
>    - Device tarball
>    - Ubuntu tarball
>    - Custom tarball
>
>       and I have build the Android stuff:boot.img、recovery.img、system.img
>       *However, how to generate the "Device tarball" with this three img
> files?*
>
> <http://www.google.cn/url?source=transpromo&rs=rssf&q=//translate.google.com/community?source=all>
>
> <http://www.google.cn/url?source=transpromo&rs=rssf&q=//translate.google.com/community?source=all>
>     2、Assuming I have set up the server,*What I need to do **to
> make the phone upgrades through my own **server **instead of the official
> server*?
>
>     Thanks.
>
> ------------------------------
> itviewer
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

References