svn commit: r295687 - user/gjb/thermite

Glen Barber gjb at FreeBSD.org
Wed Feb 17 07:47:21 UTC 2016


Author: gjb
Date: Wed Feb 17 07:47:19 2016
New Revision: 295687
URL: https://svnweb.freebsd.org/changeset/base/295687

Log:
  Initial support for packaging base when TURNITUPTOELEVEN is non-empty.
  Skip cloudware bits when this is the case, for now.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  user/gjb/thermite/thermite.sh

Modified: user/gjb/thermite/thermite.sh
==============================================================================
--- user/gjb/thermite/thermite.sh	Wed Feb 17 07:42:48 2016	(r295686)
+++ user/gjb/thermite/thermite.sh	Wed Feb 17 07:47:19 2016	(r295687)
@@ -282,6 +282,12 @@ ftp_stage() {
 			_type="snapshots"
 			;;
 	esac
+	if [ ! -z "${TURNITUPTOELEVEN}" ]; then
+		chroot ${CHROOTDIR} make -C /usr/src \
+			TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
+			KERNCONF=${KERNEL} \
+			packages >> ${logdir}/${_build}.log 2>&1
+	fi
 
 	mkdir -p "${ftpdir}/${_type}"
 	rsync -avH ${CHROOTDIR}/R/ftp-stage/${_type}/* \
@@ -544,10 +550,12 @@ main() {
 	runall build_chroots
 	runall install_chroots
 	runall build_release
-	runall upload_ec2_ami
-	runall upload_azure_image
-	runall upload_gce_image
-	runall upload_vagrant_image
+	if [ ! -z "${TURNITUPTOELEVEN}" ]; then
+		runall upload_ec2_ami
+		runall upload_azure_image
+		runall upload_gce_image
+		runall upload_vagrant_image
+	fi
 }
 
 main "$@"


More information about the svn-src-user mailing list