Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2019 16:09:28 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353012 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201910021609.x92G9STB044158@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910021609.x92G9STB044158>