mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-21 20:31:48 +02:00
overlay profiles: Drop unused goo
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
31caca6f7f
commit
13949bef2f
@ -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:
|
||||
#
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user