diff --git a/build_container b/build_container new file mode 100755 index 0000000000..181a41140c --- /dev/null +++ b/build_container @@ -0,0 +1,45 @@ +#!/bin/bash +# +# Copyright (c) 2013 The CoreOS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +SCRIPT_ROOT=$(dirname $(readlink -f "$0")) +. "${SCRIPT_ROOT}/common.sh" || exit 1 + +TYPE="coreos-buildbot" +ARCH=$(portageq envvar ARCH) +DEFAULT_SEED="builds/coreos-sdk/stage4-${ARCH}-latest.tar.bz2" +DEFAULT_PROFILE="coreos:default/linux/${ARCH}/10.0" +FORCE_STAGES="stage4" + +. "${SCRIPT_ROOT}/lib/catalyst.sh" || exit 1 + +# include upload options +. "${BUILD_LIBRARY_DIR}/release_util.sh" || exit 1 + +## Define the stage4 config template +catalyst_stage4() { +cat <