Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 15:50:03 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/183488: commit references a PR
Message-ID:  <201311061550.rA6Fo3W0002697@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/183488; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/183488: commit references a PR
Date: Wed,  6 Nov 2013 15:49:39 +0000 (UTC)

 Author: gjb
 Date: Wed Nov  6 15:49:31 2013
 New Revision: 257749
 URL: http://svnweb.freebsd.org/changeset/base/257749
 
 Log:
   Switch to using pkg(8) for the doc install in bsdinstall(8).
   This also bootstraps the system with pkg(8) for future use.
   
   PR:		183488
   Submitted by:	Joe Ennis
   MFC after:	3 days
   Sponsored by:	The FreeBSD Foundation
 
 Modified:
   head/usr.sbin/bsdinstall/scripts/docsinstall
 
 Modified: head/usr.sbin/bsdinstall/scripts/docsinstall
 ==============================================================================
 --- head/usr.sbin/bsdinstall/scripts/docsinstall	Wed Nov  6 15:32:37 2013	(r257748)
 +++ head/usr.sbin/bsdinstall/scripts/docsinstall	Wed Nov  6 15:49:31 2013	(r257749)
 @@ -59,7 +59,7 @@ NB: This requires a working, configured 
  test $? -eq 0 || exit 0
  exec 3>&-
  
 -# Let pkg_add be able to use name servers
 +# Let pkg(8) be able to use name servers
  cp ${BSDINSTALL_TMPETC}/resolv.conf ${BSDINSTALL_CHROOT}/etc
  
  error() {
 @@ -74,6 +74,13 @@ echo "FreeBSD Installer"
  echo "========================"
  echo
  
 +echo "Please wait while the repository metadata is fetched."
 +echo "This may take a few moments."
 +
 +env ASSUME_ALWAYS_YES=1 pkg -c ${BSDINSTALL_CHROOT} install pkg \
 +	|| error pkg
 +
  for i in $DOCS; do
 -    pkg_add -C ${BSDINSTALL_CHROOT} -r ${i}-freebsd-doc || error $i-freebsd-doc
 +    env ASSUME_ALWAYS_YES=1 pkg -c ${BSDINSTALL_CHROOT} install ${i}-freebsd-doc \
 +	|| error $i-freebsd-doc
  done
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



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