Re: [PATCH] acpi: Fix out of bounds access in grub_acpi_xsdt_find_table()

2024-10-16 Thread Adam Williamson
gt; Signed-off-by: Benjamin Herrenschmidt This can be marked as: Tested-by: Renata Ravanelli per https://bugzilla.redhat.com/show_bug.cgi?id=2317048#c35 . -- Adam Williamson (he/him/his) Fedora QA Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fo

[PATCH v2] Re-order grub_serial_find to fix default to com0 on some platforms

2024-10-16 Thread Adam Williamson
t;, so it will be handled by the existing "exact match by name" block that comes next, just as it was before 7b192ec4c. In the handling of "auto", have the ifdef that is meant to block grub_ns8250_spcr_init on inappropriate platforms *only* wrap that call, not *also* wrap the

Re: [PATCH] Re-order grub_serial_find to fix default to com0 on some platforms

2024-10-15 Thread Adam Williamson
On Wed, 2024-10-16 at 14:19 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2024-10-15 at 11:10 -0700, Adam Williamson wrote: > > > > 7b192ec4c rejigged the serial port detection code when no port > > is explicitly specified. Before 7b192ec4c we did > > grub_serial

[PATCH] Re-order grub_serial_find to fix default to com0 on some platforms

2024-10-15 Thread Adam Williamson
d before the mips/x86/EMU/ARC ifdef kicks in), and change the ifdef that is meant to block use of grub_ns8250_spcr_init on inappropriate platforms to *only* wrap the call to grub_ns8250_spcr_init, not *also* wrap the fallback to com0. Signed-off-by: Adam Williamson diff --git a/grub-core/term

Re: Patch: allow the 'python' used to run gentpl.py to be configured

2018-09-13 Thread Adam Williamson
On Tue, 2018-07-17 at 12:35 -0700, Adam Williamson wrote: > On Fri, 2018-07-06 at 13:19 -0700, Adam Williamson wrote: > > On Fri, 2018-07-06 at 19:25 +0200, Daniel Kiper wrote: > > > On Wed, Jul 04, 2018 at 10:08:53AM -0700, Adam Williamson wrote: > > > > gentpl

Re: Patch: allow the 'python' used to run gentpl.py to be configured

2018-07-17 Thread Adam Williamson
On Fri, 2018-07-06 at 13:19 -0700, Adam Williamson wrote: > On Fri, 2018-07-06 at 19:25 +0200, Daniel Kiper wrote: > > On Wed, Jul 04, 2018 at 10:08:53AM -0700, Adam Williamson wrote: > > > gentpl.py is python2/3-agnostic, but there's no way to cause it > > > to b

Re: Patch: allow the 'python' used to run gentpl.py to be configured

2018-07-06 Thread Adam Williamson
On Fri, 2018-07-06 at 19:25 +0200, Daniel Kiper wrote: > On Wed, Jul 04, 2018 at 10:08:53AM -0700, Adam Williamson wrote: > > gentpl.py is python2/3-agnostic, but there's no way to cause it > > to be run with any interpreter other than 'python', it's just >

Patch: allow the 'python' used to run gentpl.py to be configured

2018-07-04 Thread Adam Williamson
n shebang is ignored). This patch allows you to set the make variable 'PYTHONBIN' to change the interpreter used to run gentpl.py. With this, it's possible to build grub on Fedora with 'PYTHON=python3 autogen.sh' and 'make PYTHONBIN=python3', without python2 instal