Closed
Bug 758718
Opened 12 years ago
Closed 12 years ago
Move default.xml generation into b2g build system
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Unassigned)
Details
The QA builds that are produced include a default.xml which specifies all the commits used to generate the build, and which can be used to reproduce the build exactly. We should move this functionality into the B2G build system, so that such a default.xml is generated for every build and installed in the system.img. Currently, the script that does this is at https://github.com/jonallengriffin/b2gautomation/blob/master/b2gautomation/make_template_manifest.py It uses a git module that isn't part of the Python stdlib, so we should probably rewrite this just to shell out to git.
Comment 1•12 years ago
|
||
Should be fixed AIUI.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 2•12 years ago
|
||
Yup, it is! I added an 'add-revision.py' script that does the leg-work: https://github.com/mozilla-b2g/gonk-misc/blob/master/add-revision.py And hooked it into the build system: https://github.com/mozilla-b2g/gonk-misc/blob/master/Android.mk#L60 The result is a file that is installed onto the devices at '/system/sources.xml' that contains the sha-1 commit id for each repository in the revision attribute for each project in the xml. If the commit is tagged, the tag appears as a comment. One reason for this is that repo doesn't like to have revision attributes set to tag names. Branches and commit ids work.
You need to log in
before you can comment on or make changes to this bug.
Description
•