]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r313448:
authorgarga <garga@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Feb 2017 09:15:51 +0000 (09:15 +0000)
committergarga <garga@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Feb 2017 09:15:51 +0000 (09:15 +0000)
commit0a218d918335d473ba7191bd78c2e9677c9c9402
tree6636d0ebdd27a741755b2ef171cbe039edcc022a
parent8d79e8d9c0dcff649f76bc76a5b3b480fe986745
MFC r313448:

bsdinstall: Make sure chroot filesystems are umounted after use

* DISTDIR_IS_UNIONFS is set every time BSDINSTALL_DISTDIR is mounted inside
  BSDINSTALL_CHROOT. Use this flag to decide if it needs to be umounted
* BSDINSTALL_CHROOT/dev is mounted when 'bsdinstall mount' is called, there is
  no need to mount it again when user goes to shell after installation

Reviewed by: allanjude
Obtained from: pfSense
MFC after: 1 week
Sponsored by: Rubicon Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D8573

git-svn-id: svn://svn.freebsd.org/base/stable/10@313764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bsdinstall/scripts/auto