1. 26 Feb, 2015 1 commit
  2. 29 Oct, 2014 2 commits
    • Michael Runge's avatar
      Use more aggressive sync writing to applypatch. · cddb68b5
      Michael Runge authored
      We have seen cases where the boot partition is patched, but upon
      recovery the partition appears to be corrupted.  Open up all
      patched files/partitions with O_SYNC, and do not ignore the
      errors from fsync/close operations.
      
      Bug: 18170529
      Change-Id: I392ad0a321d937c4ad02eaeea9170be384a4744b
      cddb68b5
    • Michael Runge's avatar
      Force sync files written by minzip. · a6c142f2
      Michael Runge authored
      Some files appear to be missing their sync to disk.
      
      Bug: 18145574
      Change-Id: Ic858624a4dd65bbfc54d30f3a13c607078270345
      a6c142f2
  3. 24 Oct, 2014 5 commits
    • Michael Runge's avatar
      Log mount/unmount errors to UI · f15e31ed
      Michael Runge authored
      Bug: 18092022
      Change-Id: I6c42038ebeb1cfc1e7ca0d3e12310fdce1b990b0
      f15e31ed
    • Nick Kralevich's avatar
      unconditionally apply SELinux labels to symlinks · 6a821fe5
      Nick Kralevich authored
      At the end of the OTA script, we walk through /system, updating
      all the permissions on the filesystem, including the UID, GID,
      standard UNIX permissions, capabilities, and SELinux labels.
      
      In the case of a symbolic link, however, we want to skip most of
      those operations. The UID, GID, UNIX permissions, and capabilities
      don't meaningfully apply to symbolic links.
      
      However, that's not true with SELinux labels. The SELinux label on
      a symbolic link is important. We need to make sure the label on the
      symbolic link is always updated, even if none of the other attributes
      are updated.
      
      This change unconditionally updates the SELinux label on the symbolic
      link itself. lsetfilecon() is used, so that the link itself is updated,
      not what it's pointing to.
      
      In addition, drop the ENOTSUP special case. SELinux has been a
      requirement since Android 4.4. Running without filesystem extended
      attributes is no longer supported, and we shouldn't even try to handle
      non-SELinux updates anymore. (Note: this could be problematic if
      these scripts are ever used to produce OTA images for 4.2 devices)
      
      Bug: 18079773
      Change-Id: I87f99a1c88fe02bb2914f1884cac23ce1b385f91
      6a821fe5
    • Michael Runge's avatar
      Allow passing of mount args to mountFn · bd6138cf
      Michael Runge authored
      Bug: 18079773
      Bug: 18092222
      
      Change-Id: Ifc3f3e123de729dfbb2f49414b3207afa96268d5
      bd6138cf
    • Michael Runge's avatar
      Log to UI any metadata setting errors · 7548025b
      Michael Runge authored
      Bug: 18079773
      Change-Id: Ic6fddbcbcb6ddb9e1cbd1698df98387c0033ae15
      7548025b
    • Nick Kralevich's avatar
      Make /cache/recovery/last_log available in recovery · b8344b6f
      Nick Kralevich authored
      Create a new recovery UI option to allow the user to view
      /cache/recovery/last_log for their device. This gives enhanced
      debugging information which may be necessary when a failed
      OTA occurs.
      
      Bug: 18094012
      Change-Id: Ic3228de96e9bfc2a0141c7aab4ce392a38140cf3
      b8344b6f
  4. 23 Oct, 2014 1 commit
  5. 22 Oct, 2014 1 commit
  6. 21 Oct, 2014 1 commit
  7. 20 Oct, 2014 1 commit
  8. 16 Oct, 2014 1 commit
  9. 15 Oct, 2014 1 commit
  10. 14 Oct, 2014 1 commit
  11. 13 Oct, 2014 1 commit
  12. 12 Oct, 2014 1 commit
  13. 09 Oct, 2014 1 commit
  14. 08 Oct, 2014 1 commit
  15. 07 Oct, 2014 1 commit
  16. 06 Oct, 2014 1 commit
  17. 05 Oct, 2014 1 commit
  18. 01 Oct, 2014 1 commit
  19. 30 Sep, 2014 1 commit
  20. 29 Sep, 2014 1 commit
  21. 28 Sep, 2014 1 commit
  22. 25 Sep, 2014 1 commit
  23. 24 Sep, 2014 2 commits
  24. 23 Sep, 2014 1 commit
  25. 22 Sep, 2014 1 commit
  26. 21 Sep, 2014 2 commits
  27. 20 Sep, 2014 1 commit
  28. 18 Sep, 2014 1 commit
  29. 17 Sep, 2014 1 commit
  30. 16 Sep, 2014 1 commit
  31. 15 Sep, 2014 1 commit
  32. 14 Sep, 2014 1 commit
  33. 13 Sep, 2014 1 commit