> From: "Theo de Raadt" <[email protected]> > Date: Sat, 29 Mar 2025 09:35:34 -0600 > > Stuart Henderson <[email protected]> wrote: > > > On 2025/03/29 14:30, Klemens Nanni wrote: > > > 23.03.2025 19:30, Sven Wolf пишет: > > > > since some weeks, after I run 'sysupgrade -n -s -k' and installed the > > > > current snapshot, the boot order in UEFI gets changed. > > > > > > This is intended, OpenBSD attempts to ensure that it is booted by default. > > > > > > > I there a way to disable this behavior? > > > > > > No. > > > > Probably makes sense for install but this seems a pretty bad idea after an > > update. > > Yeah, that's possibly the right conclusion. A conditional in the > script might be required.
The solution I had in mind was to do the following: * If the OpenBSD Boot#### boot option doesn't exist, create it and prepend it to the BootOrder list. * If the OpenBSD Boot#### boot option exists, do nothing (and leave BootOrder alone). If we do this, we may want to set the BootNext variable such that a reboot boots OpenBSD and finishes the install.
