summaryrefslogtreecommitdiffstats
path: root/tools/releasetools
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-08-27 16:12:00 -0700
committerDoug Zongker <dougz@android.com>2009-08-27 16:12:00 -0700
commitf76b9c87b16956aebfe5af497913d698dd03cc01 (patch)
tree873a76e777ec8784d28752ebcb58f5ee744a607a /tools/releasetools
parent3938ab2572e7c9d5894975c0076b271b2846faa9 (diff)
downloadbuild-f76b9c87b16956aebfe5af497913d698dd03cc01.zip
build-f76b9c87b16956aebfe5af497913d698dd03cc01.tar.gz
build-f76b9c87b16956aebfe5af497913d698dd03cc01.tar.bz2
remove bootloader assertions
These should be done by the device-specific module where necessary; they aren't appropriate for all devices.
Diffstat (limited to 'tools/releasetools')
-rwxr-xr-xtools/releasetools/ota_from_target_files7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/releasetools/ota_from_target_files b/tools/releasetools/ota_from_target_files
index 56cf526..afd31aa 100755
--- a/tools/releasetools/ota_from_target_files
+++ b/tools/releasetools/ota_from_target_files
@@ -281,13 +281,6 @@ def AppendAssertions(script, input_zip):
device = GetBuildProp("ro.product.device", input_zip)
script.AssertDevice(device)
- info = input_zip.read("OTA/android-info.txt")
- m = re.search(r"require\s+version-bootloader\s*=\s*(\S+)", info)
- if m:
- bootloaders = m.group(1).split("|")
- if "*" not in bootloaders:
- script.AssertSomeBootloader(*bootloaders)
-
def MakeRecoveryPatch(output_zip, recovery_img, boot_img):
"""Generate a binary patch that creates the recovery image starting