Dockerfile: use dasharo/vboot fork

Signed-off-by: Piotr Król <piotr.krol@3mdeb.com>
This commit is contained in:
Piotr Król
2024-10-15 15:46:25 +02:00
parent 67246285a5
commit 34c0257017
+13 -6
View File
@@ -38,12 +38,6 @@ RUN git clone https://github.com/coreboot/coreboot.git && \
make && \
make install && \
cd ../../ && \
cd 3rdparty/vboot && \
export USE_FLASHROM=0 && \
make && \
make install && \
unset USE_FLASHROM && \
cd ../../ && \
cd util/smmstoretool && \
make && \
make install && \
@@ -75,6 +69,19 @@ RUN rm -rf coreboot && \
cd .. && \
rm -rf coreboot
# Build vboot tools. We should use a common revision of vboot tools there,
# which is known to support correctly all of the Dasharo platforms.
RUN git clone https://github.com/Dasharo/vboot.git \
-b master \
--depth 1 && \
cd vboot && \
git checkout 22134690d7ced7b2ea824b71b597bb73586d99c6 && \
export USE_FLASHROM=0 && \
make && \
make install && \
unset USE_FLASHROM && \
rm -rf tests build
# Needed for vboot futility to sign images with VBOOT_CBFS_INTEGRATION
ENV CBFSTOOL=/usr/local/bin/cbfstool