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 10917125: Fix debian compatibility issues in the chrome-remote-desktop dpk. (Closed)

Created:
8 years, 3 months ago by Sergey Ulanov
Modified:
8 years, 3 months ago
Reviewers:
Lambros, Jamie
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fix debian compatibility issues in the chrome-remote-desktop dpk. This fixes some issues I have installing dpk on debian (actually debian-based mint linux): - update-manager may not be installed by default, and we don't strictly need it, so removing it from dependencies. - The init script depends on bash-specific features, so updating shebang to bash instead of sh. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156139

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M remoting/host/installer/linux/debian/chrome-remote-desktop.init View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/installer/linux/debian/control View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 7 (0 generated)
Sergey Ulanov
8 years, 3 months ago (2012-09-07 17:35:51 UTC) #1
Lambros
http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control File remoting/host/installer/linux/debian/control (right): http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control#newcode15 remoting/host/installer/linux/debian/control:15: Depends: xvfb-randr, python (>= 2.6), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} The ...
8 years, 3 months ago (2012-09-07 18:21:59 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control File remoting/host/installer/linux/debian/control (right): http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control#newcode15 remoting/host/installer/linux/debian/control:15: Depends: xvfb-randr, python (>= 2.6), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} On ...
8 years, 3 months ago (2012-09-07 20:31:50 UTC) #3
Lambros
On 2012/09/07 20:31:50, sergeyu wrote: > http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control > File remoting/host/installer/linux/debian/control (right): > > http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control#newcode15 > ...
8 years, 3 months ago (2012-09-08 00:27:08 UTC) #4
Jamie
On 2012/09/08 00:27:08, Lambros wrote: > On 2012/09/07 20:31:50, sergeyu wrote: > > > http://codereview.chromium.org/10917125/diff/1/remoting/host/installer/linux/debian/control ...
8 years, 3 months ago (2012-09-09 16:21:35 UTC) #5
Sergey Ulanov
On 2012/09/09 16:21:35, Jamie wrote: > If update-notifier is included in the Depends: line, and ...
8 years, 3 months ago (2012-09-10 18:46:46 UTC) #6
Jamie
8 years, 3 months ago (2012-09-10 18:49:51 UTC) #7
Okay, that all seems reasonable, so lgtm. I do think we should do our best to
display a notification to the user, so if mint is popular enough, we should
integrate with its notification system as well. Not in this CL though.

On 2012/09/10 18:46:46, sergeyu wrote:
> On 2012/09/09 16:21:35, Jamie wrote:
> > If update-notifier is included in the Depends: line, and isn't installed,
> won't
> > it be installed automatically? I think that's the ideal scenario.
> 
> It is installed automatically only when apt-get is used to install the
package,
> but we want the user to be able download DPK instead of adding apt repo
manually
> - that's the way it works for chrome and it's much easier than explaining to
the
> user how to add apt repo. Even if it was installed automatically I don't think
> it's right thing to do. E.g. Mint Linux uses it's own update manager (called
> mintupdate) - we don't want to install update-manager alongside.
> 
> > The problem
> > with not being able to notify the user is that our auto-update won't work if
> we
> > change the Python script, so long-lived desktops will drift gradually
> > out-of-date.
> 
> Yes, but that's also a problem with a lot of other packages, e.g. Gnome and
Xorg
> may also be update while user is logged in, yet none of them depend on
> update-manager. Besides, it's not really a problem if user updates the host
but
> doesn't restart it - the host should still keep working. If it works there is
> not reason to nag the user about restarting it. Also the user will normally
see
> when the package is updated (updates are not silent by default in Ubuntu), so
> he/she will still know when the package has been updated.
> 
> > We're not asking the user to reboot, just log out so it's not so
> > annoying. Also, if the user dismisses the prompt, it won't come back.
> 
> I'm not trying to remove this prompt - in fact most users will still see it as
> update-manager is installed by default on Ubuntu. I just want to make it
> possible to use this package without update-manager.

Powered by Google App Engine
This is Rietveld 408576698