[RFC] travis: update sbsigntools to 0.9.4

AKASHI Takahiro takahiro.akashi at linaro.org
Tue Jul 21 11:56:39 CEST 2020


Hi Tom,

I'd like to modify travis.yml as follows below,
but the script failed at 'make install':

===8<===
/bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c sbsign sbverify sbattach sbvarsign sbsiglist sbkeysync '/usr/local/bin'
  /usr/bin/install: cannot create regular file '/usr/local/bin/sbsign': Permission denied
  /usr/bin/install: cannot create regular file '/usr/local/bin/sbverify': Permission denied
  /usr/bin/install: cannot create regular file '/usr/local/bin/sbattach': Permission denied
  /usr/bin/install: cannot create regular file '/usr/local/bin/sbvarsign': Permission denied
  /usr/bin/install: cannot create regular file '/usr/local/bin/sbsiglist': Permission denied
  /usr/bin/install: cannot create regular file '/usr/local/bin/sbkeysync': Permission denied
  Makefile:378: recipe for target 'install-binPROGRAMS' failed
===>8===

Can you tell me how I should fix this problem, please?
Do you allow me to run 'make install' with sudo?

Thanks,
-Takahiro Akashi

---
 .travis.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 1ff140855ea3..8c62e01c39f3 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.deb && 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-0ubuntu2_amd64.deb && 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 &&
+   make install &&
+   popd
 
 env:
   global:
-- 
2.27.0



More information about the U-Boot mailing list