Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2016 05:26:53 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r303331 - stable/11/usr.sbin/bsdinstall/scripts
Message-ID:  <201607260526.u6Q5QrWO086783@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: allanjude
Date: Tue Jul 26 05:26:53 2016
New Revision: 303331
URL: https://svnweb.freebsd.org/changeset/base/303331

Log:
  MFC: r302940
  
  Fix error in bsdinstall triggered when doing a GELI encrypted install to
  an MBR formatted disk
  
  Approved by:	re (gjb)
  Sponsored by:	ScaleEngine Inc.

Modified:
  stable/11/usr.sbin/bsdinstall/scripts/zfsboot
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/bsdinstall/scripts/zfsboot
==============================================================================
--- stable/11/usr.sbin/bsdinstall/scripts/zfsboot	Tue Jul 26 05:26:07 2016	(r303330)
+++ stable/11/usr.sbin/bsdinstall/scripts/zfsboot	Tue Jul 26 05:26:53 2016	(r303331)
@@ -1393,8 +1393,9 @@ zfs_create_boot()
 			     "-o altroot=\"$BSDINSTALL_CHROOT\"" "$zroot_name" ||
 			     return $FAILURE
 		if [ "$ZFSBOOT_BOOT_POOL" ]; then
+			# Import the bootpool, but do not mount it yet
 			f_eval_catch $funcname zpool "$ZPOOL_IMPORT_WITH_OPTIONS" \
-				     "-o altroot=\"$BSDINSTALL_CHROOT\"" \
+				     "-o altroot=\"$BSDINSTALL_CHROOT\" -N" \
 				     "$bootpool_name" || return $FAILURE
 		fi
 	fi



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