grub: grub.post: set ZPOOL_VDEV_NAME_PATH=YES

Not setting this results in the output of 'zpool status' being
misparsed.

See https://github.com/zfsonlinux/grub/issues/5

Closes: #14801 [via git-merge-pr]
This commit is contained in:
Leah Neukirchen 2019-09-28 22:31:22 +02:00 committed by Toyam Cox
parent f25fb8a8b0
commit 7381ed2b08
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@
PKGNAME="$1"
VERSION="$2"
export ZPOOL_VDEV_NAME_PATH=YES
if command -v grub-mkconfig >/dev/null 2>&1; then
if [ -d $ROOTDIR/boot/grub ]; then
grub-mkconfig -o $ROOTDIR/boot/grub/grub.cfg

View file

@ -1,7 +1,7 @@
# Template file for 'grub'
pkgname=grub
version=2.04
revision=1
revision=2
hostmakedepends="python3 pkg-config flex freetype-devel font-unifont-bdf"
makedepends="libusb-compat-devel ncurses-devel freetype-devel
liblzma-devel device-mapper-devel fuse-devel"