]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests: run ldconfig after installing extra software
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 9 Jan 2019 16:31:02 +0000 (16:31 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 14 Jan 2019 14:52:30 +0000 (14:52 +0000)
The docker file builds and installs software into /usr/local but does
not run ldconfig. As a result QEMU links to libvirglrenderer.so, but
then crashes in "make check" unable to find the library.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/docker/dockerfiles/debian-amd64.docker

index 47a30adbdba3e56b7d3852f70d20d0f69eb2e4e0..954fcf96060a54dc6cf7de85624025f8d6564124 100644 (file)
@@ -36,5 +36,7 @@ RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
 RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
 ENV QEMU_CONFIGURE_OPTS --enable-netmap
 
+RUN ldconfig
+
 # gcrypt
 ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-gcrypt