Gaia v2.5 on ZTE open C without spark

Hi,

I try to build FirefoxOS v2.5 for ZTE Open C without spark (new phone for my son).
BRANCH=v2.5 ./config.sh openc-fr ./build.sh ./build.sh gecko-update-fota

build is ok and I have out/target/product/zte_p821a10/fota/partial/update.zip file.

When I start the installation in the recovery, it lasts a long time (>30mn).

Here is the faulty file : META-INF/com/google/android/updater-script
this file is large (>5Mo) and contains many duplicates (up to 8 iterations of the same command) : https://transfer.sh/11EE81/updater-script

Someone would have an idea of what happens (I’ve cleaned, rebuilt several times and I’ve the same result) ?

Thanks

with the help of @dattaz, the archive is now OK :

git clone git://github.com/mozilla-b2g/B2G.git cd B2G B2GDIR=$(pwd) BRANCH=v2.5 ./config.sh flame-kk ../openc.xml cd $B2GDIR/hardware/libhardware git reset --hard HEAD git apply --check ../../../patch/0001-Remove-QCOM-added-HAL-API.patch git apply ../../../patch/0001-Remove-QCOM-added-HAL-API.patch cd $B2GDIR/external/bluetooth/bluedroid git reset --hard HEAD git apply --check ../../../../patch/0001-Remove-CAF-HAL-modification.patch git apply ../../../../patch/0001-Remove-CAF-HAL-modification.patch cd $B2GDIR/gecko git reset --hard HEAD git apply --check ../../patch/home_light_v2.patch git apply ../../patch/home_light_v2.patch cd $B2GDIR ./build.sh ./build.sh libbt-hci ./build.sh bluetooth.default wget https://raw.githubusercontent.com/mozilla-b2g/device-openc/jb-openc_fr/recovery.fstab cp recovery.fstab $B2GDIR/device/t2m/flame/ .... etc ...etc ...

0001-Remove-QCOM-added-HAL-API.patch and 0001-Remove-CAF-HAL-modification.patch are from bug https://bugzilla.mozilla.org/show_bug.cgi?id=1213591