From: Tom Rini Date: Thu, 5 Dec 2019 19:07:00 -0500 Subject: [gitlab-ci-runner PATCH 2/2] Dockerfile: Add required utilities for EFI Secure Boot tests In-Reply-To: <20191206000700.31727-1-trini@konsulko.com> References: <20191206000700.31727-1-trini@konsulko.com> Message-ID: <20191206000700.31727-2-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Signed-off-by: Tom Rini --- 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