[PATCH] travis: update sbsigntools to 0.9.4

Signed-off-by: AKASHI Takahiro takahiro.akashi@linaro.org --- v1: * execute 'make install' with sudo --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
diff --git a/.travis.yml b/.travis.yml index 1ff140855ea3..c99c37947c7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,14 @@ addons: - sbsigntool - fakeroot - mtd-utils + - automake + - binutils-dev + - gnu-efi + - help2man + - libguestfs-tools + - linux-image-kvm + - pkg-config + - uuid-dev
install: # Clone uboot-test-hooks @@ -69,6 +77,14 @@ install: - grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd - wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd64.de... && sudo dpkg -i libmpfr4_3.1.4-1_amd64.deb && rm libmpfr4_3.1.4-1_amd64.deb - wget http://mirrors.kernel.org/ubuntu/pool/universe/e/efitools/efitools_1.8.1-0ub... && sudo dpkg -i efitools_1.8.1-0ubuntu2_amd64.deb && rm efitools_1.8.1-0ubuntu2_amd64.deb + - git clone https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git /tmp/sbsigntools && + pushd /tmp/sbsigntools && + git checkout -b latest v0.9.4 && + ./autogen.sh && + ./configure && + make && + sudo make install && + popd
env: global:

On Wed, Jul 22, 2020 at 03:04:34PM +0900, AKASHI Takahiro wrote:
Signed-off-by: AKASHI Takahiro takahiro.akashi@linaro.org
[snip]
@@ -69,6 +77,14 @@ install:
- grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd
- wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd64.de... && sudo dpkg -i libmpfr4_3.1.4-1_amd64.deb && rm libmpfr4_3.1.4-1_amd64.deb
- wget http://mirrors.kernel.org/ubuntu/pool/universe/e/efitools/efitools_1.8.1-0ub... && sudo dpkg -i efitools_1.8.1-0ubuntu2_amd64.deb && rm efitools_1.8.1-0ubuntu2_amd64.deb
- git clone https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git /tmp/sbsigntools &&
- pushd /tmp/sbsigntools &&
- git checkout -b latest v0.9.4 &&
- ./autogen.sh &&
- ./configure &&
- make &&
- sudo make install &&
- popd
The problem I see is that this is the "every job" section. Today we do the grub-mkimage / wget of efitools here because they're reasonably expected to be near-instant operations. Building however is something that I'm assuming is going to take a minute or two. And since we have problems with jobs that need to be split to fit within the Travis build-time window, I think we need to move this to be with the other build-things sections. Since we could be testing signatures on any platform, I think we can do: if [[ "${TEST_PY_BD}" != "" ]]; then git clone ... fi before we start on building qemu. Thanks!
participants (2)
-
AKASHI Takahiro
-
Tom Rini