| Index: delta_diff_generator.cc
|
| diff --git a/delta_diff_generator.cc b/delta_diff_generator.cc
|
| index 9659ad206834aae15cdc8ede66b6f232d25a17c0..f024481b048ade7128ce4e672a8f54c1437e16b7 100644
|
| --- a/delta_diff_generator.cc
|
| +++ b/delta_diff_generator.cc
|
| @@ -611,6 +611,7 @@ bool InitializePartitionInfo(bool is_kernel,
|
| TEST_AND_RETURN_FALSE(hasher.Finalize());
|
| const vector<char>& hash = hasher.raw_hash();
|
| info->set_hash(hash.data(), hash.size());
|
| + LOG(INFO) << "hash: " << hasher.hash();
|
| return true;
|
| }
|
|
|
| @@ -619,12 +620,8 @@ bool InitializePartitionInfos(const string& old_kernel,
|
| const string& old_rootfs,
|
| const string& new_rootfs,
|
| DeltaArchiveManifest* manifest) {
|
| - if (!old_kernel.empty()) {
|
| - TEST_AND_RETURN_FALSE(
|
| - InitializePartitionInfo(true,
|
| - old_kernel,
|
| - manifest->mutable_old_kernel_info()));
|
| - }
|
| + // TODO(petkov): Generate the old kernel info when we stop generating full
|
| + // updates for the kernel partition.
|
| TEST_AND_RETURN_FALSE(
|
| InitializePartitionInfo(true,
|
| new_kernel,
|
|
|