Skip to content

Commit

Permalink
grub: grub.post: set ZPOOL_VDEV_NAME_PATH=YES
Browse files Browse the repository at this point in the history
Not setting this results in the output of 'zpool status' being
misparsed.

See zfsonlinux/grub#5

Closes: #14801 [via git-merge-pr]
  • Loading branch information
leahneukirchen authored and Vaelatern committed Sep 29, 2019
1 parent f25fb8a commit 7381ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions srcpkgs/grub/files/kernel.d/grub.post
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/grub/template
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 7381ed2

Please sign in to comment.