Skip to contentSkip to conversation

Dockerfile: update sbsigntools to v0.9.4

PATCH New AKASHI Takahiro 2 participants 3 messages Jul 21, 2020 – Aug 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Dockerfile: update sbsigntools to v0.9.4

This version of sbsigntools is a prerequisite in testing "intermediate certificates" support as part of UEFI secure boot as I added '--addcert' option to 'sbsign' command:

===
commit 7d6210e4b1fd
Author: AKASHI Takahiro <[email protected]>
Date: Thu Jun 4 16:50:22 2020 +0900

sbsign: allow for adding intermediate certificates
===

---
 Dockerfile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Dockerfile +15 -0
index 209e008b74b2..dfb61c6c705b 100644
@@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y \
 	automake \
 	autopoint \
 	bc \
+	binutils-dev \
 	bison \
 	build-essential \
 	clang-10 \
@@ -52,9 +53,11 @@ RUN apt-get update && apt-get install -y \
 	flex \
 	gdisk \
 	git \
+	gnu-efi \
 	graphviz \
 	grub-efi-amd64-bin \
 	grub-efi-ia32-bin \
+	help2man \
 	iasl \
 	imagemagick \
 	iputils-ping \
@@ -76,6 +79,7 @@ RUN apt-get update && apt-get install -y \
 	openssl \
 	picocom \
 	parted \
+	pkg-config \
 	python \
 	python-dev \
 	python-pip \
@@ -90,6 +94,7 @@ RUN apt-get update && apt-get install -y \
 	sudo \
 	swig \
 	util-linux \
+	uuid-dev \
 	virtualenv \
 	zip \
 	&& rm -rf /var/lib/apt/lists/*
@@ -100,6 +105,16 @@ RUN wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd
 # 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
 
+# Manually install a new enough version of sbsigntools (must be v0.9.4 or later)
+RUN git clone https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git /tmp/sbsigntools && \
+	cd /tmp/sbsigntools && \
+	git checkout -b latest v0.9.4 && \
+	./autogen.sh && \
+	./configure && \
+	make && \
+	make install && \
+	rm -rf /tmp/sbsigntools
+
 # Build GRUB UEFI targets for ARM & RISC-V, 32-bit and 64-bit
 RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 	cd /tmp/grub && \
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 Dockerfile: update sbsigntools to v0.9.4

Quoted 9 lines · AKASHI Takahiro

This version of sbsigntools is a prerequisite in testing "intermediate certificates" support as part of UEFI secure boot as I added '--addcert' option to 'sbsign' command:

===
commit 7d6210e4b1fd
Author: AKASHI Takahiro <[email protected]>
Date: Thu Jun 4 16:50:22 2020 +0900

Quoted 4 lines

sbsign: allow for adding intermediate certificates
===

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200721/d1380adb/attachment.sig>
Applied
#2 lore raw

PATCH 1/1 Dockerfile: update sbsigntools to v0.9.4

In reply to AKASHI Takahiro
Quoted 9 lines · AKASHI Takahiro

This version of sbsigntools is a prerequisite in testing "intermediate certificates" support as part of UEFI secure boot as I added '--addcert' option to 'sbsign' command:

===
commit 7d6210e4b1fd
Author: AKASHI Takahiro <[email protected]>
Date: Thu Jun 4 16:50:22 2020 +0900

Quoted 5 lines

sbsign: allow for adding intermediate certificates
===

Applied to gitlab-ci-runner/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200806/028ecd5d/attachment.sig>