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

Issue 6708106: Fix factory installer for ARM platforms (Closed)

Created:
9 years, 9 months ago by Che-Liang Chiou
Modified:
9 years ago
Reviewers:
Hung-Te, Nick Sanders
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Fix factory installer for ARM platforms R=nsanders@chromium.org BUG=chromium-os:12192 TEST=run factory install successfully Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=a30dd93

Patch Set 1 #

Total comments: 5

Patch Set 2 : Code review #

Total comments: 7

Patch Set 3 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -13 lines) Patch
M factory_install.sh View 1 2 7 chunks +61 lines, -9 lines 0 comments Download
M factory_reset.sh View 1 1 chunk +18 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Che-Liang Chiou
9 years, 9 months ago (2011-03-29 12:00:39 UTC) #1
Che-Liang Chiou
Hi Hung-Te, I hear that Nick is on vacation now. Would you mind helping me ...
9 years, 9 months ago (2011-03-29 12:30:40 UTC) #2
Hung-Te
Basically looks fine, but I have two small questions and would like your confirm. http://codereview.chromium.org/6708106/diff/1/factory_install.sh ...
9 years, 9 months ago (2011-03-29 12:57:34 UTC) #3
Nick Sanders
lgtm http://codereview.chromium.org/6708106/diff/1/factory_install.sh File factory_install.sh (right): http://codereview.chromium.org/6708106/diff/1/factory_install.sh#newcode92 factory_install.sh:92: while ! ifconfig eth0 | grep -q "inet ...
9 years, 9 months ago (2011-03-30 00:10:44 UTC) #4
Nick Sanders
That is, lgtm, with hungte's style nits fixed.
9 years, 9 months ago (2011-03-30 00:11:25 UTC) #5
Hung-Te
LGTM after Nick's comments. But please comment in the code for why you want to ...
9 years, 9 months ago (2011-03-30 02:33:42 UTC) #6
Che-Liang Chiou
Hi Nick and Hung-Te, Based on a discussion with Hung-Te, Rong, and Daniel, I rewrite ...
9 years, 9 months ago (2011-03-30 08:57:44 UTC) #7
Hung-Te
http://codereview.chromium.org/6708106/diff/9001/factory_install.sh File factory_install.sh (right): http://codereview.chromium.org/6708106/diff/9001/factory_install.sh#newcode74 factory_install.sh:74: local candidates=$(ifconfig | grep 'Link encap:Ethernet' | cut -d ...
9 years, 9 months ago (2011-03-30 09:17:52 UTC) #8
Nick Sanders
W/ updated comment and hungte's fixes, i'm ok with it. Hungte should sign off also ...
9 years, 9 months ago (2011-03-30 09:45:33 UTC) #9
Che-Liang Chiou
Updated. PTAL. http://codereview.chromium.org/6708106/diff/9001/factory_install.sh File factory_install.sh (right): http://codereview.chromium.org/6708106/diff/9001/factory_install.sh#newcode74 factory_install.sh:74: local candidates=$(ifconfig | grep 'Link encap:Ethernet' | ...
9 years, 9 months ago (2011-03-30 09:54:38 UTC) #10
Hung-Te
9 years, 9 months ago (2011-03-30 10:34:40 UTC) #11
LGTM, assuming the latest version still works correctly.

http://codereview.chromium.org/6708106/diff/9001/factory_install.sh
File factory_install.sh (right):

http://codereview.chromium.org/6708106/diff/9001/factory_install.sh#newcode74
factory_install.sh:74: local candidates=$(ifconfig | grep 'Link encap:Ethernet'
| cut -d ' ' -f 1)
On 2011/03/30 09:54:38, Che-Liang Chiou wrote:
> Done. Just for curious: why local needs quote? (does globals not?)
 bash and dash interpret "local" and $() in different way.
 if ls gives you "a", "b", "c"
 local a=$(ls)
 bash: local a="a b c"; echo $a => a b c
 dash: local a=a b c; echo $a => a

Powered by Google App Engine
This is Rietveld 408576698