[U-Boot] required host packages on Travis CI

AKASHI Takahiro
2019-11-01T05:34:35Z

Tom,

On Wed, Oct 30, 2019 at 07:17:29AM -0400, Tom Rini wrote:
> On Wed, Oct 30, 2019 at 03:30:58PM +0900, AKASHI Takahiro wrote:
>
> > Hi Tom,
> >
> > In test/py/README.md, all the required host packages and their
> > versions to be used on 14.04(Trusty) are listed. On the other hand,
> > ".travis.yml" names a similar but different list of packages.
> > The latter also specifies the distribution to be used, which is
> > xenial(16.04).
> >
> > * How would like to sync those two different lists?
> > * Do you still think it appropriate to mention the "tested versions"
> > in README.md at all?
>
> The README is woefully out of date and I addressed that as part of:
> http://patchwork.ozlabs.org/project/uboot/list/?series=138421

Oooops, I haven't noticed it.

> Please note that moving forward, the GitLab and Azure CI files need to
> be kept up to date as well, but with at least one of them being updated
> I can help with the other two. Thanks!

Although I don't understand what you mean above very well,
some questions:
1) Is it good enough just to put a package name in .travis.yml's addons
if all the required binaries (commands) are installed in standard
PATH?

2) I need efitools package, but a version provided in xenial(16.04) is
quite old and some command has a fatal bug. So my current py test
will fail.
We need v1.5.2 or later of efitools, which is only available
in cosmic(18.10) and later.
How can we address this issue? Do we need some script to build efitools
on our own on GitLab/Travis server?

3) (Not specific to secure boot test)
Does "su" or "sudo" command work on Travis CI server?

Thanks,
-Takahiro Akashi

> --
> Tom