build-unit-test-docker: Install sdbusplus tools first
Depending on how we update the build in the future it will be nice to
have the native tools available for meson to autodetect and use during
the sdbusplus build.
Change-Id: I25ee6288e546938c836e7fc317a9f811c8bbe1be
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 70216f9..5d02405 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -395,11 +395,10 @@
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-* && \
-meson build ${MESON_FLAGS[@]} && \
+cd tools && ./setup.py install --root=/ --prefix=${PREFIX} && \
+cd .. && meson build ${MESON_FLAGS[@]} && \
ninja -C build && \
-ninja -C build install && \
-cd tools && \
-./setup.py install --root=/ --prefix=${PREFIX}
+ninja -C build install
FROM openbmc-base as openbmc-sdeventplus
COPY --from=openbmc-function2 ${PREFIX} ${PREFIX}