Date: Wed, 17 Feb 2016 07:47:19 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r295687 - user/gjb/thermite Message-ID: <201602170747.u1H7lJ5E030973@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 "$@"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602170747.u1H7lJ5E030973>