Fix cras build on R23 (2913.331.0, adhd branch release-R23-2913.B).
Merge pull request #379 from drinkcat/audio-fix-R23-2913

Fix cras build on R23 (2913.331.0, adhd branch release-R23-2913.B).
Tighten ecryptfs unwrapping to improve error messages.
Make symlinked host-bin scripts behave sensibly.

They should 1) work (BINDIR), and 2) have a default CHROOTS set to the target of
the symlink.

This enables symlinking '/usr/local/bin/enter-chroot-sd' to
'/media/removable/SD Card/bin/enter-chroot' and having it actually do something
useful.
compile: Build output to a temporary file, then use /usr/bin/install
to install the file with correct permissions.
Label generated tarballs to simplify distinguishing backups and bootstraps.
Store the bootstrap data in the tarball label.
Enforce a minimum Chromium OS version.
compile: Add -T to install.
Update Makefile; build in one step and add xi2event
Delete failed builds in makefile.
Shrink built crouton bundle by ~61 bytes.
Only set terminals with X sessions into raw mode. Fixes #317.
Replace call to mawk by awk.

mawk handling of `\.` is different from gawk:
gawk complains about `warning: escape sequence '\.' treated as plain '.'`

New version works identically with both.
Merge pull request #384 from drinkcat/audio-use-awk

Replace call to mawk by awk.
Prevent Upstart from taking over X sessions. Fixes #385 (saucy)
Disable hung task timeout in installer and enter-chroot.

Large writes on the Samsung ARM Chromebook, especially to external devices
(SD card or USB stick) can cause a task to be stuck for longer than 120
seconds, which would cause a kernel panic (and an immediate reboot).

Instead of disabling the timeout altogether, we just make sure the kernel
does not panic by writing 0 to /proc/sys/kernel/hung_task_panic (this is
the default configuration of a vanilla kernel).

See http://code.google.com/p/chromium/issues/detail?id=260955 for details,
and why this may not be fixed upstream.
install_mirror_package: Compare version before fetching from mirror.
Fix install of CRAS ALSA plugin.

`install -D` only works as intended if the destination is the full filename (it only creates parent directories of the destination).
Since we are installing to a directory, it only creates its parents and not the directory itself...

This patch removes `-D`, and calls `mkdir -p` beforehand.
Merge pull request #391 from drinkcat/audio_fix_install

Fix install of CRAS ALSA plugin.