Packaging Android host utilities: Difference between revisions

Jump to navigation Jump to search
added section on downloading existing archives
(Fixed numbered lists, moved elfhack reference near the file operations section)
(added section on downloading existing archives)
Line 8: Line 8:


=== Linux ===
=== Linux ===
==== Generating new archive ====


Follow these steps to locate and download the necessary files.
Follow these steps to locate and download the necessary files.
Line 41: Line 43:
''replace the version numbers as appropriate.''
''replace the version numbers as appropriate.''


2. Ensure uploading user has a valid token at [https://mozilla-releng.net/tokens/ Mozilla Releng].
2. Compare contents of current archive to the new archive. For instructions on existing archive, see the section below.
 
3. Ensure uploading user has a valid token at [https://mozilla-releng.net/tokens/ Mozilla Releng].


3. Upload the archive:
4. Upload the archive:


<pre>
<pre>
Line 49: Line 53:
</pre>
</pre>


4. Update the manifest in testing/config/tooltool-manifests/linux64/hostutils.manifest.
5. Update the manifest in testing/config/tooltool-manifests/linux64/hostutils.manifest.


5. Repeat, using "Linux opt" archives, for 32 bit.
6. Repeat, using "Linux opt" archives, for 32 bit.


=== Mac OS X ===
=== Mac OS X ===
Line 66: Line 70:
find bin -type f -perm +111 -print | grep -v \\. | xargs sudo codesign --force --deep --sign -
find bin -type f -perm +111 -print | grep -v \\. | xargs sudo codesign --force --deep --sign -
mv bin host-utils-37.0a2.en-US.mac
mv bin host-utils-37.0a2.en-US.mac
</pre>
=== Download existing archive ===
It is possible to download existing host utilities.
1. locate the existing <pre>manifest</pre> file using [https://searchfox.org/mozilla-central/source/testing/config/tooltool-manifests/linux64/hostutils.manifest SearchFox] for both 32bit and 64bit.
2. using ToolTool, download the host utilities:
<pre>
python tooltool.py fetch -m old_hostutils_manifest.tt
</pre>
</pre>
74

edits

Navigation menu