Bug 1291365 - Support installing Mercurial on Ubuntu 12.04; r=dustin
authorGregory Szorc <gps@mozilla.com>
Tue, 02 Aug 2016 12:10:25 -0700
changeset 308680 df3c13ea7d3eef0d751d2c020bb4d90c3dbdbc1e
parent 308679 62bd3cf6661dc4027b0401c5004e1384499ac989
child 308681 dba9f54f051241cab84429c8b98ea881f6d982c3
push id80407
push usercbook@mozilla.com
push dateTue, 09 Aug 2016 13:48:02 +0000
treeherdermozilla-inbound@99f20b0c58d0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1291365
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1291365 - Support installing Mercurial on Ubuntu 12.04; r=dustin I produced Mercurial .deb packages for Ubuntu 12.04 and uploaded them to tooltool. I have updated the Mercurial installation script to detect Ubuntu 12.04 and install the appropriate Mercurial packages. MozReview-Commit-ID: GsNFOhhms7b
testing/docker/recipes/install-mercurial.sh
--- a/testing/docker/recipes/install-mercurial.sh
+++ b/testing/docker/recipes/install-mercurial.sh
@@ -15,16 +15,25 @@ if [ -f /etc/lsb-release ]; then
         HG_DEB=1
         HG_DIGEST=7b1fc1217e0dcaeea852b0af2dc559b1aafb704fbee7e29cbec75af57bacb84910a7ec92b5c33f04ee98f23b3a57f1fa451173fe7c8a96f58faefe319dc7dde1
         HG_SIZE=44878
         HG_FILENAME=mercurial_3.8.4_amd64.deb
 
         HG_COMMON_DIGEST=b476e2612e7495a1c7c5adfd84511aa7479e26cc9070289513ec705fbfc4c61806ce2dbcceca0e63f2e80669be416f3467a3cebb522dcb8a6aeb62cdd3df82f2
         HG_COMMON_SIZE=1818422
         HG_COMMON_FILENAME=mercurial-common_3.8.4_all.deb
+    elif [ "${DISTRIB_ID}" = "Ubuntu" -a "${DISTRIB_RELEASE}" = "12.04" ]; then
+        HG_DEB=1
+        HG_DIGEST=96366b6baac26017a2ef9cd0bbbba4f18756e02921b0ff3541f677484d53d2041f01202b743ea8cdb96db58e88317da18befefc9711a085b054f9abc3dad1679
+        HG_SIZE=54992
+        HG_FILENAME=mercurial_3.8.4_amd64.deb
+
+        HG_COMMON_SIZE=2946616
+        HG_COMMON_DIGEST=96c6bc305ae85f16885d0b6ac6800361d680811346a01338a56a2174a3c0ae5d86bbd827d93fe8c59d71acd2e1cc7d6e79e39a179836d5695cbfa3b370982ee5
+        HG_COMMON_FILENAME=mercurial-common_3.8.4_all.deb
     fi
 fi
 
 if [ -n "${HG_DEB}" ]; then
 tooltool_fetch <<EOF
 [
 {
     "size": ${HG_SIZE},