build-unit-test-docker: sdeventplus will depend on function2
This change is in anticipation of some changes coming to sdeventplus
where it will have a mandatory requirement on function2.
Change-Id: Id00106232701519b5b0e0016887d57d1d08c605b
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 5c79a58..7674bfa 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -309,6 +309,7 @@
make install
FROM openbmc-base as openbmc-sdeventplus
+COPY --from=openbmc-function2 ${PREFIX} ${PREFIX}
COPY --from=openbmc-stdplus ${PREFIX} ${PREFIX}
RUN curl -L https://github.com/openbmc/sdeventplus/archive/${PKG_REV['sdeventplus']}.tar.gz | tar -xz && \
cd sdeventplus-* && \