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

Tom Rini trini at konsulko.com
Wed Jul 15 14:55:15 CEST 2020


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.

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


More information about the U-Boot mailing list