From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Ross Burton <Ross.Burton@arm.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v7 4/8] oeqa selftest uki.py: add tests for uki.bbclass
Date: Fri, 11 Oct 2024 08:58:11 +0300 [thread overview]
Message-ID: <Zwi-c1PagFakB46I@nuoska> (raw)
In-Reply-To: <569C7B3F-87BC-4916-BC1B-429DF573CFDD@arm.com>
Hi,
On Thu, Oct 10, 2024 at 08:17:38PM +0000, Ross Burton wrote:
> On 10 Oct 2024, at 09:56, Mikko Rapeli via lists.openembedded.org <mikko.rapeli=linaro.org@lists.openembedded.org> wrote:
> > +# efi, uki and systemd features must be enabled
> > +INIT_MANAGER = "systemd"
>
> Yes
>
> > +MACHINE_FEATURES:append = " efi"
>
> Maybe we should add this to the qemu machines, as they can do EFI.
>
> > +DISTRO_FEATURES:append = " uki"
>
> Fine
Leftover, should not be needed so removing.
> > +DISTRO_FEATURES:append = " systemd"
> > +DISTRO_FEATURES_NATIVE:append = " systemd”
>
> These are not needed as INIT_MANAGER causes more than a variable assignment, it manipulates DISTRO_FEATURES.
Ok trying without.
> > + # Verify from efivars that firmware was:
> > + # x86_64, qemux86_64 = edk2
> > + # arm, = u-boot
> > + cmd = "echo $( cat /sys/firmware/efi/efivars/LoaderFirmwareInfo-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f ) | grep 'EDK II'"
> > + status, output = qemu.run_serial(cmd)
> > + self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
>
> Looks like the comments are ahead of the test here - this is assuming the MACHINE is qemux86-64.
Yes, all tests are for now x86 only. I could add aarch64 but
genericarm64 and qemuarm64 are quite different so would need
to figure out the efi boot issues in both. I was not sure
which archs and machines run these tests. Tests should not
set MACHINE related details, or?
Cheers,
-Mikko
next prev parent reply other threads:[~2024-10-11 5:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 8:56 [PATCH v7 0/8] systemd uki support Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 1/8] uki.bbclass: add class for building Unified Kernel Images (UKI) Mikko Rapeli
2024-10-10 20:14 ` [OE-core] " Ross Burton
2024-10-11 5:54 ` Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 2/8] wic bootimg-efi.py: keep timestamps and add debug prints Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 3/8] wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 4/8] oeqa selftest uki.py: add tests for uki.bbclass Mikko Rapeli
2024-10-10 20:17 ` [OE-core] " Ross Burton
2024-10-11 5:58 ` Mikko Rapeli [this message]
2024-10-10 8:56 ` [PATCH v7 5/8] oeqa selftest efibootpartition.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 6/8] oeqa selftest efibootpartition.py: remove systemd-boot from grub-efi test Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 7/8] oeqa selftest wic.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-10-10 8:56 ` [PATCH v7 8/8] oeqa selftest wic.py: support UKIs via uki.bbclass Mikko Rapeli
2024-10-10 20:21 ` [OE-core] [PATCH v7 0/8] systemd uki support Ross Burton
2024-10-11 5:49 ` Mikko Rapeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zwi-c1PagFakB46I@nuoska \
--to=mikko.rapeli@linaro.org \
--cc=Ross.Burton@arm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox