Commit e8ca5d5e authored by Tom Rini's avatar Tom Rini
Browse files

Dockerfile: Add required utilities for EFI Secure Boot tests



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@linaro.org>
Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
parent 78776385
......@@ -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 && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment