ota_from_target_files: remove duplicate setting of recovery_img

This variable is already set earlier in the script and does not need
to be wrapped inside of the if statement

Change-Id: I91b7f7d2fc911a3910b3df09cff0ca0f44fe7741
releasetools: Fix error text in ota_from_target_files

property isn't the variable name, prop is

Change-Id: I0fc6adddfd51ba9bc79f6559c61cd831203c9e3d
img_from_target_files: Create md5 hashes for each file

Generate an md5sum-fastboot.md5 file that contains an md5 hash of each
file in the fastboot zip and store the file in the zip.

Change-Id: I19c2ac5a84fb21e965953d1dad0ebcbfd0b78d47
releasetools: Properly handle custom values for tools

Rather than writing these values to their own files, store them
in the target_files META/misc_info.txt. This way, we don't need to
download and parse through multiple files when using signing/release
tools.

Change-Id: I6f845fc055e4ef2ed4adf9628cca505e99b2a9fa
KTU84Q
build: Disable Tamil locale

With only 3% approved in CM project and 1% on AOSP project
in the past 5 months, this is a no-go

Change-Id: I0c9d31d5737a2191e9a425b9de98ca659071ad7d
build: Store the jenkins build number in misc_info

If the jenkins build number is available, list it as build_number in
the misc_info.txt file.

Change-Id: I6500c6b53661f2904dff738d25d8a8d24a7dca80
Merge remote-tracking branch 'aosp/kitkat-mr2.2-release' into kk
envsetup: fixup dopush

* After clobber, $OUT does not exist and tee cannot create .log; fix
  this by calling mkdir -p $OUT
* Make sure Copy and Install are at the beginning of the log line being
  analyzed and also search for ':' so that "Copying:" lines don't count
* Fix Copy file list by quoting so shell doesn't think this is a
  command: $LOC $(...)
* Fix 'only copy files from $OUT' now that multiple file pushing works
  right
* Only stop java services once (if needed) and then wait to restart
  services until after all files have been pushed
* Change location of SystemUI.apk to priv-app

Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
Change-Id: I65edd34bf445b28c2638cb3e9621719121fb962f
envsetup: dopush: set file permissions on files pushed to /data too

* If pushing to /data, transfer old file owner, group, permissions to
  pushed files, then restorecon

Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
Change-Id: Ibf2945adee457a680a288f2bdfba3d2e29ba25a1
build: Store no_separate_recovery flag in misc_info

This may be needed during a signing process.

Change-Id: I0ab6f0e615f64c0529e605c2fa62fabf1b1ec52b
build: Handle boot images with custom makefile properly

When a pre-built image should be used, it should be stored in the
target files zip so that it can be used with external signing
processes.

Change-Id: I2661af9ac58af30bb9314b552775046d3abf44e0
BoardConfig.mk.template: Add TARGET_CPU_SMP

This one is easy forget if not in the template

Change-Id: If65e557a661ecc81c6bfc434525b3c9937ff988e
Fixed mounting /system when 'override_prop' is enabled.

Change-Id: I59f035498c2a2d65869cb7f7e6ea9e311b9757be
Edify: Add AssertSomeBaseband

Allow releasetools.py to assert a baseband version. Works just like
AssertSomeBootloader.

Change-Id: Ic8eb341cef1d777d983be25ba21a3bc545819c29
Merge remote-tracking branch 'carbon/kk' into gcc-4.8