summaryrefslogtreecommitdiffstats
path: root/release/tools
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-06-30 00:51:43 +0000
committergjb <gjb@FreeBSD.org>2015-06-30 00:51:43 +0000
commitdc74c25d76650bd202bd7f6677ed03a0667533c4 (patch)
treec9556db6e25e1a06d2244ddbcf24259efae3289d /release/tools
parente2ee19fb343144f313626dc9c6572640ab0133be (diff)
downloadFreeBSD-src-dc74c25d76650bd202bd7f6677ed03a0667533c4.zip
FreeBSD-src-dc74c25d76650bd202bd7f6677ed03a0667533c4.tar.gz
MFC r284882, r284884:
r284882: Add initial support for automatically uploading GCE virtual machine images to the Google Compute Engine platform. Remove gce-package.sh. r284884: Fix a vi-invoked typo. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/tools')
-rwxr-xr-xrelease/tools/gce-package.sh47
1 files changed, 0 insertions, 47 deletions
diff --git a/release/tools/gce-package.sh b/release/tools/gce-package.sh
deleted file mode 100755
index 5d8ec33..0000000
--- a/release/tools/gce-package.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# Script to handle packaging cloud images for GCE.
-#
-# XXX:
-# This script only exists to help in automating image creation,
-# and reimplementing this is intended (in other words, this is
-# temporary).
-
-usage() {
- echo "Usage:"
- echo "$(basename ${0}) -D <destdir> -I <input_file> -S <src_tree>"
- exit 1
-}
-
-main() {
- while getopts "D:I:W:" opt; do
- case ${opt} in
- D)
- DESTDIR="${OPTARG}"
- ;;
- I)
- INFILE="${OPTARG}"
- ;;
- S)
- WORLDDIR="${OPTARG}"
- ;;
- *)
- usage
- ;;
- esac
- done
- shift $(( ${OPTIND} - 1 ))
-
- if [ -z "${DESTDIR}" -o -z "${INFILE}" -o -z "${WORLDDIR}" ]; then
- usage
- fi
-
- OUTFILE="$(make -C ${WORLDDIR}/release -V OSRELEASE).tar.gz"
-
- cd ${DESTDIR} && tar --format=gnutar -zcf ${OUTFILE} ${INFILE}
-}
-
-main "$@"
OpenPOWER on IntegriCloud