mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
Merge pull request #115 from kinvolk/krnowak/move-root-overlay-var
bootstrap_sdk, build_toolchains: Move the ROOT_OVERLAY variable
This commit is contained in:
commit
ea797c8df8
@ -40,8 +40,6 @@ TYPE="flatcar-sdk"
|
||||
# include upload options
|
||||
. "${BUILD_LIBRARY_DIR}/release_util.sh" || exit 1
|
||||
|
||||
ROOT_OVERLAY=${TEMPDIR}/stage4_overlay
|
||||
|
||||
## Define the stage4 config template
|
||||
catalyst_stage4() {
|
||||
cat <<EOF
|
||||
@ -63,6 +61,7 @@ export GENTOO_MIRRORS
|
||||
|
||||
catalyst_init "$@"
|
||||
check_gsutil_opts
|
||||
ROOT_OVERLAY=${TEMPDIR}/stage4_overlay
|
||||
|
||||
if [[ "$STAGES" =~ stage4 ]]; then
|
||||
info "Setting release to ${FLATCAR_VERSION}"
|
||||
|
@ -15,8 +15,6 @@ FORCE_STAGES="stage4"
|
||||
# include upload options
|
||||
. "${BUILD_LIBRARY_DIR}/release_util.sh" || exit 1
|
||||
|
||||
ROOT_OVERLAY="${TEMPDIR}/stage4-${ARCH}-$FLAGS_version-overlay"
|
||||
|
||||
## Define the stage4 config template
|
||||
catalyst_stage4() {
|
||||
cat <<EOF
|
||||
@ -32,6 +30,8 @@ catalyst_stage_default
|
||||
catalyst_init "$@"
|
||||
check_gsutil_opts
|
||||
|
||||
ROOT_OVERLAY="${TEMPDIR}/stage4-${ARCH}-$FLAGS_version-overlay"
|
||||
|
||||
# toolchain_util.sh is required by catalyst_toolchains.sh
|
||||
mkdir -p "${ROOT_OVERLAY}/tmp"
|
||||
cp "${BUILD_LIBRARY_DIR}/toolchain_util.sh" "${ROOT_OVERLAY}/tmp"
|
||||
|
Loading…
Reference in New Issue
Block a user