)]}'
{
  "commit": "88fc2bdd195b29e8ea976f317773724ec06473d7",
  "tree": "3aab369297f4ec234aa88410e7f0c9a80ff2a62e",
  "parents": [
    "8beddf2e7e047bf47fd12d1c51563d84613f680b"
  ],
  "author": {
    "name": "Bowgo Tsai",
    "email": "bowgotsai@google.com",
    "time": "Wed Jan 05 20:19:25 2022 +0800"
  },
  "committer": {
    "name": "Bowgo Tsai",
    "email": "bowgotsai@google.com",
    "time": "Thu Jan 06 17:50:04 2022 +0800"
  },
  "message": "Avoid packing ramdisk into GKI boot-*.img\n\nIf init_boot.img is present, the GKI boot-*.img should\nnot include the ramdisk because the ramdisk will be packed\ninto the init_boot.img instead.\n\nThe \"has_ramdisk\" flag incorrectly checks the condition of:\nprebuilt_name !\u003d \"boot.img\" to see if it is a boot.img.\nBecause \"has_ramdisk\" was added before we packed multiple\nGKI boot-*.img, e.g., boot-5.10.img, boot-5.10-lz4.img, etc.,\ninto the target files.\n\nFix this by checking the partition_name is \"boot\" or not.\nAlso moving the logic into a new function with comments for each\ncondition.\n\nBug: 203698939\nBug: 213028932\nTest: sign_target_files_apks \\\n        --gki_signing_key\u003dexternal/avb/test/data/testkey_rsa4096.pem \\\n        --gki_signing_algorithm\u003dSHA256_RSA4096 \\\n        ./out/dist/*-target_files-eng.*.zip signed.zip, then\n        unpack_bootimg to checks the signed boot-*.img has no ramdisk\nChange-Id: I5354669feb54d547dbe797e51b1b1baa187cb7cf\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6ec1b9468730b5af19b755069e8e4676d608e509",
      "old_mode": 33188,
      "old_path": "tools/releasetools/common.py",
      "new_id": "339939f85b4bd9bc78798a8de2adb268c68a54b5",
      "new_mode": 33188,
      "new_path": "tools/releasetools/common.py"
    }
  ]
}
