From mboxrd@z Thu Jan 1 00:00:00 1970 From: AKASHI Takahiro Date: Thu, 16 Jul 2020 09:45:30 +0900 Subject: [PATCH] test: use virt-make-fs to build image In-Reply-To: <20200715125515.GS6227@bill-the-cat> References: <20200713221534.433297-1-xypron.glpk@gmx.de> <20200713230207.GA28558@laputa> <5928AFC6-B02C-49C1-BF1A-0DF38C46C06A@gmx.de> <20200715041920.GA24274@laputa> <20200715125515.GS6227@bill-the-cat> Message-ID: <20200716004530.GB12429@laputa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 : > > > >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