URL:
<https://savannah.gnu.org/bugs/?64919>
Summary: Update to the new console structure for the OpenBSD
kernel > 7.2
Group: GNU GRUB
Submitter: yuichiro
Submitted: Wed 22 Nov 2023 07:43:31 AM UTC
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 2.02
Release:
Discussion Lock: Any
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 22 Nov 2023 07:43:31 AM UTC By: Yuichiro Naito <yuichiro>
The console boot argument structure has been updated since OpenBSD 7.3.
https://github.com/Openbsd/src/commit/66d55b09c560003edd61d52fbd347170dbe9c32d
https://github.com/Openbsd/src/commit/745c2f60e98fd1f418c104960a567e120624d705
This patch updates the “grub_openbsd_bootarg_console” and leaves the old
structure as “grub_openbsd_bootarg_console_legacy”.
My patch checks the version number string of the loading kernel. If it is
prior to 7.3, it replaces the “grub_openbsd_bootarg_console” structure
data with the “grub_openbsd_bootarg_console_legacy” structure data.
If the loading kernel is stripped, Grub2 won’t know which structure should
be used. So users can specify the legacy console structure by adding the “-
l” option with the “kopenbsd” command.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 22 Nov 2023 07:43:31 AM UTC Name: openbsd_newconsole.patch Size:
9KiB By: yuichiro
<http://savannah.gnu.org/bugs/download.php?file_id=55347>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64919>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/