|
|
DescriptionFix 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 #Messages
Total messages: 28 (10 generated)
It looks reasonable, but I'm not really familiar with readlink. +primiano +sbc who will know. (ki.stfu: On Chrome in general, please only add one reviewer, not everyone in OWNERS.)
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... build/install-build-deps.sh:118: if file $(readlink -f /sbin/init) | grep -q 'ELF 64-bit'; then Can you just do file --dereference instead?
On 2015/08/17 17:37:54, scottmg wrote: > It looks reasonable, but I'm not really familiar with readlink. +primiano +sbc > who will know. > > (ki.stfu: On Chrome in general, please only add one reviewer, not everyone in > OWNERS.) lgtm
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... build/install-build-deps.sh:118: if file $(readlink -f /sbin/init) | grep -q 'ELF 64-bit'; then On 2015/08/17 17:45:40, Primiano Tucci wrote: > Can you just do file --dereference instead? Yes, you're right. I haven't seen this option before.
On 2015/08/17 17:37:54, scottmg wrote: > It looks reasonable, but I'm not really familiar with readlink. +primiano +sbc > who will know. I'll rework it to use --dereference option. > (ki.stfu: On Chrome in general, please only add one reviewer, not everyone in > OWNERS.) Okay, I got it.
Can anyone tell me, why all trybot results are "exception -1"?
Tryjobs are only allowed for a certain list of people (I think to avoid DoS or something), which I guess you're not on. On Mon, Aug 17, 2015 at 11:15 AM, ki.stfu@gmail.com via codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote: > Can anyone tell me, why all trybot results are "exception -1"? > > > https://codereview.chromium.org/1300613002/ > > To unsubscribe from this group and stop receiving emails from it, send an > email to chromium-reviews+unsubscribe@chromium.org. > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
The CQ bit was checked by sbc@chromium.org to run a CQ dry run
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
The CQ bit was unchecked by commit-bot@chromium.org
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_presub...)
LGTM No need of any trybots. AFAIK no bot is covering this script.
The CQ bit was checked by primiano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sbc@chromium.org Link to the patchset: https://codereview.chromium.org/1300613002/#ps20001 (title: "Use --derenefernce option")
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
thakis@chromium.org changed reviewers: + thakis@chromium.org
rs-lgtm in case that's needed for presubmit
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by thakis@chromium.org
** Presubmit Warnings ** ki.stfu@gmail.com is not in AUTHORS file. If you are a new contributor, please visit http://www.chromium.org/developers/contributing-code and read the "Legal" section If you are a chromite, verify the contributor signed the CLA.
The CQ bit was unchecked by thakis@chromium.org
The CQ bit was checked by ki.stfu@gmail.com
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
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/0a79d699ff6d87346347aa0f2d91d8e5dddd6924 Cr-Commit-Position: refs/heads/master@{#349373} |