package-release.sh: Merge master version.

This patch merges the version of package-release.sh from the master branch
into the idea133 one. A future patch will fix the now-missing description
for the --darwin-ssh option.

Change-Id: I2a7f0df5f82190f48cc25da5315ae1f1069e6282
package-release.sh: script breaks if commit msg contains single quote(')

tr doesn't handle single quote properly.
use sed to escape single quote in commit msg

Change-Id: I7bc7a7a8faea0c1de0f677703c640430ec7116f3
Signed-off-by: Jason Hu <jia-cheng.hu@intel.com>
Merge changes I7bc7a7a8,I2a7f0df5 into idea133

* changes:
  package-release.sh: script breaks if commit msg contains single quote(')
  package-release.sh: Merge master version.
Allow path to KVM to be overridden by environment.

In a secured environments /dev/kvm may not be readable/writable by the
current user. However the same device node may have been created at
another path by the administrator with file permissions that allow the
current user to access it. In order to use the emulator with KVM in this
environment, the hard-coded paths to /dev/kvm must be removed.

This introduces the ANDROID_EMULATOR_KVM_DEVICE environment variable.
If defined, this variable must point to the full device path.

Change-Id: I3ca3ae61c043a2e58d98756851770736db3647c5
Signed-off-by: thomas knych <thomaswk@google.com>
Merge "Allow path to KVM to be overridden by environment." into idea133
build-kernel.sh: Support 'arm64' architecture.

This patch adds support for --arch=arm64 to the build-kernel.sh
script. Note that this requires android-goldfish-3.10 or higher,
and is currently limited to the 'defconfig' default config.

This is enough to build an AARCH64 kernel, but there is no guarantee
at this point that it can run under either QEMU or the Android emulator.

Change-Id: Idc3ecc3e3b9b8f06aeba9c4710903f55c64331df
resolve merge conflicts of 838c441 to master.

Change-Id: Ia3861aabaa7acd2201da1d70664342a63711e316
Merge "resolve merge conflicts of 838c441 to master."
Merge "build-kernel.sh: Support 'arm64' architecture."
am 12d71b66: Merge "resolve merge conflicts of 838c441 to master."

* commit '12d71b66db40836a671f91c934be238c7d3e87b6':
  package-release.sh: script breaks if commit msg contains single quote(')
  package-release.sh: Merge master version.
am 183e9935: Merge "build-kernel.sh: Support \'arm64\' architecture."

* commit '183e9935b79c236a7e51e00a7157629bf07a1d46':
  build-kernel.sh: Support 'arm64' architecture.
am f86626ca: am 12d71b66: Merge "resolve merge conflicts of 838c441 to master."

* commit 'f86626ca295e423425a0d2e3688795ebf87e18df':
  package-release.sh: script breaks if commit msg contains single quote(')
  package-release.sh: Merge master version.
am 38438587: am 183e9935: Merge "build-kernel.sh: Support \'arm64\' architecture."

* commit '3843858743d7452961d5174e0195ed7ec78d9c9f':
  build-kernel.sh: Support 'arm64' architecture.
Merge "Allow path to KVM to be overridden by environment." into idea133
automerge: 4ebb7b4

* commit '4ebb7b422272c21d0c5c0c12bbdbb2879a3aff8a':
  Allow path to KVM to be overridden by environment.
am 89461623: Merge "Allow path to KVM to be overridden by environment." into idea133 automerge: 4ebb7b4

* commit '89461623ee2b7c0dc4019c43da575c3adf8497ee':
  Allow path to KVM to be overridden by environment.
am 41f48b61: am 89461623: Merge "Allow path to KVM to be overridden by environment." into idea133 automerge: 4ebb7b4

* commit '41f48b6195d7a35a1726a544071a1064d45026b0':
  Allow path to KVM to be overridden by environment.
No 64 bit emu on windows.

Change-Id: I8392a536d6f9b7b1eb0b620617892c2a41db5d20
Merge "No 64 bit emu on windows." into idea133
Merge "No 64 bit emu on windows." into idea133
automerge: c0ade02

* commit 'c0ade027b6f8ef42722224b9e2f6b73ef3d0aacd':
  No 64 bit emu on windows.
am 7941ac1e: Merge "No 64 bit emu on windows." into idea133 automerge: c0ade02

* commit '7941ac1e50b7abfcc525b1be5d581be08119b6e0':
  No 64 bit emu on windows.