am 033fbe28: Support signing target_files without a recovery.fstab.

* commit '033fbe28c273fc5a99e0738d84c79ee7040b1fa0':
  Support signing target_files without a recovery.fstab.
This commit is contained in:
Jeff Davidson
2011-10-27 02:53:26 +00:00
committed by Android Git Automerger

View File

@@ -151,7 +151,8 @@ def LoadRecoveryFSTab(zip):
try:
data = zip.read("RECOVERY/RAMDISK/etc/recovery.fstab")
except KeyError:
raise ValueError("Could not find RECOVERY/RAMDISK/etc/recovery.fstab")
print "Warning: could not find RECOVERY/RAMDISK/etc/recovery.fstab in %s." % zip
data = ""
d = {}
for line in data.split("\n"):