mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
remove(build_container): Kill catalyst-based container script
Never actually used this, new plan is slightly different.
This commit is contained in:
parent
38fa0f92a8
commit
0d750e6a28
@ -1,41 +0,0 @@
|
|||||||
#!/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"
|
|
||||||
FORCE_STAGES="stage4"
|
|
||||||
|
|
||||||
. "${BUILD_LIBRARY_DIR}/catalyst.sh" || exit 1
|
|
||||||
|
|
||||||
# include upload options
|
|
||||||
. "${BUILD_LIBRARY_DIR}/release_util.sh" || exit 1
|
|
||||||
|
|
||||||
## Define the stage4 config template
|
|
||||||
catalyst_stage4() {
|
|
||||||
cat <<EOF
|
|
||||||
target: stage4
|
|
||||||
pkgcache_path: $BINPKGS
|
|
||||||
stage4/packages: coreos-devel/buildhost-depends
|
|
||||||
stage4/fsscript: ${BUILD_LIBRARY_DIR}/catalyst_default_stage4.sh
|
|
||||||
EOF
|
|
||||||
catalyst_stage_default
|
|
||||||
}
|
|
||||||
|
|
||||||
catalyst_init "$@"
|
|
||||||
check_gsutil_opts
|
|
||||||
|
|
||||||
if [[ "$STAGES" =~ stage4 ]]; then
|
|
||||||
info "Setting release to ${COREOS_VERSION_STRING}"
|
|
||||||
rm -rf "${TEMPDIR}/stage4_overlay"
|
|
||||||
mkdir -p "${TEMPDIR}/stage4_overlay"
|
|
||||||
"${BUILD_LIBRARY_DIR}/set_lsb_release" \
|
|
||||||
--root "${TEMPDIR}/stage4_overlay"
|
|
||||||
fi
|
|
||||||
|
|
||||||
catalyst_build
|
|
||||||
command_completed
|
|
Loading…
x
Reference in New Issue
Block a user