Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2020 15:13:07 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364956 - head/release
Message-ID:  <202008291513.07TFD7gA010785@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Sat Aug 29 15:13:07 2020
New Revision: 364956
URL: https://svnweb.freebsd.org/changeset/base/364956

Log:
  Install devel/git from packages if NOPORTS is set in the release.sh
  configuration file.
  
  Reported by:	Michael Butler
  Sponsored by:	Rubicon Communications, LLC (netgate.com)

Modified:
  head/release/release.sh

Modified: head/release/release.sh
==============================================================================
--- head/release/release.sh	Sat Aug 29 12:54:17 2020	(r364955)
+++ head/release/release.sh	Sat Aug 29 15:13:07 2020	(r364956)
@@ -282,6 +282,11 @@ extra_chroot_setup() {
 			WRKDIRPREFIX=/tmp/ports \
 			DISTDIR=/tmp/distfiles \
 			install clean distclean
+	else
+		eval chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
+			pkg install -y devel/git
+		eval chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
+			pkg clean -y
 	fi
 	if [ -d ${CHROOTDIR}/usr/ports ]; then
 		# Trick the ports 'run-autotools-fixup' target to do the right



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