OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c994a99
)
verity: move metadata after the hash tree
author
Sami Tolvanen
<samitolvanen@google.com>
Fri, 25 Sep 2015 13:57:41 +0000
(14:57 +0100)
committer
Sami Tolvanen
<samitolvanen@google.com>
Wed, 14 Oct 2015 17:10:20 +0000
(18:10 +0100)
Move the verity metadata block after the hash tree to make locating
it easier and more reliable.
Needs matching changes from
I6945cbab99e214566a1f9d3702333f2dbbc35816
Change-Id: Ide48f581bbba77aed6132f77b309db71630d81ed
verity/build_verity_metadata.py
patch
|
blob
|
history
diff --git
a/verity/build_verity_metadata.py
b/verity/build_verity_metadata.py
index
547e606
..
51e629a
100755
(executable)
--- a/
verity/build_verity_metadata.py
+++ b/
verity/build_verity_metadata.py
@@
-44,7
+44,7
@@
def build_verity_table(block_device, data_blocks, root_hash, salt):
BLOCK_SIZE,
BLOCK_SIZE,
data_blocks,
- data_blocks
+ (METADATA_SIZE / BLOCK_SIZE)
,
+ data_blocks,
root_hash,
salt)
return table