summaryrefslogtreecommitdiff
path: root/patchoat/patchoat.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-12-10 08:27:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-12-10 08:27:00 +0000
commit70a33905e90c655cb17303b238bace2a2f4d5bf9 (patch)
tree8753a7d46e3e196ffa70f2263938bd51e816e5af /patchoat/patchoat.cc
parent1d97f949e807e963dd92dcf9ac38def5301d555a (diff)
parent83d4d72aa0e4170209ab50c67ba22e46b71352c1 (diff)
Merge "Revert "Add support for LZ4 compressed image files""
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r--patchoat/patchoat.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc
index 46ab34bea3..723bb1762d 100644
--- a/patchoat/patchoat.cc
+++ b/patchoat/patchoat.cc
@@ -153,12 +153,6 @@ bool PatchOat::Patch(const std::string& image_location, off_t delta,
return false;
}
- if (image_header.GetStorageMode() != ImageHeader::kStorageModeUncompressed) {
- LOG(ERROR) << "Patchoat is not supported with compressed image files "
- << input_image->GetPath();
- return false;
- }
-
/*bool is_image_pic = */IsImagePic(image_header, input_image->GetPath());
// Nothing special to do right now since the image always needs to get patched.
// Perhaps in some far-off future we may have images with relative addresses that are true-PIC.