From 82b9f14a61cafd828b59c5272209810f12762952 Mon Sep 17 00:00:00 2001 From: jkh Date: Wed, 6 Jan 1999 19:18:45 +0000 Subject: copy resolv.conf to chroot area. --- release/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/Makefile b/release/Makefile index 86d7b4d..08676f10 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.447 1999/01/05 17:03:49 jkh Exp $ +# $Id: Makefile,v 1.448 1999/01/06 13:55:04 peter Exp $ # # make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ] # @@ -149,6 +149,7 @@ rerelease release: -mkdir -p ${CHROOTDIR} cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR} cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR} + [ -f /etc/resolv.conf ] && cp -p /etc/resolv.conf ${CHROOTDIR}/etc cd ${.CURDIR}/.. && ${MAKE} installworld DESTDIR=${CHROOTDIR} NOMAN=1 mkdir ${CHROOTDIR}/${BOOTSTRAPDIR} for i in ${BOOTSTRAPUTILS} ; do \ -- cgit v1.1