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

Issue 3601014: cros_boot_mode: make cros_debug bootloader argument prempt others (Closed)

Created:
10 years, 2 months ago by Will Drewry
Modified:
9 years, 7 months ago
Reviewers:
fes
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

cros_boot_mode: make cros_debug bootloader argument prempt others cros_debug was meant to be a replacement for cros_* to force developer mode behavior - such as on legacy firmware. However, the easiest way to do so without modifying a file is to add the argument to the bootloader during boot. With syslinux, it is appended. That means that a cros_legacy commandline will have cros_debug appended. Since order matters, moving cros_debug up the chain allows it to preempt any other values. BUG=chromium-os:824 TEST=unittests

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M bootloader_type.h View 1 chunk +2 lines, -2 lines 0 comments Download
M bootloader_type.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M bootloader_type_unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Will Drewry
10 years, 2 months ago (2010-10-06 15:55:11 UTC) #1
fes
10 years, 2 months ago (2010-10-06 19:51:10 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698