Packaging Android host utilities: Difference between revisions

Jump to navigation Jump to search
update mac os x build directions to handle artifact not being produced by the automated systems
(updating build to use (best guess) for windows)
(update mac os x build directions to handle artifact not being produced by the automated systems)
Line 39: Line 39:


Preparing for macOS is not quite so simple. Due to requirements of macOS, it's best to do this on a Mac OS X machine so that you can codesign the host utility binaries. If binaries are unsigned, users will be prompted at every invocation to "allow network connections". For more information on signing macOS binaries, see [http://apple.stackexchange.com/a/150711 here].
Preparing for macOS is not quite so simple. Due to requirements of macOS, it's best to do this on a Mac OS X machine so that you can codesign the host utility binaries. If binaries are unsigned, users will be prompted at every invocation to "allow network connections". For more information on signing macOS binaries, see [http://apple.stackexchange.com/a/150711 here].
# From the selected treeherder build, identify '''macOS opt'''.
# Click on the green B icon, which will bring up a pane covering bottom third of the window.
# On the bottom left pane is a header named '''Task'''. Click on the hash.
# A new tab will open and load Taskcluster. Click on tab named "Run Artifacts".
# Download target.common.tests.tar.zst
# Contact Releng (required to get a non-self-signed set of binaries), and have them follow the contents of the script below:
<pre>
tar xvf firefox-66.0a1.en-US.mac.common.tests.tar.gz 'bin/*'
open firefox-66.0a1.en-US.mac.dmg
cp -R /Volumes/Firefox\ Nightly/Firefox\ Nightly.app/Contents/MacOS/* bin
cp -R /Volumes/Firefox\ Nightly/Firefox\ Nightly.app/Contents/Resources/* bin
find bin -type f -perm +111 -print | grep -v \\. | xargs sudo codesign --force --deep --sign
mv bin host-utils-66.0a1.en-US.mac
tar cvf host-utils-66.0a1.en-US.mac.tar host-utils-66.0a1.en-US.mac/*
gzip host-utils-66.0a1.en-US.mac.tar
</pre>
===== prior process  =====
This isn't working now because we no longer publish the artifact.


# Navigate to [https://ftp.mozilla.org/pub/firefox/nightly/ Mozilla FTP].
# Navigate to [https://ftp.mozilla.org/pub/firefox/nightly/ Mozilla FTP].
23

edits

Navigation menu