Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 033fbe28 authored by Jeff Davidson's avatar Jeff Davidson
Browse files

Support signing target_files without a recovery.fstab.

Change-Id: I7d6f511c69d589bf035ac3eb7eeee4b0e0505faa
parent 8bb6ea59
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"):