mirror of https://gerrit.osmocom.org/osmo-ci
gsm-tester: Manual build and install of patchelf v0.10
Due to [1], we require both debian9 patchelf v0.9 and v0.10 to be available and used by osmo-gsm-teser depending on the binary to be patched. [1] https://github.com/NixOS/patchelf/issues/192 Related: OS#4389 Change-Id: I28825d723b85900fb51cc5b8a9d14c6ef346e667
This commit is contained in:
parent
fcad862f86
commit
a264f9fcdd
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in New Issue