mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
kokoro: Install dbus-1 and dbus protos
The trunks interface.proto will be required for the TPM device to communicate TPM commands to the Trunks daemon and receive back TPM responses. BUG=chromium:911799 TEST=kokoro with and without CL:1554982 Change-Id: I557d38172767137c20a108275e0157d9b1f687e6 Reviewed-on: https://chromium-review.googlesource.com/1554879 Commit-Ready: David Tolnay <dtolnay@chromium.org> Tested-by: David Tolnay <dtolnay@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
parent
0b902e68d7
commit
6590e9b8b9
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,7 @@ RUN apt-get update && apt-get install -y \
|
|||
g++ \
|
||||
git \
|
||||
libcap-dev \
|
||||
libdbus-1-dev \
|
||||
libdrm-dev \
|
||||
libfdt-dev \
|
||||
libegl1-mesa-dev \
|
||||
|
@ -109,6 +110,12 @@ RUN git clone https://chromium.googlesource.com/chromiumos/platform2 \
|
|||
&& ar rcs librendernodehost.a src.o \
|
||||
&& cp librendernodehost.a /lib
|
||||
|
||||
# Set up sysroot from which system_api proto files are built.
|
||||
ENV SYSROOT=/sysroot
|
||||
RUN mkdir -p $SYSROOT/usr/include/chromeos/dbus/trunks \
|
||||
&& cp platform2/trunks/interface.proto \
|
||||
$SYSROOT/usr/include/chromeos/dbus/trunks
|
||||
|
||||
# Inform pkg-config where libraries we install are placed.
|
||||
COPY pkgconfig/* /usr/lib/pkgconfig
|
||||
|
||||
|
|
Loading…
Reference in a new issue