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

Issue 6527001: Remove old logic ... and don't needlessly modifiy dev image. (Closed)

Created:
9 years, 10 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
sjg
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Remove old logic ... and don't needlessly modifiy dev image. Change-Id: I9b4047f2f124875553542df73e16cba6be41c561 BUG=chromium-os:chromium-os:8364 TEST=Ran it with pfq options. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=b885b80

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix broken logic #

Patch Set 3 : Use image name #

Total comments: 2

Patch Set 4 : Fix bad logic #

Patch Set 5 : 80 char #

Patch Set 6 : pass args #

Patch Set 7 : Revert changes in common.sh. Don't use prepare_test_image #

Patch Set 8 : Remove debug info #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -26 lines) Patch
M archive_build.sh View 1 2 3 4 5 6 4 chunks +7 lines, -22 lines 1 comment Download
M common.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mod_image_for_test.sh View 1 2 3 4 5 6 7 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sosa
Cleaning this up. Your --noinplace change already gets this done (equivalent of copying and using ...
9 years, 10 months ago (2011-02-14 22:47:46 UTC) #1
sjg
http://codereview.chromium.org/6527001/diff/1/archive_build.sh File archive_build.sh (right): http://codereview.chromium.org/6527001/diff/1/archive_build.sh#newcode142 archive_build.sh:142: SRC_IMAGE="${FLAGS_from}/chromiumos_image.bin" You can use ${CHROMEOS_IMAGE_NAME} here if you like. ...
9 years, 10 months ago (2011-02-15 15:19:41 UTC) #2
sosa
Actually what I had was broken. I still need the OUTPUT_IMAGE to be different and ...
9 years, 10 months ago (2011-02-15 22:06:11 UTC) #3
sosa
http://codereview.chromium.org/6527001/diff/1/archive_build.sh File archive_build.sh (right): http://codereview.chromium.org/6527001/diff/1/archive_build.sh#newcode142 archive_build.sh:142: SRC_IMAGE="${FLAGS_from}/chromiumos_image.bin" On 2011/02/15 15:19:42, sjg wrote: > You can ...
9 years, 10 months ago (2011-02-15 22:08:12 UTC) #4
sjg
My thoughts... http://codereview.chromium.org/6527001/diff/4004/archive_build.sh File archive_build.sh (right): http://codereview.chromium.org/6527001/diff/4004/archive_build.sh#newcode154 archive_build.sh:154: mv "${SRC_IMAGE}" "${OUTPUT_IMAGE}" This overwrites the test ...
9 years, 10 months ago (2011-02-15 22:25:34 UTC) #5
sosa
How about this? This seems more clean
9 years, 10 months ago (2011-02-16 00:32:39 UTC) #6
sosa
Ugh nvm ... won't work .. can't call prepare test image as it sorta assumes ...
9 years, 10 months ago (2011-02-16 00:38:23 UTC) #7
sosa
PTAL I tried using prepare_test_image but ran into chroot'ing issues. archive build is intended to ...
9 years, 10 months ago (2011-02-16 01:19:47 UTC) #8
sjg
LGTM (Haven't tried it though) http://codereview.chromium.org/6527001/diff/6007/archive_build.sh File archive_build.sh (right): http://codereview.chromium.org/6527001/diff/6007/archive_build.sh#newcode170 archive_build.sh:170: rm -f "${FLAGS_from}/${CHROMEOS_IMAGE_NAME}" Yes ...
9 years, 10 months ago (2011-02-16 02:04:51 UTC) #9
sosa
9 years, 10 months ago (2011-02-16 02:34:45 UTC) #10
Yup!

On Tue, Feb 15, 2011 at 6:04 PM,  <sjg@chromium.org> wrote:
> LGTM
>
> (Haven't tried it though)
>
>
> http://codereview.chromium.org/6527001/diff/6007/archive_build.sh
> File archive_build.sh (right):
>
> http://codereview.chromium.org/6527001/diff/6007/archive_build.sh#newcode170
> archive_build.sh:170: rm -f "${FLAGS_from}/${CHROMEOS_IMAGE_NAME}"
> Yes this seems much better.
>
> I guess you are wanting to remove the original image and just leave the
> test and factory images, right?
>
> http://codereview.chromium.org/6527001/
>

Powered by Google App Engine
This is Rietveld 408576698