summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-02-26 16:29:54 -0800
committerJean-Baptiste Queru <jbq@google.com>2010-02-26 16:29:54 -0800
commite164cc721e108bcf56b8488c009298036d6ef925 (patch)
tree1eed6fdd8410a7fe09681a368fe4dcce0396006b
parent02c2ea027b41e129a5d6c94f593f963c5abe7367 (diff)
downloadcommon-e164cc721e108bcf56b8488c009298036d6ef925.tar.gz
Fix build
Don't fail building full OTAs when the radio image is missing This fixes "make dist" for generic_passion-eng when the proprietary files aren't there Change-Id: I345bb9e64140b8304923a9d954b796251d1262b0
-rw-r--r--releasetools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/releasetools.py b/releasetools.py
index a0b0ad0..952d9ff 100644
--- a/releasetools.py
+++ b/releasetools.py
@@ -69,6 +69,7 @@ def FullOTA_InstallEnd(info):
radio_img = info.input_zip.read("RADIO/radio.img")
except KeyError:
print "warning: no radio image in input target_files; not flashing radio"
+ return
info.script.Print("Writing radio image...")