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
  • Loading branch information
Andy Weidenbaum committed Sep 30, 2019
1 parent 31adaa5 commit c81670a
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 @@
maintainer="Andy Weidenbaum <[email protected]>"
pkgname="grub"
version=2.04
revision=1
revision=2
short_desc="GRand Unified Bootloader 2"
archs+=" aarch64*"
archs+=" i686*"
Expand Down

0 comments on commit c81670a

Please sign in to comment.