On 18 May 2026, at 15:22, Tatrai, Peter via lists.openembedded.org 
<[email protected]> wrote:
> 
> Fall back to the '.2' variant when the primary file does not exist.
> Wrap open() in a try/except OSError so a missing log emits a warning
> instead of aborting the task.

This feels like it’s very particular to your setup: presumably your qemu 
machine has a different set of serial ports to eg qemuarm so the boot log ends 
up in a different filename.  So what if a different machine ends up with the 
log being in boot.log.1 or boot.log.3?

I think a better solution here would be to just list _all_ files that match 
boot.log and boot.log.*, so that the correct log is always shown.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237521): 
https://lists.openembedded.org/g/openembedded-core/message/237521
Mute This Topic: https://lists.openembedded.org/mt/119373684/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to