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

Issue 845007: Change mod_for_test_script to make it work with arm os image. (Closed)

Created:
10 years, 9 months ago by ericli
Modified:
9 years, 7 months ago
Reviewers:
kmixter1, robotboy
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Change mod_for_test_script to make it work with arm os image. Get rid of chroot inside this script, and not mounting mod_for_test_scripts into rootfs any more. The reason caused the failure here is once you chroot into the mounted rootfs directory, all binaries were searched inside the rootfs. But all binaries inside the arm rootfs was for arm hardware, so not executable on the host linux machine(intel).

Patch Set 1 #

Patch Set 2 : patch 1 #

Total comments: 6

Patch Set 3 : patch 3 #

Patch Set 4 : patch 4 #

Patch Set 5 : patch 5 #

Patch Set 6 : patch 6. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -31 lines) Patch
M src/scripts/mod_for_test_scripts/000recordRootFsSize View 1 chunk +1 line, -1 line 0 comments Download
M src/scripts/mod_for_test_scripts/300changePassword View 1 2 3 4 5 1 chunk +7 lines, -7 lines 0 comments Download
M src/scripts/mod_for_test_scripts/350addTestAuthKeys View 1 chunk +4 lines, -4 lines 0 comments Download
M src/scripts/mod_for_test_scripts/700enableAutoxLogin View 2 1 chunk +2 lines, -1 line 0 comments Download
D src/scripts/mod_for_test_scripts/test_account.passwd View 1 chunk +0 lines, -3 lines 0 comments Download
M src/scripts/mod_for_test_scripts/test_setup.sh View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/scripts/mod_image_for_test.sh View 1 3 4 2 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ericli
Initial code review request.
10 years, 9 months ago (2010-03-12 20:00:35 UTC) #1
kmixter1
http://codereview.chromium.org/845007/diff/2001/3002 File src/scripts/mod_for_test_scripts/300changePassword (right): http://codereview.chromium.org/845007/diff/2001/3002#newcode7 src/scripts/mod_for_test_scripts/300changePassword:7: # reset root password to test0000 (4 zeroes). Why ...
10 years, 9 months ago (2010-03-12 22:04:59 UTC) #2
ericli
PTAL. On 2010/03/12 22:04:59, kmixter1 wrote: > http://codereview.chromium.org/845007/diff/2001/3002 > File src/scripts/mod_for_test_scripts/300changePassword (right): > > http://codereview.chromium.org/845007/diff/2001/3002#newcode7 ...
10 years, 9 months ago (2010-03-12 23:54:29 UTC) #3
ericli
http://codereview.chromium.org/845007/diff/2001/3002 File src/scripts/mod_for_test_scripts/300changePassword (right): http://codereview.chromium.org/845007/diff/2001/3002#newcode7 src/scripts/mod_for_test_scripts/300changePassword:7: # reset root password to test0000 (4 zeroes). user ...
10 years, 9 months ago (2010-03-12 23:54:35 UTC) #4
ericli
chronos password was reset to test0000 in the latest patch. PTAL.
10 years, 9 months ago (2010-03-13 01:01:17 UTC) #5
robotboy
It looks like there is still some issue with the enabling of sshd (output below). ...
10 years, 9 months ago (2010-03-13 01:07:17 UTC) #6
ericli
Chris just removed sshd.conf in another CL today. Resync you client and repatch. :) On ...
10 years, 9 months ago (2010-03-13 01:14:02 UTC) #7
ericli
you are calling it inside chroot already, dont do this. :) (cros-chroot) robotboy@servo ~/trunk/src/scripts $ ...
10 years, 9 months ago (2010-03-13 05:53:10 UTC) #8
ericli
One of the nice things of this script is it could work on image on ...
10 years, 9 months ago (2010-03-15 22:03:10 UTC) #9
robotboy
OK, LGTM. I have a CL going through to add lsof support inside the chroot ...
10 years, 9 months ago (2010-03-16 00:26:57 UTC) #10
robotboy
And thanks again for getting this working on ARM. :) -Anton On Mon, Mar 15, ...
10 years, 9 months ago (2010-03-16 00:29:01 UTC) #11
ericli
10 years, 9 months ago (2010-03-16 00:29:07 UTC) #12
OK, I will push this for now.

We can revisit it for chroot later.

On 2010/03/16 00:26:57, robotboy wrote:
> OK, LGTM.
> 
> I have a CL going through to add lsof support inside the chroot and it looks
> like that makes it work there.  There is no reason to prevent it from working
> inside the chroot.

Powered by Google App Engine
This is Rietveld 408576698