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

Issue 6810006: build_image: hard-code verity_depth to 0 (Closed)

Created:
9 years, 8 months ago by Mandeep Singh Baines
Modified:
9 years, 7 months ago
Reviewers:
Paul T, ups, jimherbert, Will Drewry, gauravsh
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

build_image: hard-code verity_depth to 0 Plan is to eventually deprecate depth as a configurable parameter. depth=0 means compute the depth based on a regular trie with a single block of hashes at the root node. BUG=chromium-os:9752 TEST=platform_DMVerity Change-Id: I5c5f1b1f2c2079d7e1ef6c7a55c859b463a59aee R=wad@chromium.org,taysom@chromium.org,ups@chromium.org,gauravsh@chromium.org,jimherbert@chromium.org Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=de16252

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M build_image View 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mandeep Singh Baines
9 years, 8 months ago (2011-04-06 23:52:11 UTC) #1
Will Drewry
Does it make sense just to change the default to "0" and that way if ...
9 years, 8 months ago (2011-04-07 01:22:09 UTC) #2
Mandeep Singh Baines
wad@chromium.org (wad@chromium.org) wrote: > Does it make sense just to change the default to "0" ...
9 years, 8 months ago (2011-04-07 15:44:46 UTC) #3
Paul T
LGTM
9 years, 8 months ago (2011-04-07 15:50:28 UTC) #4
Will Drewry
On Thu, Apr 7, 2011 at 10:44 AM, Mandeep Singh Baines <msb@chromium.org> wrote: > wad@chromium.org ...
9 years, 8 months ago (2011-04-07 16:28:09 UTC) #5
Will Drewry
On Thu, Apr 7, 2011 at 11:28 AM, Will Drewry <wad@chromium.org> wrote: > On Thu, ...
9 years, 8 months ago (2011-04-07 16:28:19 UTC) #6
Will Drewry
9 years, 8 months ago (2011-04-07 16:29:21 UTC) #7
On Thu, Apr 7, 2011 at 11:28 AM, Will Drewry <wad@chromium.org> wrote:
> On Thu, Apr 7, 2011 at 11:28 AM, Will Drewry <wad@chromium.org> wrote:
>> On Thu, Apr 7, 2011 at 10:44 AM, Mandeep Singh Baines <msb@chromium.org>
wrote:
>>> wad@chromium.org (wad@chromium.org) wrote:
>>>> Does it make sense just to change the default to "0" and that way if
>>>> we want to
>>>> profile alternate tree depths in the future we can?
>>>>
>>>
>>> I want to remove configurable depth because it allows for
>>> simplification of the code. I can literally remove hundreds of lines of
>>> code by removing this functionality. All of the special-case root
>>> hash checks can go away.
>>
>> Cool - I wasn't sure if this was jut dropping the interface but
>> leaving the implementation :)
>>
>
> LGTM
>

[For what it's worth, once all the scripts are updated,
chromeos-setimage will also need to be updated to not parse out the
depth, the signer tests will need to be sync, etc.]

thanks again!
will

Powered by Google App Engine
This is Rietveld 408576698