All of lore.kernel.org
 help / color / mirror / Atom feed
From: AKASHI Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Subject: [RFC] travis: update sbsigntools to 0.9.4
Date: Tue, 21 Jul 2020 18:56:39 +0900	[thread overview]
Message-ID: <20200721095639.GA1516@laputa> (raw)

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

             reply	other threads:[~2020-07-21  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  9:56 AKASHI Takahiro [this message]
2020-07-21 13:00 ` [RFC] travis: update sbsigntools to 0.9.4 Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200721095639.GA1516@laputa \
    --to=takahiro.akashi@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.