From ef0dfe5c5c2409edec2fae66178cf890ed755d46 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 13 Aug 2021 18:17:33 +0200 Subject: [PATCH] Move cros_vm_constants to build_library This file used to be imported by scripts coreos-base/cros-devutils, which we have dropped. Now it is imported only from some other script in build library so move it there. This leaves lib as a directory where we keep shflags library. --- {lib => build_library}/cros_vm_constants.sh | 0 image_to_vm.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {lib => build_library}/cros_vm_constants.sh (100%) diff --git a/lib/cros_vm_constants.sh b/build_library/cros_vm_constants.sh similarity index 100% rename from lib/cros_vm_constants.sh rename to build_library/cros_vm_constants.sh diff --git a/image_to_vm.sh b/image_to_vm.sh index 49319ea58b..c32d9d1d43 100755 --- a/image_to_vm.sh +++ b/image_to_vm.sh @@ -20,7 +20,7 @@ assert_not_root_user . "${BUILD_LIBRARY_DIR}/toolchain_util.sh" || exit 1 . "${BUILD_LIBRARY_DIR}/build_image_util.sh" || exit 1 . "${BUILD_LIBRARY_DIR}/vm_image_util.sh" || exit 1 -. "${SCRIPT_ROOT}/lib/cros_vm_constants.sh" || exit 1 +. "${BUILD_LIBRARY_DIR}/cros_vm_constants.sh" || exit 1 # Flags DEFINE_string board "${DEFAULT_BOARD}" \