You have to gather the system *directory* and not the system.img from out/target/product/maguro/. Also, you need the boot.img file. Finally you don't have to generate the [META-INF] folder but just copy it from one other .zip build, for example a cyanogenmod build. Then zip them and sign them. check [1] for more details.

About the "SYSTEM_LOCATION", I guess it should be the system directory at out/target/product/maguro/.

fredy

[1] https://groups.google.com/group/mozilla.dev.b2g/browse_thread/thread/ce5498d6d4142cad

On 05/16/2013 12:40 AM, [email protected] wrote:
Hi all

I'm wanting to distribute my built image of Firefox OS for the Galaxy Nexus, 
but I'm struggling to find the ideal way of creating a flashable .zip to be 
flashed via Recovery. After a quick search on Google, I need to grab the 
system.img and boot.img from B2G/out/target/product/maguro/ and generate some 
sort of [META-INF] folder then zip those three into a .zip package and sign it. 
However, I'm not quite sure what I'm needing to include in the [META-INF] 
folder.

Looking at the B2G/tools/update-tools/ folder shows a script call 
"build-flash-fota.py" which might be what I'm looking for to help make a 
flashable .zip of my Firefox OS build. Looking through the help indicates that I require 
several extra commands to get it to work. I get to the part where I need to fill out this 
section:

" --system-location SYSTEM_LOCATION
                         device location for /system. required "

Does anyone know what I need to put for the "SYSTEM_LOCATION" part? I get the 
impression it's not documented clearly after doing a quick search on Google.

Any help?

Kind Regards
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to