Skip to content

A few small OpenBSD-ish fixes

jacob berkman grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Do not fail configure if Python is missing. It's only required for developement of GRUB.configure.ac+1 -10 replies
2/3Fix warning about misleading indentation on OpenBSD 6.9 with -Werror enabled (which is the default).grub-core/lib/LzmaEnc.c+1 -10 replies
3/3Use size_t printf format to match typegrub-core/fs/zfs/zfs.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] A few small OpenBSD-ish fixes

Hello,

I built GRUB on OpenBSD 6.9 over the weekend, and ran into a few issues. The minor ones attached were easy enough to
fix. Unfortunately, once installed, it merely prints "Grub Loading" (or something similar) and reboots. In trying to recover from this, I wiped out the MBR and that's when I gave up and figured maybe I should do this in a VM instead.

One other issue I ran into was that setjmp.mod would fail to build because it didn't export any symbols. No other modules seemed to depend on it. I just removed it from Makefile, but I'm not familiar enough with GRUB to know whether that's a reasonable enough solution, or if that's related to the inability to boot.

Cheers,
// jacob

jacob berkman (3):
Do not fail configure if Python is missing. It's only required for
developement of GRUB.
Fix warning about misleading indentation on OpenBSD 6.9 with -Werror
enabled (which is the default).
Use size_t printf format to match type

 configure.ac            | 2 +-
 grub-core/fs/zfs/zfs.c  | 4 ++--
 grub-core/lib/LzmaEnc.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.30.1 (Apple Git-130)