svn commit: r364956 - head/release

Glen Barber gjb at FreeBSD.org
Sat Aug 29 15:13:08 UTC 2020


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


More information about the svn-src-head mailing list