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

Issue 3331011: upgrade_chroot: create an upgrade script (Closed)

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

Description

upgrade_chroot: create an upgrade script Change-Id: Ief6360b636884b02bdf74baeb6c4103eb180d2b7 BUG=6151 TEST=run it Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=358b738

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed #

Patch Set 3 : Addressed comments #

Total comments: 5

Patch Set 4 : Deleted extra message #

Patch Set 5 : Some more stuff #

Total comments: 6

Patch Set 6 : Some more fixes #

Total comments: 1

Patch Set 7 : Last set of nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -0 lines) Patch
A cros_upgrade_chroot View 1 2 3 4 5 6 1 chunk +100 lines, -0 lines 1 comment Download
A upgrade.d/1_init View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
zbehan
10 years, 3 months ago (2010-09-03 01:51:38 UTC) #1
davidjames
LGTM http://codereview.chromium.org/3331011/diff/1/3 File cros_upgrade_chroot (right): http://codereview.chromium.org/3331011/diff/1/3#newcode19 cros_upgrade_chroot:19: echo -e "${V_BOLD_GREEN}** ${V_NORMAL}${*}" No need for {} ...
10 years, 3 months ago (2010-09-03 02:41:39 UTC) #2
zbehan
10 years, 3 months ago (2010-09-03 03:57:22 UTC) #3
kliegs
What is the goal of this file? I thought make_chroot would update your chroot if ...
10 years, 3 months ago (2010-09-03 15:24:43 UTC) #4
Mandeep Singh Baines
Independent changes should go into independent CLs. Could you please put the common.sh stuff were ...
10 years, 3 months ago (2010-09-03 17:06:25 UTC) #5
zbehan
On Fri, Sep 3, 2010 at 8:24 AM, <kliegs@chromium.org> wrote: > What is the goal ...
10 years, 3 months ago (2010-09-03 18:30:07 UTC) #6
kliegs
Sorry for missing the bug - didn't see it referenced in the CR. I'll work ...
10 years, 3 months ago (2010-09-03 19:16:42 UTC) #7
zbehan
On Fri, Sep 3, 2010 at 12:16 PM, Jonathan Kliegman <kliegs@chromium.org>wrote: > Sorry for missing ...
10 years, 3 months ago (2010-09-03 19:41:15 UTC) #8
sosa
Side question: Shouldn't make_chroot set a version when it creates a chroot? On Fri, Sep ...
10 years, 3 months ago (2010-09-03 19:45:30 UTC) #9
zbehan
The idea was more that default version should be set to latest, and make_chroot should ...
10 years, 3 months ago (2010-09-03 19:57:03 UTC) #10
zbehan
Sorry, this got a bit stale and sour, uploading new version, where I got rid ...
10 years, 3 months ago (2010-09-14 01:16:33 UTC) #11
zbehan
10 years, 3 months ago (2010-09-14 01:17:14 UTC) #12
kliegs
Can you please include the BUG you referenced earlier in the comments? Do you have ...
10 years, 3 months ago (2010-09-14 14:46:50 UTC) #13
zbehan
On Tue, Sep 14, 2010 at 7:46 AM, <kliegs@chromium.org> wrote: > Can you please include ...
10 years, 3 months ago (2010-09-15 01:25:59 UTC) #14
kliegs
On Tue, Sep 14, 2010 at 9:25 PM, Zdenek Behan <zbehan@chromium.org> wrote: > On Tue, ...
10 years, 3 months ago (2010-09-15 16:50:19 UTC) #15
zbehan
On Wed, Sep 15, 2010 at 9:49 AM, Jonathan Kliegman <kliegs@chromium.org>wrote: > > On Tue, ...
10 years, 3 months ago (2010-09-15 17:21:45 UTC) #16
kliegs
On Wed, Sep 15, 2010 at 1:21 PM, Zdenek Behan <zbehan@chromium.org> wrote: > On Wed, ...
10 years, 3 months ago (2010-09-15 17:49:52 UTC) #17
zbehan
10 years, 3 months ago (2010-09-15 20:51:10 UTC) #18
zbehan
10 years, 3 months ago (2010-09-17 03:36:55 UTC) #19
kliegs
Thanks very much for moving the code in this direction. I think it sets up ...
10 years, 3 months ago (2010-09-17 15:46:49 UTC) #20
zbehan
On Fri, Sep 17, 2010 at 8:46 AM, <kliegs@chromium.org> wrote: > Thanks very much for ...
10 years, 3 months ago (2010-09-24 03:18:58 UTC) #21
zbehan
10 years, 3 months ago (2010-09-24 03:19:01 UTC) #22
kliegs
http://codereview.chromium.org/3331011/diff/33001/34001 File cros_upgrade_chroot (right): http://codereview.chromium.org/3331011/diff/33001/34001#newcode33 cros_upgrade_chroot:33: if ! [ "${CHROOT_VERSION}" -ge "0" ] &> /dev/null; ...
10 years, 3 months ago (2010-09-24 14:51:05 UTC) #23
kliegs
On Thu, Sep 23, 2010 at 11:18 PM, Zdenek Behan <zbehan@chromium.org> wrote: > On Fri, ...
10 years, 3 months ago (2010-09-24 14:51:46 UTC) #24
zbehan
On Fri, Sep 24, 2010 at 7:51 AM, Jonathan Kliegman <kliegs@chromium.org>wrote: > On Thu, Sep ...
10 years, 3 months ago (2010-09-24 17:35:20 UTC) #25
kliegs
On Fri, Sep 24, 2010 at 1:35 PM, Zdenek Behan <zbehan@chromium.org> wrote: > On Fri, ...
10 years, 3 months ago (2010-09-24 18:50:19 UTC) #26
Mandeep Singh Baines
On 2010/09/24 18:50:19, kliegs wrote: > On Fri, Sep 24, 2010 at 1:35 PM, Zdenek ...
10 years, 3 months ago (2010-09-24 20:51:45 UTC) #27
zbehan
10 years, 3 months ago (2010-09-24 22:11:41 UTC) #28
kliegs
On Fri, Sep 24, 2010 at 4:51 PM, <msb@chromium.org> wrote: > On 2010/09/24 18:50:19, kliegs ...
10 years, 3 months ago (2010-09-24 22:24:42 UTC) #29
kliegs
http://codereview.chromium.org/3331011/diff/41001/32002 File cros_upgrade_chroot (right): http://codereview.chromium.org/3331011/diff/41001/32002#newcode79 cros_upgrade_chroot:79: error "Your chroot is too old, you need to ...
10 years, 3 months ago (2010-09-24 22:31:49 UTC) #30
zbehan
I'm not sure. I think the command may be changing in the near future, for ...
10 years, 3 months ago (2010-09-24 22:59:50 UTC) #31
Mandeep Singh Baines
10 years, 3 months ago (2010-09-24 23:21:35 UTC) #32
LGTM.

I don't see any problems/bugs with zbehan's approach.

Let's push this since zbehan is leaving. Enhancements can be done in follow up
CLs.

Powered by Google App Engine
This is Rietveld 408576698