Commit Graph
3 Commits
Author SHA1 Message Date
Hans de Goede 641c7026d7 hwdb: sensor: Add Odys Windesk X10 accel mount matrix
Add a mount matrix for the accelerometer on the Odys Windesk X10 tablet to
fix auto-rotation.
2026-07-12 13:27:15 +01:00
Hans de Goede f8ed94ea99 boot: Make missing CHID DTB match a debug message instead of an error
With distributions like Ubuntu and Fedora using systemd-stub to auto load
DTB's on Windows on ARM laptops, the CHID DTB match failing is expected
when that same UKI is instead booted on an ARM SystemReady system where
no DTB is necessary.

In the ARM SystemReady case showing a big red error message is undesirable
and leads to confused users and bug-reports. Lower the message to debug
level when the status is EFI_NOT_FOUND to avoid these false positive error
messages.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2444759
2026-03-05 18:29:16 +01:00
Hans de Goede 3f4279829e stub: Fix NULL pointer deref when there are no initrds
When n_all_initrds == 0, then all_initrds is unmodified from its initial
value of:

	_cleanup_free_ struct iovec *all_initrds = NULL;

and in the else block of the "if (n_all_initrds > 1)" the NULL is
dereferenced:

		final_initrd = all_initrds[0];

Leading to the stub crashing due to a NULL pointer deref.

Fix this by initializing final_initrd to all 0s and only
running the else block if (n_all_initrds == 1).
2026-01-13 08:33:25 +09:00