Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 23:19:33 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r274726 - projects/release-vmimage/release/tools
Message-ID:  <20141119231933.GF27149@hub.FreeBSD.org>
In-Reply-To: <201411192217.sAJMHNbX044918@svn.freebsd.org>
References:  <201411192217.sAJMHNbX044918@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--OzxllxdKGCiKxUZM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 19, 2014 at 10:17:23PM +0000, Colin Percival wrote:
> Author: cperciva
> Date: Wed Nov 19 22:17:22 2014
> New Revision: 274726
> URL: https://svnweb.freebsd.org/changeset/base/274726
>=20
> Log:
>   Silence errors when umounting the chroot's /dev, since it probably does=
n't
>   exist when we're running this.
>  =20
>   Unmount filesystems before attempting to destroy the md which holds the=
m.
>=20
> Modified:
>   projects/release-vmimage/release/tools/vmimage.subr
>=20
> Modified: projects/release-vmimage/release/tools/vmimage.subr
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- projects/release-vmimage/release/tools/vmimage.subr	Wed Nov 19 20:19:=
53 2014	(r274725)
> +++ projects/release-vmimage/release/tools/vmimage.subr	Wed Nov 19 22:17:=
22 2014	(r274726)
> @@ -42,11 +42,11 @@ err() {
>  }
> =20
>  cleanup() {
> +	umount ${DESTDIR}/dev 2>/dev/null
> +	umount ${DESTDIR}
>  	if [ ! -z "${mddev}" ]; then
>  		mdconfig -d -u ${mddev}
>  	fi
> -	umount ${DESTDIR}/dev
> -	umount ${DESTDIR}
> =20
>  	return 0
>  }
>=20

Thanks!

Glen


--OzxllxdKGCiKxUZM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUbSWFAAoJEAMUWKVHj+KTXxsP/0DzZcvp1R8IqxY+Ob3PE7Bi
gVThMUCc/LtGILSRUrc/QDrVqLYeZD4Vjykub1cfXZddJ8tOHBzfYI1flb7sOsfy
/jvm/rvH3wyp6iMO4pHMCuNEiXJrdhrQQamS+NHmi6Wm/+xH1HPtA9Oqd5yPLkBL
/1fn1JzK+jK7ODdPjA/U0oxD8nRuOewk/heQFeHbZN+/VqnSaVlA6+hv2wTIX8ML
EhNlQrYihRSy7bT0PB51H/+0uiohIhGEDQEQIu3HB0Nk3G09R9aNYKxyhDXh//at
ASviL5OCd6x8ygNNymg7H04xeWIosXElUS41lgZ3XQkjAPNSHWN3VmCoMAiZPXWz
1xKfLv8PKad5DQL+7C4U96HzdM1gworbzkwdj+gNZ0ZkQhGD+4fY1BYS7wyi1em0
21XWPJjIHyIbIDUCDPHAmCrXwpQhbdblXREtC3YLMuEsgAvfMuje+9LDmIj8RKwv
k034MbTrBNrxhxxX/R2/CBhnHFSvKoq0OTOshKixQNUGskDIKdCfG0DUdNShxTU1
UaoixG3vKhmugRR4YF1Pvd7uxIsi+Vp8Jm9AUnIrtWsq2AAKXG1jv4WlRF706qzE
lSx2bf1COz/sNdKVYBfetwkU6VT7b7SgkvBDK9dmsXXemutuVWnP7NqD8JIt1HBT
0mCXbcvqaA5NQZ+Oq880
=kKKf
-----END PGP SIGNATURE-----

--OzxllxdKGCiKxUZM--



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