diff options
-rw-r--r-- | ansible/roles/gsm-tester/tasks/main.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml index 88f072e..0a5a838 100644 --- a/ansible/roles/gsm-tester/tasks/main.yml +++ b/ansible/roles/gsm-tester/tasks/main.yml @@ -129,6 +129,31 @@ tags: - ofono +# patchelf 0.9 available in debian has bugs with certain binaries. Version 0.10 +# fails on other binaries, so we need both 0.9 and 0.10 versions installed. +- name: setup patchelf v0.10 repository + git: + repo: 'https://github.com/NixOS/patchelf.git' + dest: /root/patchelf + version: "0.10" + clone: yes + update: no + tags: + - patchelf + +- name: build patchelf v0.10 + shell: | + autoreconf -fi && \ + ./configure --prefix=/opt && \ + make && \ + mkdir -p /opt/bin/ && \ + cp src/patchelf /opt/bin/patchelf-v0.10 + args: + chdir: /root/patchelf + creates: /opt/bin/patchelf-v0.10 + tags: + - patchelf + - name: install gsm tester dependencies apt: name: "{{ item }}" |