Bug 1201540 - Producing FOTA packages for foxfood. r=wcosta

Foxfood devices are Sony Xperia Z3c devices. We need to be able to push
updates of the Gonk layer to fix some bugs. Those requires changes to
the kernel, to boot partition and to some other assets. Hence we add
support for producing all kind of updates packages we might need on that
device:
 - ota, to update just Gecko/Gaia
 - fota, to update Gecko/Gaia in recovery mode
 - fota:fullimg, to be able to update gonk also
This commit is contained in:
Alexandre Lissy 2015-11-04 07:47:00 +01:00
Родитель 00d0eac6d3
Коммит 49d35629e7
3 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -11,13 +11,15 @@
"upload_files": [
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
"{objdir}/dist/b2g-*.tar.gz",
"{workdir}/sources.xml"
"{workdir}/sources.xml",
"{workdir}/out/target/product/aries/fota-*-update-*.mar"
],
"public_upload_files": [
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
"{objdir}/dist/b2g-*.tar.gz",
"{workdir}/sources.xml",
"{objdir}/dist/b2g-update/*.mar"
"{objdir}/dist/b2g-update/*.mar",
"{workdir}/out/target/product/aries/fota-*-update.mar"
],
"zip_files": [
["{workdir}/out/target/product/aries/*.img", "out/target/product/aries/"],

Просмотреть файл

@ -7,10 +7,8 @@ config = {
'build',
'build-symbols',
'make-updates',
'prep-upload',
'submit-to-balrog'
'prep-upload'
],
"balrog_credentials_file": "balrog_credentials",
"nightly_build": True,
"env": {
"GAIA_OPTIMIZE": "1",
@ -21,8 +19,10 @@ config = {
"BOWER_FLAGS": "--allow-root",
"B2G_PATH": "%(work_dir)s",
"GAIA_DISTRIBUTION_DIR": "%(work_dir)s/gaia/distros/spark",
"WGET_OPTS": "-c -q"
"WGET_OPTS": "-c -q",
"B2G_FOTA_FULLIMG_PARTS": "/boot:boot.img /system:system.img /recovery:recovery.img"
},
"update_types": [ "ota", "fota", "fota:fullimg" ],
"is_automation": True,
"repo_remote_mappings": {
'https://android.googlesource.com/': 'https://git.mozilla.org/external/aosp',

Просмотреть файл

@ -16,7 +16,6 @@ task:
env:
VARIANT: userdebug
DOGFOOD: 1
HARDWARE_COMPOSER: 0
MOZHARNESS_CONFIG: b2g/taskcluster-spark-dogfood.py
extra:
treeherderEnv: