From 5e9f1dd4e0f38931155339ab8389d500004f0fde Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 4 May 2017 18:08:49 +0200 Subject: [bug] add missing libs to make the bundle work on latest ubuntu - Resolves: #8876 --- pkg/docker_bundle/Dockerfile | 11 ++++++++++- pkg/pyinst/build.mk | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/docker_bundle/Dockerfile b/pkg/docker_bundle/Dockerfile index 686bc7d1..41635cb8 100644 --- a/pkg/docker_bundle/Dockerfile +++ b/pkg/docker_bundle/Dockerfile @@ -1,3 +1,11 @@ +# Thiis is *almost* a copy of the file that's used for building the bundle docker image. +# The copy that the CI uses is in tests/docker/Dockerfile + +# It has diverged from the original, but it's because I don't want the clutter +# of all the nodejs and friends inside a container for bundling. + +# TODO consider converging the two copies! + FROM ubuntu:16.04 MAINTAINER LEAP Encryption Access Project @@ -7,5 +15,6 @@ RUN apt update && apt upgrade -y # Install bitmask-dev build deps RUN apt install -y git build-essential python-virtualenv libpython-dev \ - libsqlcipher-dev libssl-dev libffi-dev python-pyqt5 python-pyqt5.qtwebkit + libsqlcipher-dev libssl-dev libffi-dev python-pyqt5 python-pyqt5.qtwebkit \ + libusb-0.1-4 patchelf diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk index 760f7983..25a7ef38 100644 --- a/pkg/pyinst/build.mk +++ b/pkg/pyinst/build.mk @@ -25,6 +25,9 @@ bundle_gpg: # TODO build it in a docker container! mkdir -p $(DIST_VERSION)/apps/mail cp /usr/bin/gpg $(DIST_VERSION)/apps/mail/ + # workaround for missing libreadline.so.6 in fresh ubuntu + patchelf --set-rpath '.' $(DIST_VERSION)/apps/mail/gpg + cp /lib/x86_64-linux-gnu/libusb-0.1.so.4 $(DIST_VERSION)/lib bundle_linux_helpers: mkdir -p $(DIST_VERSION)/apps/helpers -- cgit v1.2.3