Skip to contentSkip to conversation

travis: update sbsigntools to 0.9.4

PATCH Superseded AKASHI Takahiro 2 participants 4 messages Jul 29, 2020 – Jul 31, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 travis: update sbsigntools to 0.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
===

Please note that, even after this patch is applied, UEFI secure boot test can fail due to an issue with make-virt-fs.

---
v2:
* move the code to 'build' section per Tom
v1:
* execute 'make install' with sudo

---
 .travis.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
.travis.yml +20 -0
index 1ff140855ea3..dfc110a403b2 100644
@@ -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
@@ -112,6 +120,18 @@ before_script:
        ./tools/buildman/buildman --fetch-arch riscv32 &&
        ./tools/buildman/buildman --fetch-arch riscv64;
     fi
+  # Build sbsigntools, 0.9.4
+  - if [[ "${TEST_PY_BD}" != "" ]]; then
+       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
+    fi
+
   - if [[ "${QEMU_TARGET}" != "" ]]; then
        git clone git://git.qemu.org/qemu.git /tmp/qemu;
        pushd /tmp/qemu;
Signature · 1 line
2.27.0
#1 lore raw

PATCH v2 1/1 travis: update sbsigntools to 0.9.4

Quoted 31 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

sbsign: allow for adding intermediate certificates
===

Please note that, even after this patch is applied, UEFI secure boot test can fail due to an issue with make-virt-fs.

---
v2:
* move the code to 'build' section per Tom
v1:
* execute 'make install' with sudo

---
 .travis.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
.travis.yml +0 -0
index 1ff140855ea3..dfc110a403b2 100644
@@ -52,6 +52,14 @@ addons:
     - sbsigntool

.travis.yml addons: · line 62

Quoted 10 lines
.travis.yml +8 -0
     - fakeroot
     - mtd-utils
+    - automake
+    - binutils-dev
+    - gnu-efi
+    - help2man
+    - libguestfs-tools
+    - linux-image-kvm
+    - pkg-config
+    - uuid-dev

Do you have a travis run from applying this patch available? I'm concerned that with libguestfs-tools installed now the filesystem tests will move to "skip" rather than run.

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/20200730/61e8cf2b/attachment.sig>
#2 lore raw

PATCH v2 1/1 travis: update sbsigntools to 0.9.4

Quoted 39 lines · Tom Rini
Quoted 37 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

sbsign: allow for adding intermediate certificates
===

Please note that, even after this patch is applied, UEFI secure boot test can fail due to an issue with make-virt-fs.

---
v2:
* move the code to 'build' section per Tom
v1:
* execute 'make install' with sudo

---
 .travis.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
.travis.yml +4 -0
index 1ff140855ea3..dfc110a403b2 100644
@@ -52,6 +52,14 @@ addons:
     - sbsigntool
     - fakeroot
     - mtd-utils
+    - automake
+    - binutils-dev
+    - gnu-efi
+    - help2man
Quoted 8 lines

.travis.yml addons: · line 62

Quoted 4 lines
.travis.yml +4 -0
+    - libguestfs-tools
+    - linux-image-kvm
+    - pkg-config
+    - uuid-dev

Do you have a travis run from applying this patch available? I'm concerned that with libguestfs-tools installed now the filesystem tests will move to "skip" rather than run.

Yes, I saw that the filesystem tests were skipped.

-Takahiro Akashi

Quoted 3 lines
Signature · 2 lines
-- 
Tom
#3 lore raw

PATCH v2 1/1 travis: update sbsigntools to 0.9.4

Quoted 49 lines · AKASHI Takahiro
Quoted 39 lines · Tom Rini
Quoted 37 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

sbsign: allow for adding intermediate certificates
===

Please note that, even after this patch is applied, UEFI secure boot test can fail due to an issue with make-virt-fs.

---
v2:
* move the code to 'build' section per Tom
v1:
* execute 'make install' with sudo

---
 .travis.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
.travis.yml +4 -0
index 1ff140855ea3..dfc110a403b2 100644
@@ -52,6 +52,14 @@ addons:
     - sbsigntool
     - fakeroot
     - mtd-utils
+    - automake
+    - binutils-dev
+    - gnu-efi
+    - help2man
Quoted 8 lines

.travis.yml addons: · line 62

Quoted 4 lines
.travis.yml +4 -0
+    - libguestfs-tools
+    - linux-image-kvm
+    - pkg-config
+    - uuid-dev

Do you have a travis run from applying this patch available? I'm concerned that with libguestfs-tools installed now the filesystem tests will move to "skip" rather than run.

Quoted 1 line

Yes, I saw that the filesystem tests were skipped.

Well that's a blocker for this then.

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/20200730/42a1e68a/attachment.sig>