using sudo?, Re: [PATCH v2 8/8] test/py: efi_secboot: add test for intermediate certificates

Tom Rini trini at konsulko.com
Thu Jul 9 05:15:26 CEST 2020


On Thu, Jul 09, 2020 at 09:58:03AM +0900, AKASHI Takahiro wrote:

> Hi Tom,
> 
> I'd like to make sure of your policy about usage of "sudo" on CI.
> Do you think that we should always avoid using "sudo" in testing?
> 
> I remember that you had allowed us to run sudo in (python)
> test scripts on Travis CI when I requested this (for FAT filesystem?).

So, the best practices at this time are to have the code try and use
guestmount (or similar tools) when possible and fall back to sudo, as
Ubuntu breaks guestmount (and similar tools) by default.

-- 
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/20200708/80710a54/attachment.sig>


More information about the U-Boot mailing list