overlay profiles: Drop unused goo

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
Krzesimir Nowak 2025-07-11 15:01:51 +02:00
parent 31caca6f7f
commit 13949bef2f
2 changed files with 0 additions and 21 deletions

View File

@ -5,23 +5,6 @@ CROS_BUILD_BOARD_BIN="${CROS_BUILD_BOARD_TREE}/bin"
CROS_ADDONS_TREE="/mnt/host/source/src/third_party/coreos-overlay/coreos"
# Are we merging for the board sysroot, or for the cros sdk, or for
# the target hardware? Returns a string:
# - cros_host (the sdk)
# - board_sysroot
# - target_image
# We can't rely on "use cros_host" as USE gets filtred based on IUSE,
# and not all packages have IUSE=cros_host.
cros_target() {
if [[ ${CROS_SDK_HOST} == "cros-sdk-host" ]] ; then
echo "cros_host"
elif [[ ${ROOT%/} == ${SYSROOT%/} ]] ; then
echo "board_sysroot"
else
echo "target_image"
fi
}
# Are we merging for the board sysroot, or for the SDK, or for
# the images? Returns a string in a passed variable:
#

View File

@ -2,10 +2,6 @@ FLATCAR_TYPE=sdk
USE="cros_host expat man -pam"
# Used by some old goo in profiles/coreos/base/profile.bashrc
# TODO: clean up that old goo
CROS_SDK_HOST="cros-sdk-host"
# Enable CPU architectures needed by Rust builds
LLVM_TARGETS="X86 AArch64"