]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only copy /etc/resolv.conf to ${CHROOTDIR} if /etc/resolv.conf does
authorgjb <gjb@FreeBSD.org>
Wed, 15 Nov 2017 19:14:44 +0000 (19:14 +0000)
committergjb <gjb@FreeBSD.org>
Wed, 15 Nov 2017 19:14:44 +0000 (19:14 +0000)
commita40b7601d0d235645dd956835232422f9a087cb9
treeb65fbfa75656b002d4d35fdbc05ac4f94ddc1b19
parentc3dd973ea1e4933ee6b1aed91a0b363953dd486f
Only copy /etc/resolv.conf to ${CHROOTDIR} if /etc/resolv.conf does
not already exist within ${CHROOTDIR}.  This allows re-using a build
chroot with CHROOTBUILD_SKIP set to a non-empty value and CHROOTDIR
set to '/' in release.conf.

MFC after: 3 days
Sponsored by: The FreeBSD Foundation
release/release.sh