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

Issue 13532003: Installing Chrome OS fonts fails when repo is on filer (Closed)

Created:
7 years, 8 months ago by sschmitz
Modified:
7 years, 8 months ago
Reviewers:
tburkard, Jorge Lucangeli Obes, Daniel Erat
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Installing Chrome OS fonts fails when repo is on filer install-build-deps.sh runs "sudo /path/to/src/build/linux/install-chromeos-fonts.py". If the repo is on a filer, sudo fails because root is not allowed to access files on a filer. However, installing a Repo on a Filer is not recommended. Solution: install-build-deps.sh detects failure of "sudo install-chromeos-fonts.sh" and prints an error message and instructions. BUG=225543 R=derat@chromium.org TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192485

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Patch Set 3 : update #

Total comments: 4

Patch Set 4 : reversed logic #

Patch Set 5 : testing for failure #

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

Messages

Total messages: 22 (0 generated)
sschmitz
7 years, 8 months ago (2013-04-03 14:28:24 UTC) #1
Daniel Erat
+jorgelo because copying scripts to /tmp and then running them as root makes me awfully ...
7 years, 8 months ago (2013-04-03 14:38:33 UTC) #2
sschmitz
Good points. Thanks. https://codereview.chromium.org/13532003/diff/1/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/13532003/diff/1/build/install-build-deps.sh#newcode214 build/install-build-deps.sh:214: sudo chmod 0555 /tmp/install-chromeos-fonts.py On 2013/04/03 ...
7 years, 8 months ago (2013-04-03 15:10:45 UTC) #3
Jorge Lucangeli Obes
On 2013/04/03 15:10:45, sschmitz wrote: > Good points. Thanks. > > https://codereview.chromium.org/13532003/diff/1/build/install-build-deps.sh > File build/install-build-deps.sh ...
7 years, 8 months ago (2013-04-03 15:25:39 UTC) #4
sschmitz
+tburkard Timo, Could you please provide some info on the importance of keeping the Repo ...
7 years, 8 months ago (2013-04-03 16:01:37 UTC) #5
tburkard_google.com
Now that I know a workaround, it is not critical for me to get this ...
7 years, 8 months ago (2013-04-03 17:45:03 UTC) #6
sschmitz
7 years, 8 months ago (2013-04-03 19:24:32 UTC) #7
sschmitz
7 years, 8 months ago (2013-04-03 19:26:29 UTC) #8
Jorge Lucangeli Obes
https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh#newcode213 build/install-build-deps.sh:213: echo "Warning: Your Repo appears to be on a ...
7 years, 8 months ago (2013-04-04 02:33:44 UTC) #9
James Cook
On 2013/04/04 02:33:44, Jorge Lucangeli Obes wrote: > https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh > File build/install-build-deps.sh (right): > > ...
7 years, 8 months ago (2013-04-04 03:10:10 UTC) #10
sschmitz
https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh#newcode213 build/install-build-deps.sh:213: echo "Warning: Your Repo appears to be on a ...
7 years, 8 months ago (2013-04-04 14:51:31 UTC) #11
Jorge Lucangeli Obes
On 2013/04/04 14:51:31, sschmitz wrote: > https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh > File build/install-build-deps.sh (right): > > https://codereview.chromium.org/13532003/diff/13001/build/install-build-deps.sh#newcode213 > ...
7 years, 8 months ago (2013-04-04 17:57:10 UTC) #12
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 8 months ago (2013-04-04 18:02:46 UTC) #13
Daniel Erat
LGTM This might have some false positives, as I assume that not all FUSE filesystems ...
7 years, 8 months ago (2013-04-04 18:14:26 UTC) #14
sschmitz
Because of "bash -e" any failure will exit the script immediately. So I cannot try ...
7 years, 8 months ago (2013-04-04 18:16:23 UTC) #15
Daniel Erat
I'm not a shell wizard, but I believe that only unhandled failures will exit. Local ...
7 years, 8 months ago (2013-04-04 18:28:24 UTC) #16
sschmitz
thanks On Thu, Apr 4, 2013 at 11:28 AM, <derat@chromium.org> wrote: > I'm not a ...
7 years, 8 months ago (2013-04-04 18:44:42 UTC) #17
sschmitz
Thanks, Dan... now testing for failure and exiting with an error message and instructions.
7 years, 8 months ago (2013-04-04 19:30:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/13532003/24003
7 years, 8 months ago (2013-04-04 19:35:36 UTC) #19
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-04 19:37:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/13532003/24003
7 years, 8 months ago (2013-04-04 23:19:51 UTC) #21
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 03:52:17 UTC) #22
Message was sent while issue was closed.
Change committed as 192485

Powered by Google App Engine
This is Rietveld 408576698