Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: src/platform/update_engine/update_metadata.proto

Issue 1819002: AU: delta compress the kernel partition (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/platform/update_engine/test_utils.cc ('k') | src/platform/update_engine/utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Update file format: A delta update file contains all the deltas needed 5 // Update file format: A delta update file contains all the deltas needed
6 // to update a system from one specific version to another specific 6 // to update a system from one specific version to another specific
7 // version. The update format is represented by this struct pseudocode: 7 // version. The update format is represented by this struct pseudocode:
8 // struct delta_update_file { 8 // struct delta_update_file {
9 // char magic[4] = "CrAU"; 9 // char magic[4] = "CrAU";
10 // uint32 file_format_version = 1; 10 // uint32 file_format_version = 1;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // of bytes to read from the blocks we pass it. 83 // of bytes to read from the blocks we pass it.
84 optional uint64 src_length = 5; 84 optional uint64 src_length = 5;
85 85
86 repeated Extent dst_extents = 6; 86 repeated Extent dst_extents = 6;
87 // byte length of dst, not necessarily block aligned. It's only used for 87 // byte length of dst, not necessarily block aligned. It's only used for
88 // BSDIFF, because we need to fill in the rest of the last block 88 // BSDIFF, because we need to fill in the rest of the last block
89 // that bsdiff writes with '\0' bytes. 89 // that bsdiff writes with '\0' bytes.
90 optional uint64 dst_length = 7; 90 optional uint64 dst_length = 7;
91 } 91 }
92 repeated InstallOperation install_operations = 1; 92 repeated InstallOperation install_operations = 1;
93 // The checksums of the install device before and after the install process. 93 repeated InstallOperation kernel_install_operations = 2;
94 optional string src_checksum = 2;
95 optional string dst_checksum = 3;
96 94
97 // (At time of writing) usually 4096 95 // (At time of writing) usually 4096
98 optional uint32 block_size = 5 [default = 4096]; 96 optional uint32 block_size = 3 [default = 4096];
99 } 97 }
OLDNEW
« no previous file with comments | « src/platform/update_engine/test_utils.cc ('k') | src/platform/update_engine/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698