build-unit-test-docker: Disable unused parts of sdbusplus
We don't want to build tests or examples for cached dependency.
Change-Id: I5782d3f11d4b7d40c959a99efea8c5075682513a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/build-unit-test-docker.sh b/build-unit-test-docker.sh
index 143b8b0..8c53f6c 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -393,11 +393,10 @@
ninja -C build install
FROM openbmc-base as openbmc-sdbusplus
-COPY --from=openbmc-googletest ${PREFIX} ${PREFIX}
RUN curl -L https://github.com/openbmc/sdbusplus/archive/${PKG_REV['openbmc/sdbusplus']}.tar.gz | tar -xz && \
cd sdbusplus-* && \
cd tools && ./setup.py install --root=/ --prefix=${PREFIX} && \
-cd .. && meson build ${MESON_FLAGS[@]} && \
+cd .. && meson build ${MESON_FLAGS[@]} -Dtests=disabled -Dexamples=disabled && \
ninja -C build && \
ninja -C build install