[gitlab-ci-runner PATCH 2/2] Dockerfile: Add required utilities for EFI Secure Boot tests

Tom Rini trini at konsulko.com
Fri Dec 6 01:07:00 CET 2019


Based on the series to add support for the EFI Secure Boot tests to
Travis, update the Docker container to have the same utilities.

Cc: AKASHI Takahiro <takahiro.akashi at linaro.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 Dockerfile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 9803ff47f814..1aa7e04da0e7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,6 +39,7 @@ RUN apt-get update && apt-get install -y \
 	bison \
 	build-essential \
 	clang-7 \
+	coreutils \
 	cpio \
 	cppcheck \
 	curl \
@@ -62,7 +63,11 @@ RUN apt-get update && apt-get install -y \
 	libusb-1.0-0-dev \
 	lzma-alone \
 	lzop \
+	mount \
+	mtools \
+	openssl \
 	picocom \
+	parted \
 	python \
 	python-dev \
 	python-pip \
@@ -70,11 +75,13 @@ RUN apt-get update && apt-get install -y \
 	python3-pip \
 	python3-sphinx \
 	rpm2cpio \
+	sbsigntool \
 	sloccount \
 	sparse \
 	srecord \
 	sudo \
 	swig \
+	util-linux \
 	virtualenv \
 	zip \
 	&& rm -rf /var/lib/apt/lists/*
@@ -82,6 +89,9 @@ RUN apt-get update && apt-get install -y \
 # Manually install libmpfr4 for the toolchains
 RUN wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd64.deb && dpkg -i libmpfr4_3.1.4-1_amd64.deb && rm libmpfr4_3.1.4-1_amd64.deb
 
+# Manually install a new enough version of efitools (must be v1.5.2 or later)
+RUN wget http://mirrors.kernel.org/ubuntu/pool/universe/e/efitools/efitools_1.8.1-0ubuntu2_amd64.deb && sudo dpkg -i efitools_1.8.1-0ubuntu2_amd64.deb && rm efitools_1.8.1-0ubuntu2_amd64.deb
+
 # Build GRUB UEFI targets grubarm.efi and grubaa64.efi
 RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 	cd /tmp/grub && \
-- 
2.17.1



More information about the U-Boot mailing list