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

Commit 84b108aa authored by Rashed Abdel-Tawab's avatar Rashed Abdel-Tawab
Browse files

Revert "Remove the obsolete UnpackPackageDir() in edify generator"

We still use this for our custom building and signing process
This reverts commit 6a324ba5.

Change-Id: I4911244ec9945d197d2b56d0d11eab6d2f7b6d3e
parent 57990a9a
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -244,6 +244,11 @@ class EdifyGenerator(object):
      self.mounts.remove(mount_point)
      self.mounts.remove(mount_point)
      self.script.append('unmount("%s");' % (mount_point,))
      self.script.append('unmount("%s");' % (mount_point,))


  def UnpackPackageDir(self, src, dst):
    """Unpack a given directory from the OTA package into the given
    destination directory."""
    self.script.append('package_extract_dir("%s", "%s");' % (src, dst))

  def Comment(self, comment):
  def Comment(self, comment):
    """Write a comment into the update script."""
    """Write a comment into the update script."""
    self.script.append("")
    self.script.append("")