Support signing target_files without a recovery.fstab.
Change-Id: I7d6f511c69d589bf035ac3eb7eeee4b0e0505faa
This commit is contained in:
@@ -151,7 +151,8 @@ def LoadRecoveryFSTab(zip):
|
|||||||
try:
|
try:
|
||||||
data = zip.read("RECOVERY/RAMDISK/etc/recovery.fstab")
|
data = zip.read("RECOVERY/RAMDISK/etc/recovery.fstab")
|
||||||
except KeyError:
|
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 = {}
|
d = {}
|
||||||
for line in data.split("\n"):
|
for line in data.split("\n"):
|
||||||
|
Reference in New Issue
Block a user