Restore EFI boot environment functionality broken in r313333

Reported by:	Graham Perrin, JT Pennington <q5sys@bsdnow.tv>
Sponsored by:	ScaleEngine Inc.
This commit is contained in:
allanjude 2017-04-03 04:28:53 +00:00
parent fccd5b2db9
commit 7b7a452656

View File

@ -202,6 +202,7 @@ find_currdev(EFI_LOADED_IMAGE *img)
env_nounset);
env_setenv("loaddev", EV_VOLATILE, devname, env_noset,
env_nounset);
init_zfs_bootenv(devname);
return (0);
}
#endif /* EFI_ZFS_BOOT */