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

Issue 3775010: Detect available lib64readline version before trying to install in chroot. (Closed)

Created:
10 years, 2 months ago by Michael Moss
Modified:
9 years, 7 months ago
Reviewers:
Markus (顧孟勤)
CC:
chromium-reviews, Michael Moss
Visibility:
Public.

Description

Detect available lib64readline version before trying to install in chroot. This fixes a problem where creating a hardy32 chroot fails because the package name used to be lib64readline5. Perhaps all the packages should be detected like this, but it can wait until we know if there are other incompatibilities. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62743

Patch Set 1 #

Total comments: 6

Patch Set 2 : review cleanups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M build/install-chroot.sh View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Moss
10 years, 2 months ago (2010-10-15 01:55:00 UTC) #1
Markus (顧孟勤)
LGTM You can commit the changelist. Just some minor nitpicks that you are welcome to ...
10 years, 2 months ago (2010-10-15 05:05:55 UTC) #2
Michael Moss
http://codereview.chromium.org/3775010/diff/1/2 File build/install-chroot.sh (right): http://codereview.chromium.org/3775010/diff/1/2#newcode259 build/install-chroot.sh:259: readlinepkg=$(sudo schroot -c "${target%bit}" -p -- \ At least ...
10 years, 2 months ago (2010-10-15 15:07:50 UTC) #3
Markus (顧孟勤)
10 years, 2 months ago (2010-10-15 16:52:37 UTC) #4
On Fri, Oct 15, 2010 at 08:07, <mmoss@chromium.org> wrote:

> W: Group ‘admin’ not found
> W: Group ‘admin’ not found
> E: Access not authorised
> I: You do not have permission to access the schroot service.
>
> Maybe a misconfiguration with the base buildbot image?


Ah, good call. I probably should document this somehow. If you take a closer
look at the "install-chroot.sh" script, you'll see that it gives users in
the "admin" group full access to the chroot environment without having to
call "sudo".

This was done under the assumption that the primary user on the machine is
likely going to be in the "admin" group.

This is probably true on all of our desktops, but on the build machines I
might not be true. Maybe, we need a command line option to override the
group? And then we need to decide which group is appropriate for the
buildbots.


Markus

Powered by Google App Engine
This is Rietveld 408576698