svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

Glen Barber gjb at FreeBSD.org
Wed Oct 2 16:09:29 UTC 2019


Author: gjb
Date: Wed Oct  2 16:09:28 2019
New Revision: 353012
URL: https://svnweb.freebsd.org/changeset/base/353012

Log:
  Add a comment explaining why the opensolaris_load line in loader.conf
  is explicitly added.
  
  Requested by:	rgrimes
  MFC after:	3 days
  MFC with:	r353004
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Modified:
  head/usr.sbin/bsdinstall/scripts/config

Modified: head/usr.sbin/bsdinstall/scripts/config
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/config	Wed Oct  2 16:08:01 2019	(r353011)
+++ head/usr.sbin/bsdinstall/scripts/config	Wed Oct  2 16:09:28 2019	(r353012)
@@ -44,6 +44,8 @@ cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc
 
 cat $BSDINSTALL_TMPBOOT/loader.conf.* >> $BSDINSTALL_TMPBOOT/loader.conf
 rm $BSDINSTALL_TMPBOOT/loader.conf.*
+# The 'opensolaris_load' line is a workaround for arm64, which does not
+# automatically load opensolaris.ko with zfs.ko.
 df -t zfs $BSDINSTALL_CHROOT > /dev/null && echo "opensolaris_load=\"YES\"" >> $BSDINSTALL_TMPBOOT/loader.conf
 df -t zfs $BSDINSTALL_CHROOT > /dev/null && echo "zfs_load=\"YES\"" >> $BSDINSTALL_TMPBOOT/loader.conf
 


More information about the svn-src-all mailing list