Hi fredy,

----- Original Message -----
> From: "Alfredos (fredy) Damkalis" <[email protected]>
> To: [email protected]
> Sent: Wednesday, May 15, 2013 3:53:07 PM
> Subject: Re: [b2g] Creating a flashable zip?
> 
> That is definitely better way, thanks for sharing.
> 
> Do you know if this also includes the boot.img in any way?

I'm pretty sure that it does not.

> P.S. So, the system location is the /dev/block/<partition> of the
> system
> on the device.
> 
> On 05/16/2013 01:07 AM, Dave Hylands wrote:
> > Hi,
> >
> > I've used the following script in the past to create a FOTA update
> > for my unagi:
> >
> > ----- Start of fota-create.sh -----
> > #!/bin/bash
> >
> > SCRIPT_NAME=$(basename $0)
> > . load-config.sh
> >
> > mkdir -p fota
> >
> > set -x
> > tools/update-tools/build-flash-fota.py \
> >      --system-dir out/target/product/${DEVICE}/system \
> >      --system-fs-type ext4 \
> >      --system-location /dev/block/mmcblk0p19 \
> >      --data-fs-type ext4 \
> >      --data-location /dev/block/mmcblk0p22 \
> >      --output fota/update.zip
> >
> > tools/update-tools/build-fota-mar.py \
> >      --output fota/update.mar fota/update.zip
> > ----- End of fota-create.sh -----
> >
> > You may need to adjust the system/data location and fs-types as
> > approriate. You should be able to determine the correct
> > locations/type for the system and data partitions by doing
> > something like:
> >
> > adb shell mount | grep /system
> > adb shell mount | grep /data
> >
> > Dave Hylands
...snip...
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to