Support signing target_files without a recovery.fstab.

Change-Id: I7d6f511c69d589bf035ac3eb7eeee4b0e0505faa
This commit is contained in:
Jeff Davidson 2011-10-26 18:08:09 -07:00
parent 8bb6ea5995
commit 033fbe28c2

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"):