From fa2789b8311f70aaee9278e1db60d65bf33219fe Mon Sep 17 00:00:00 2001 From: marino Date: Mon, 28 Jul 2014 15:18:02 +0000 Subject: sysutils/grub2: Fix feature to read 'com.delphix:hole_birth' on ZFS Fix for booting kernel directly from ZFS using grub. PR: 188524 Submitted by: Andrey Zholos --- sysutils/grub2/Makefile | 2 +- sysutils/grub2/files/patch-grub-2.00-zfs-feature-flag-support | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysutils/grub2/Makefile b/sysutils/grub2/Makefile index e3c0337c4b59..d726fb300b7d 100644 --- a/sysutils/grub2/Makefile +++ b/sysutils/grub2/Makefile @@ -3,7 +3,7 @@ PORTNAME= grub2 PORTVERSION= 2.00 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= sysutils MASTER_SITES= GNU/grub DISTNAME= grub-${PORTVERSION} diff --git a/sysutils/grub2/files/patch-grub-2.00-zfs-feature-flag-support b/sysutils/grub2/files/patch-grub-2.00-zfs-feature-flag-support index e582bf96c958..ac1f474b2bd9 100644 --- a/sysutils/grub2/files/patch-grub-2.00-zfs-feature-flag-support +++ b/sysutils/grub2/files/patch-grub-2.00-zfs-feature-flag-support @@ -92,7 +92,7 @@ index ba0554a..811e3df 100644 + * to be listed here since grub opens pools in read-only mode. + */ +static const char *spa_feature_names[] = { -+ "org.illumos:lz4_compress",NULL ++ "org.illumos:lz4_compress","com.delphix:hole_birth",NULL +}; + +static int NESTED_FUNC_ATTR -- cgit