> -----Original Message----- > From: [email protected] > <[email protected]> On Behalf Of Jon Mason > Sent: den 20 september 2024 20:42 > To: [email protected] > Subject: [OE-core] [PATCH v3] default-distrovars: Have KERNEL_CONSOLE > reference SERIAL_CONSOLES > > Currently, KERNEL_CONSOLE has a default value of "ttyS0". However, Arm > machines and those using virtio serial prefer to use "ttyAMA0" or "hvc0" > (or something else). These are usually defined by the machine config > file as SERIAL_CONSOLES, which has one or more entries. Take the first > one of those instead of ttyS0, but default back to ttyS0 if nothing is > set. > > Also, use this variable in the efi wic file instead of "ttyS0". > > This includes revisions suggested by Quentin Schulz. > > Signed-off-by: Jon Mason <[email protected]> > --- > meta/classes-recipe/image_types_wic.bbclass | 1 + > meta/conf/distro/include/default-distrovars.inc | 3 ++- > scripts/lib/wic/canned-wks/mkefidisk.wks | 2 +- > 3 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/meta/classes-recipe/image_types_wic.bbclass b/meta/classes- > recipe/image_types_wic.bbclass > index 86f40633ebcb..db598e874ad7 100644 > --- a/meta/classes-recipe/image_types_wic.bbclass > +++ b/meta/classes-recipe/image_types_wic.bbclass > @@ -26,6 +26,7 @@ WICVARS ?= "\ > INITRD \ > INITRD_LIVE \ > ISODIR \ > + KERNEL_CONSOLE \
Inconsistent indentation (the other lines use a tab, while this uses spaces). > KERNEL_IMAGETYPE \ > MACHINE \ > PSEUDO_IGNORE_PATHS \ //Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205004): https://lists.openembedded.org/g/openembedded-core/message/205004 Mute This Topic: https://lists.openembedded.org/mt/108564893/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
