Questo è lo script che avvierei sulla VPS
cd /root/
git clone git://github.com/mozilla-b2g/B2G.git
# adb pull /system ~/Documents/system
# adb pull /data ~/Documents/data
cd /root/B2G/
#./config.sh flame
BRANCH=master ./config.sh flame-kk
git pull
./repo sync
./build.sh -j4
cd /root/
hg clone
http://hg.mozilla.org/gaia-l10n/it gaia-l10n/it
mkdir -p B2G/gaia/shared/resources/
touch B2G/gaia/shared/resources/languages.json
echo '{' >> B2G/gaia/shared/resources/languages.json
echo ' "en-US" : "English (US)",' >> B2G/gaia/shared/resources/languages.json
echo ' "it" : "Italian"' >> B2G/gaia/shared/resources/languages.json
echo ' }' >> B2G/gaia/shared/resources/languages.json
hg clone
http://hg.mozilla.org/l10n-central/it gecko-l10n/it
hg clone
http://hg.mozilla.org/build/compare-localesexport LOCALE_BASEDIR=$PWD/gaia-l10n
export LOCALES_FILE=$PWD/B2G/gaia/shared/resources/languages.json
export L10NBASEDIR=$PWD/gecko-l10n
export MOZ_CHROME_MULTILOCALE="it"
export PATH="$PATH:$PWD/compare-locales/scripts"
export PYTHONPATH="$PWD/compare-locales/lib"
cd /root/B2G/device/t2m/flame
./extract-files.sh
export MOZILLA_OFFICIAL=1
cd /root/B2G/
rm -rf out
rm -rf objdir-gecko
GAIA_KEYBOARD_LAYOUTS=en,it ./build.sh -j4
./build.sh gecko-update-full
cp objdir-gecko/dist/b2g-update/b2g-gecko-update.mar /var/www/ota
E il server sarà questo
www.fxosbuild.tkPer crare il file update.xml sembra basti avviare questo script
https://raw.githubusercontent.com/mozilla-b2g/B2G/master/tools/update-tools/build-update-xml.py dicendogli che il file mar si trova in
www.fxosbuild.tk/ota