All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] travis: update sbsigntools to 0.9.4
@ 2020-07-21  9:56 AKASHI Takahiro
  2020-07-21 13:00 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: AKASHI Takahiro @ 2020-07-21  9:56 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [RFC] travis: update sbsigntools to 0.9.4
  2020-07-21  9:56 [RFC] travis: update sbsigntools to 0.9.4 AKASHI Takahiro
@ 2020-07-21 13:00 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2020-07-21 13:00 UTC (permalink / raw)
  To: u-boot

On Tue, Jul 21, 2020 at 06:56:39PM +0900, AKASHI Takahiro wrote:
> 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?

Yes, sudo is available and you can use that.

-- 
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/d848610f/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-21 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21  9:56 [RFC] travis: update sbsigntools to 0.9.4 AKASHI Takahiro
2020-07-21 13:00 ` Tom Rini

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.