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

Ian Lepore ian at freebsd.org
Wed Oct 2 16:13:06 UTC 2019


On Wed, 2019-10-02 at 16:09 +0000, Glen Barber wrote:
> 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
>  

Is this our long-existing problem of not being able to run kldxref as
part of a cross build and install?  Or is this some other arm64-
specific problem?

-- Ian



More information about the svn-src-all mailing list