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

Issue 3968006: Consider zero a valid kernel version. (Closed)

Created:
10 years, 2 months ago by vb
Modified:
9 years, 6 months ago
Reviewers:
Randall Spangler
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Consider zero a valid kernel version. SAFT testing requires changing kernel version to one level below the current value (set to 1). This change allows version number set to zero for test purposes. Change-Id: Ia6f11578d9a6bc8c5544c56413c5589011d6334a BUG=chromium-os:1976 TEST=manual Ran `vbutil_kernel --repack --version 0 <other params>' it used to fail, now it succeeds. This is also verified by using in http://codereview.chromium.org/3781016 to support TPM testing. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=00b9088

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M utility/vbutil_kernel.c View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
vb
10 years, 2 months ago (2010-10-21 20:30:35 UTC) #1
Randall Spangler
LGTM Please check that firmware also handles version=0 before committing this.
10 years, 2 months ago (2010-10-21 20:37:16 UTC) #2
vb
10 years, 2 months ago (2010-10-21 20:46:28 UTC) #3
On Thu, Oct 21, 2010 at 1:37 PM,  <rspangler@chromium.org> wrote:
> LGTM
>
> Please check that firmware also handles version=0 before committing this.
>
>
> http://codereview.chromium.org/3968006/show
>

verified that if TPM kernel version value is set to zero, kernel with
version of zero boots successfully.

Powered by Google App Engine
This is Rietveld 408576698