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

Issue 3111018: package_to_live script pushes binary emerge package to remote device (Closed)

Created:
10 years, 4 months ago by Paul Stewart
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Base URL:
ssh://gitrw.chromium.org/crosutils.git
Visibility:
Public.

Description

package_to_live script pushes binary emerge package to remote device This script allows us to test packages on development boxes which might be behind a firewall in a way that prevents use of "gmerge". In this model, images are built locally and then pushed onto the client. TEST=run on wifi testbed BUG=none

Patch Set 1 #

Total comments: 6

Patch Set 2 : Send emerge outpot to stderr so it is visible on console #

Patch Set 3 : Respond to Sam comments #

Total comments: 4

Patch Set 4 : Respond to vlaviano's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -0 lines) Patch
A bin/cros_package_to_live View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Paul Stewart
10 years, 4 months ago (2010-08-19 17:28:44 UTC) #1
Sam Leffler
LGTM; your call if you want to address nits http://codereview.chromium.org/3111018/diff/1/2 File bin/cros_package_to_live (right): http://codereview.chromium.org/3111018/diff/1/2#newcode3 bin/cros_package_to_live:3: ...
10 years, 4 months ago (2010-08-19 17:46:38 UTC) #2
Paul Stewart
http://codereview.chromium.org/3111018/diff/1/2 File bin/cros_package_to_live (right): http://codereview.chromium.org/3111018/diff/1/2#newcode3 bin/cros_package_to_live:3: # Copyright (c) 2009 The Chromium OS Authors. All ...
10 years, 4 months ago (2010-08-19 18:12:32 UTC) #3
sosa
Doesn't this do the same thing as gmergefs?
10 years, 4 months ago (2010-08-19 18:27:15 UTC) #4
Vince Laviano
LGTM, with some whitespace nits. http://codereview.chromium.org/3111018/diff/7001/8001 File bin/cros_package_to_live (right): http://codereview.chromium.org/3111018/diff/7001/8001#newcode40 bin/cros_package_to_live:40: extra space http://codereview.chromium.org/3111018/diff/7001/8001#newcode58 bin/cros_package_to_live:58: ...
10 years, 4 months ago (2010-08-19 18:30:40 UTC) #5
pstew1
Pray tell, what is gmergefs? -- Paul On Thu, Aug 19, 2010 at 11:27 AM, ...
10 years, 4 months ago (2010-08-19 18:31:47 UTC) #6
Paul Stewart
http://codereview.chromium.org/3111018/diff/7001/8001 File bin/cros_package_to_live (right): http://codereview.chromium.org/3111018/diff/7001/8001#newcode40 bin/cros_package_to_live:40: On 2010/08/19 18:30:40, Vince Laviano wrote: > extra space ...
10 years, 4 months ago (2010-08-19 18:37:52 UTC) #7
sosa
http://src.chromium.org/cgi-bin/gitweb.cgi?p=dev-util.git;a=blob_plain;f=gmergefs;hb=HEAD It's only different in that gmergefs treats the remote FS as another root (uses ...
10 years, 4 months ago (2010-08-19 18:53:04 UTC) #8
sosa
FYI it's documented here: http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/helper-scripts. If you'd like other devs to use your script you ...
10 years, 4 months ago (2010-08-19 18:54:03 UTC) #9
Sam Leffler
I thought gmergefs was dead. -Sam On Thu, Aug 19, 2010 at 11:53 AM, Chris ...
10 years, 4 months ago (2010-08-19 20:13:49 UTC) #10
sosa
10 years, 4 months ago (2010-08-19 20:46:42 UTC) #11
It stills works for items on the stateful partition .  There seems to
be another permissions issue with this and gmergefs so I won't say
anything more.  I would really like gmergefs to be used and thought
this is a big use case.  If I can fix the permissions issue, I'll come
back and attempt to merge these efforts.  Otherwise, I"ll deprecate
gmergefs.

On Thu, Aug 19, 2010 at 1:13 PM, Sam Leffler <sleffler@chromium.org> wrote:
> I thought gmergefs was dead.
> -Sam
>
> On Thu, Aug 19, 2010 at 11:53 AM, Chris Sosa <sosa@chromium.org> wrote:
>>
>> FYI it's documented here:
>>
>>
http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/helper-scripts.
>>  If you'd like other devs to use your script you should also add a
>> note about it here too :)
>>
>> On Thu, Aug 19, 2010 at 11:52 AM, Chris Sosa <sosa@chromium.org> wrote:
>> >
>> >
http://src.chromium.org/cgi-bin/gitweb.cgi?p=dev-util.git;a=blob_plain;f=gmer...
>> >
>> > It's only different in that gmergefs treats the remote FS as another
>> > root (uses --root from the host) rather than remotely calling ssh ->
>> > gmerge.  This gets around issues where configs are different between
>> > the host and target (i.e. packages.provided etc).  However, your
>> > approach doesn't require Fuse.  Maybe we can combine later
>> >
>> > On Thu, Aug 19, 2010 at 11:31 AM, Paul Stewart <pstew@google.com> wrote:
>> >> Pray tell, what is gmergefs?
>> >>
>> >> --
>> >> Paul
>> >>
>> >> On Thu, Aug 19, 2010 at 11:27 AM,  <sosa@chromium.org> wrote:
>> >>> Doesn't this do the same thing as gmergefs?
>> >>>
>> >>>
>> >>> http://codereview.chromium.org/3111018/show
>> >>>
>> >>
>> >
>
>

Powered by Google App Engine
This is Rietveld 408576698