зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
00d0eac6d3
Коммит
49d35629e7
|
@ -11,13 +11,15 @@
|
||||||
"upload_files": [
|
"upload_files": [
|
||||||
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
|
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
|
||||||
"{objdir}/dist/b2g-*.tar.gz",
|
"{objdir}/dist/b2g-*.tar.gz",
|
||||||
"{workdir}/sources.xml"
|
"{workdir}/sources.xml",
|
||||||
|
"{workdir}/out/target/product/aries/fota-*-update-*.mar"
|
||||||
],
|
],
|
||||||
"public_upload_files": [
|
"public_upload_files": [
|
||||||
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
|
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
|
||||||
"{objdir}/dist/b2g-*.tar.gz",
|
"{objdir}/dist/b2g-*.tar.gz",
|
||||||
"{workdir}/sources.xml",
|
"{workdir}/sources.xml",
|
||||||
"{objdir}/dist/b2g-update/*.mar"
|
"{objdir}/dist/b2g-update/*.mar",
|
||||||
|
"{workdir}/out/target/product/aries/fota-*-update.mar"
|
||||||
],
|
],
|
||||||
"zip_files": [
|
"zip_files": [
|
||||||
["{workdir}/out/target/product/aries/*.img", "out/target/product/aries/"],
|
["{workdir}/out/target/product/aries/*.img", "out/target/product/aries/"],
|
||||||
|
|
|
@ -7,10 +7,8 @@ config = {
|
||||||
'build',
|
'build',
|
||||||
'build-symbols',
|
'build-symbols',
|
||||||
'make-updates',
|
'make-updates',
|
||||||
'prep-upload',
|
'prep-upload'
|
||||||
'submit-to-balrog'
|
|
||||||
],
|
],
|
||||||
"balrog_credentials_file": "balrog_credentials",
|
|
||||||
"nightly_build": True,
|
"nightly_build": True,
|
||||||
"env": {
|
"env": {
|
||||||
"GAIA_OPTIMIZE": "1",
|
"GAIA_OPTIMIZE": "1",
|
||||||
|
@ -21,8 +19,10 @@ config = {
|
||||||
"BOWER_FLAGS": "--allow-root",
|
"BOWER_FLAGS": "--allow-root",
|
||||||
"B2G_PATH": "%(work_dir)s",
|
"B2G_PATH": "%(work_dir)s",
|
||||||
"GAIA_DISTRIBUTION_DIR": "%(work_dir)s/gaia/distros/spark",
|
"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,
|
"is_automation": True,
|
||||||
"repo_remote_mappings": {
|
"repo_remote_mappings": {
|
||||||
'https://android.googlesource.com/': 'https://git.mozilla.org/external/aosp',
|
'https://android.googlesource.com/': 'https://git.mozilla.org/external/aosp',
|
||||||
|
|
|
@ -16,7 +16,6 @@ task:
|
||||||
env:
|
env:
|
||||||
VARIANT: userdebug
|
VARIANT: userdebug
|
||||||
DOGFOOD: 1
|
DOGFOOD: 1
|
||||||
HARDWARE_COMPOSER: 0
|
|
||||||
MOZHARNESS_CONFIG: b2g/taskcluster-spark-dogfood.py
|
MOZHARNESS_CONFIG: b2g/taskcluster-spark-dogfood.py
|
||||||
extra:
|
extra:
|
||||||
treeherderEnv:
|
treeherderEnv:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче