[PATCH] test: use virt-make-fs to build image

AKASHI Takahiro takahiro.akashi at linaro.org
Thu Jul 16 02:45:30 CEST 2020


Heinrich,

On Wed, Jul 15, 2020 at 08:55:15AM -0400, Tom Rini wrote:
> On Wed, Jul 15, 2020 at 01:19:20PM +0900, AKASHI Takahiro wrote:
> > Heinrich,
> > 
> > On Tue, Jul 14, 2020 at 01:18:04AM +0200, Heinrich Schuchardt wrote:
> > > Am 14. Juli 2020 01:02:07 MESZ schrieb AKASHI Takahiro <takahiro.akashi at linaro.org>:
> > > >Heinrich,
> > > >
> > > >On Tue, Jul 14, 2020 at 12:15:34AM +0200, Heinrich Schuchardt wrote:
> > > >> Avoid sudo for test/py/tests/test_efi_secboot by using virt-make-fs.
> > > >
> > > >Have you read this?
> > > >https://lists.denx.de/pipermail/u-boot/2020-July/419345.html
> > > >
> > > >-Takahiro Akashi
> > > 
> > > Just put chmod 644 /boot/vmlinu* into your update-initramfs hook directory /etc/initramfs-tools and complain to Ubuntu maintainers about them breaking their own packages.
> > 
> > If this solves all the issues, that's fine.
> > But if you require this extra step to run the test, you should
> > describe it explicitly somewhere. Otherwise, people can get confused.
> > 
> > I believe that it would be still useful to have a fall-back
> > method of "sudo" version.
> 
> We're not dropping sudo until CI runs and passes the tests that use
> guestfstools, etc, instead of sudo.  To be clear, once we fix the
> current broken check that doesn't try and run sudo when guestfstools
> exists but exits badly, the tests pass.  We aren't there yet with just
> using guestfstools only.

So are you going to work on this?

-Takahiro Akashi

> -- 
> Tom




More information about the U-Boot mailing list