Packaging Android host utilities: Difference between revisions

Line 7: Line 7:
=== Linux ===
=== Linux ===


Preparing for Linux is dead simple.
For the version 60 update, host-utils was based on builds from https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=bb369804a51e7665c0b44d3778681ca132cb1c2c. See bug 1433279. For each of "Linux opt" and "Linux x64 opt", the build's target.tar.bz2 and target.common.tests.zip were downloaded.
 
<pre>
wget http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/firefox-37.0a2.en-US.linux-x86_64.tar.bz2
tar jxf firefox-37.0a2.en-US.linux-x86_64.tar.bz2
rm -rf firefox/firefox* firefox/components
wget http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/firefox-37.0a2.en-US.linux-x86_64.tests.zip
unzip firefox-37.0a2.en-US.linux-x86_64.tests.zip "bin/*"
mv bin/* firefox
mv firefox host-utils-37.0a2.en-US.linux-x86_64
</pre>
For the version 58 update, host utils was based on builds from https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=dab1c5badddbf3dafd34b52700c3e1129f76d632. For each of "Linux opt" and "Linux x64 opt", the build's target.tar.bz2 and target.common.tests.zip were downloaded.
<pre>
<pre>
tar xvf target.tar.bz2
tar xvf target.tar.bz2
Line 25: Line 14:
rm -r firefox/browser
rm -r firefox/browser
mv bin/* firefox
mv bin/* firefox
mv firefox host-utils-58.0a1.en-US.linux-x86_64
mv firefox host-utils-60.0a1.en-US.linux-x86_64
</pre>
</pre>
If preparing a new archive for upload to tooltool:
If preparing a new archive for upload to tooltool:
<pre>
<pre>
tar cvf host-utils-37.0a2.en-US.linux-x86_64.tar host-utils-37.0a2.en-US.linux-x86_64
tar cvf host-utils-60.0a1.en-US.linux-x86_64.tar host-utils-60.0a1.en-US.linux-x86_64
gzip host-utils-37.0a2.en-US.linux-x86_64.tar
gzip host-utils-60.0a1.en-US.linux-x86_64.tar
</pre>
</pre>
Then upload host-utils-37.0a2.en-US.linux-x86_64.tar.gz to tooltool and update the manifest in testing/config/tooltool-manifests/linux64/hostutils.manifest.  
Then upload host-utils-60.0a1.en-US.linux-x86_64.tar.gz to tooltool and update the manifest in testing/config/tooltool-manifests/linux64/hostutils.manifest.  


Repeat, using another archive, for 32 bit.
Repeat, using "Linux opt" archives, for 32 bit.


=== Mac OS X ===
=== Mac OS X ===
Confirmed users
1,759

edits