sysutils/grub2-bhyve 0.40_12 FreeBSD
Grub-emu loader for bhyve
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
25e7b7508e- License
- GPLv3
- Categories
- sysutils
Description
GNU GRUB is a multiboot boot loader. It was derived from GRUB, the GRand Unified Bootloader, which was originally designed and implemented by Erich Stefan Boleyn.
This port builds the grub-bhyve binary, allowing booting of non-FreeBSD operating systems in bhyve.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/grub2-bhyve | 0.40_12 |
| MidnightBSD | sysutils/grub2-bhyve | 0.40_3 |
| HardenedBSD | sysutils/grub2-bhyve | 0.40_12 |
| GhostBSD | sysutils/grub2-bhyve | 0.40_12 |
Install
Binary package:
pkg install grub2-bhyve
From the ports tree:
cd /usr/ports/sysutils/grub2-bhyve/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= grub2-bhyve>0:sysutils/grub2-bhyve
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 0.40_12 | - | - | - |
| FreeBSD:14:quarterly | - | 0.40_12 | n/a | - | - |
| FreeBSD:15:latest | - | 0.40_12 | n/a | - | - |
| FreeBSD:15:quarterly | - | 0.40_12 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 0.40_12 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${LOCALBASE}/bin/flex: textproc/flexhelp2man: misc/help2man
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Configuration
No options to configure.
- USES
- bison compiler:c11 gmake
- Service scripts
- none
Files
distinfo 4
| File | Size | SHA256 |
|---|---|---|
| grehan-freebsd-grub2-bhyve-v0.40_GH0.tar.gz | 8.380492e+06 | 7cf3547d816e925f53b0790abd4633da72126d8271ae210d0f348ad63f4f6d34 |
| b080876e0711ee9d7a9c86661df173d98f2d0845.diff | 504 | 263b2101ccc703d5ab71df5c4dcaef745dcba2a6335b8d9ccff7e5afa24e40cf |
| a2a1a8f716a00a8f42b36a8b91ac5b3e2328d39c.diff | 8631 | 3baf5dee30974a00503497caa0210ec8b9a18de14e6c11c2da0a19d4cda25d2a |
| 91f06e5daab48d0242d397f67d38c3410e173c15.diff | 9789 | e5293203a01def1634fd5b86c4b2142062b93a09a6a47bf2638923d57c5399b9 |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
25e7b7508e |
Vladimir Druzenko | sysutils/grub2-bhyve: Fix build with gcc15 In file included from grub-core/fs/squash4.c:31:
./grub-core/lib/xzembed/xz.h:33:16: error: cannot use keyword 'false' as enumeration constant
33 | typedef enum { false = 0, true = 1 } bool;
| ^~~~~
./grub-core/lib/xzembed/xz.h:33:16: note: 'false' is a keyword with '-std=c23' onwards
./grub-core/lib/xzembed/xz.h:33:38: error: expected ';', identifier or '(' before 'bool'
33 | typedef enum { false = 0, true = 1 } bool;
| ^~~~
./grub-core/lib/xzembed/xz.h:33:38: warning: useless type name in empty declaration
- Add USE_CSTD=gnu11 as a workaround.
PR: 293308
Sponsored by: UNIS Labs
Co-authored-by: Chad Jacob Milios <[email protected]> |