mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
fix(core_upload_update): use the base image
- Use variable for the image name - add COREOS prefixed variables so we can start weaning ourself off of the others.
This commit is contained in:
parent
ff7b7b064d
commit
3b9ff1ea62
@ -397,6 +397,14 @@ CHROMEOS_TEST_IMAGE_NAME="chromiumos_test_image.bin"
|
|||||||
CHROMEOS_FACTORY_TEST_IMAGE_NAME="chromiumos_factory_image.bin"
|
CHROMEOS_FACTORY_TEST_IMAGE_NAME="chromiumos_factory_image.bin"
|
||||||
CHROMEOS_FACTORY_INSTALL_SHIM_NAME="factory_install_shim.bin"
|
CHROMEOS_FACTORY_INSTALL_SHIM_NAME="factory_install_shim.bin"
|
||||||
|
|
||||||
|
COREOS_BASE_IMAGE_NAME=${CHROMEOS_BASE_IMAGE_NAME}
|
||||||
|
COREOS_IMAGE_NAME=${CHROMEOS_IMAGE_NAME}
|
||||||
|
COREOS_DEVELOPER_IMAGE_NAME=${CHROMEOS_DEVELOPER_IMAGE_NAME}
|
||||||
|
COREOS_RECOVERY_IMAGE_NAME=${CHROMEOS_RECOVERY_IMAGE_NAME}
|
||||||
|
COREOS_TEST_IMAGE_NAME=${CHROMEOS_TEST_IMAGE_NAME}
|
||||||
|
COREOS_FACTORY_TEST_IMAGE_NAME=${CHROMEOS_FACTORY_TEST_IMAGE_NAME}
|
||||||
|
COREOS_FACTORY_INSTALL_SHIM_NAME=${CHROMEOS_FACTORY_INSTALL_SHIM_NAME}
|
||||||
|
|
||||||
# Install make for portage ebuilds. Used by build_image and gmergefs.
|
# Install make for portage ebuilds. Used by build_image and gmergefs.
|
||||||
# TODO: Is /usr/local/autotest-chrome still used by anyone?
|
# TODO: Is /usr/local/autotest-chrome still used by anyone?
|
||||||
COMMON_INSTALL_MASK="
|
COMMON_INSTALL_MASK="
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
SCRIPT_ROOT=$(dirname $(readlink -f "$0"))
|
SCRIPT_ROOT=$(dirname $(readlink -f "$0"))
|
||||||
. "${SCRIPT_ROOT}/common.sh" || exit 1
|
. "${SCRIPT_ROOT}/common.sh" || exit 1
|
||||||
|
|
||||||
DEFINE_string image "${SRC_ROOT}/build/images/amd64-generic/latest/chromiumos_image.bin" \
|
DEFINE_string image "${SRC_ROOT}/build/images/amd64-generic/latest/${COREOS_BASE_IMAGE_NAME}" \
|
||||||
"Path to the basic image (not qemu/xen/etc)"
|
"Path to the basic image (not qemu/xen/etc)"
|
||||||
DEFINE_string version "${COREOS_VERSION_STRING}" \
|
DEFINE_string version "${COREOS_VERSION_STRING}" \
|
||||||
"Version number of this build."
|
"Version number of this build."
|
||||||
|
Loading…
Reference in New Issue
Block a user