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

Issue 1300613002: Fix a detection of 64-bit architecture (Closed)

Created:
5 years, 4 months ago by ki.stfu
Modified:
5 years, 3 months ago
CC:
chromium-reviews, cjhopman, Dirk Pranke, jochen (gone - plz use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a detection of 64-bit architecture This CL fixes a detection of 64-bit architecture when /sbin/init is symlink. On Ubuntu 15.04, /sbin/init is symlink to /lib/systemd/systemd and therefore the |file| command doesn't show anything except the path it refers to. BUG= TEST= R=primiano@chromium.org,sbc@chromium.org,scottmg@chromium.org Committed: https://crrev.com/0a79d699ff6d87346347aa0f2d91d8e5dddd6924 Cr-Commit-Position: refs/heads/master@{#349373}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use --derenefernce option #

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

Messages

Total messages: 28 (10 generated)
ki.stfu
5 years, 4 months ago (2015-08-17 10:03:57 UTC) #1
scottmg
It looks reasonable, but I'm not really familiar with readlink. +primiano +sbc who will know. ...
5 years, 4 months ago (2015-08-17 17:37:54 UTC) #3
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1300613002/diff/1/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/1300613002/diff/1/build/install-build-deps.sh#newcode118 build/install-build-deps.sh:118: if file $(readlink -f /sbin/init) | grep -q 'ELF ...
5 years, 4 months ago (2015-08-17 17:45:41 UTC) #4
Sam Clegg
On 2015/08/17 17:37:54, scottmg wrote: > It looks reasonable, but I'm not really familiar with ...
5 years, 4 months ago (2015-08-17 18:05:21 UTC) #5
ki.stfu
https://codereview.chromium.org/1300613002/diff/1/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/1300613002/diff/1/build/install-build-deps.sh#newcode118 build/install-build-deps.sh:118: if file $(readlink -f /sbin/init) | grep -q 'ELF ...
5 years, 4 months ago (2015-08-17 18:11:01 UTC) #6
ki.stfu
On 2015/08/17 17:37:54, scottmg wrote: > It looks reasonable, but I'm not really familiar with ...
5 years, 4 months ago (2015-08-17 18:14:18 UTC) #7
ki.stfu
Can anyone tell me, why all trybot results are "exception -1"?
5 years, 4 months ago (2015-08-17 18:15:38 UTC) #8
scottmg
Tryjobs are only allowed for a certain list of people (I think to avoid DoS ...
5 years, 4 months ago (2015-08-17 18:16:33 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300613002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300613002/1
5 years, 4 months ago (2015-08-17 22:03:32 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/89068)
5 years, 4 months ago (2015-08-17 22:14:19 UTC) #13
Primiano Tucci (use gerrit)
LGTM No need of any trybots. AFAIK no bot is covering this script.
5 years, 4 months ago (2015-08-18 20:51:42 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300613002/20001
5 years, 4 months ago (2015-08-18 20:52:56 UTC) #17
Nico
rs-lgtm in case that's needed for presubmit
5 years, 4 months ago (2015-08-18 20:56:04 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/89641)
5 years, 4 months ago (2015-08-18 21:03:33 UTC) #21
Nico
** Presubmit Warnings ** ki.stfu@gmail.com is not in AUTHORS file. If you are a new ...
5 years, 4 months ago (2015-08-18 21:04:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300613002/20001
5 years, 3 months ago (2015-09-17 07:18:51 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-17 07:27:20 UTC) #27
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 07:28:09 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0a79d699ff6d87346347aa0f2d91d8e5dddd6924
Cr-Commit-Position: refs/heads/master@{#349373}

Powered by Google App Engine
This is Rietveld 408576698