Bug 1405412 - Post: Remove JDK repackaging script. r=dustin
☠☠ backed out by 0e81b421af35 ☠ ☠
authorNick Alexander <nalexander@mozilla.com>
Thu, 05 Oct 2017 16:57:40 -0700
changeset 385898 44f885bc7c227aa6c6c7862629f55e2e16c1f4d4
parent 385897 5f4ff0de724256cc2ea9238f185169d4b08530cc
child 385899 280e60237f2c76ac0dfe9a45473cd1db81107c0b
push id32672
push userarchaeopteryx@coole-files.de
push dateFri, 13 Oct 2017 09:00:05 +0000
treeherdermozilla-central@3efcb26e5f37 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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 1405412 - Post: Remove JDK repackaging script. r=dustin I don't think (the output of) this script is used anywhere. MozReview-Commit-ID: DwMFtpozjNL
deleted file mode 100755
--- a/taskcluster/scripts/builder/build-android-dependencies/repackage-jdk-centos.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash -vex
-set -e -x
-: WORKSPACE ${WORKSPACE:=/builds/worker/workspace}
-set -v
-mkdir -p $WORKSPACE/java
-pushd $WORKSPACE/java
-# change these variables when updating java version
-# grab the rpm and unpack it
-wget ${mirror_url_base}/${openjdk}
-wget ${mirror_url_base}/${openjdk_devel}
-rpm2cpio $openjdk | cpio -ivd
-rpm2cpio $openjdk_devel | cpio -ivd
-cd usr/lib/jvm
-mv $jvm_openjdk_dir java_home
-# cacerts is a relative symlink, which doesn't work when we repackage.  Make it
-# absolute.  We could use tar's --dereference option, but there's a subtle
-# difference between making the symlink absolute and using --dereference.
-# Making the symlink absolute lets the consuming system set the cacerts; using
-# --dereference takes the producing system's cacerts and sets them in stone.  We
-# prefer the flexibility of the former.
-rm java_home/jre/lib/security/cacerts
-ln -s /etc/pki/java/cacerts java_home/jre/lib/security/cacerts
-# tzdb.dat is an absolute symlink, which might not work when we
-# repackage.  Copy the underlying timezone database.  Copying the
-# target file from the toolchain producing system avoids requiring the
-# consuming system to have java-tzdb installed, which would bake in a
-# subtle dependency that has been addressed in modern versions of
-# CentOS.  See https://bugzilla.redhat.com/show_bug.cgi?id=1130800 for
-# discussion.
-rm java_home/jre/lib/tzdb.dat
-cp /usr/share/javazi-1.8/tzdb.dat java_home/jre/lib/tzdb.dat
-# document version this is based on
-echo "Built from ${mirror_url_Base}
-    ${openjdk}
-    ${openjdk_devel}
-Run through rpm2cpio | cpio, and /usr/lib/jvm/${jvm_openjdk_dir} renamed to 'java_home'." > java_home/VERSION