svn commit: r316436 - head/sys/boot/efi/loader

Allan Jude allanjude at FreeBSD.org
Mon Apr 3 04:28:55 UTC 2017


Author: allanjude
Date: Mon Apr  3 04:28:53 2017
New Revision: 316436
URL: https://svnweb.freebsd.org/changeset/base/316436

Log:
  Restore EFI boot environment functionality broken in r313333
  
  Reported by:	Graham Perrin, JT Pennington <q5sys at bsdnow.tv>
  Sponsored by:	ScaleEngine Inc.

Modified:
  head/sys/boot/efi/loader/main.c

Modified: head/sys/boot/efi/loader/main.c
==============================================================================
--- head/sys/boot/efi/loader/main.c	Mon Apr  3 03:07:48 2017	(r316435)
+++ head/sys/boot/efi/loader/main.c	Mon Apr  3 04:28:53 2017	(r316436)
@@ -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 */


More information about the svn-src-head mailing list