File tree Expand file tree Collapse file tree 4 files changed +2
-23
lines changed
sdk_container/src/third_party/coreos-overlay Expand file tree Collapse file tree 4 files changed +2
-23
lines changed Original file line number Diff line number Diff line change 1
1
# Do not install gobject-introspection binaries in production images.
2
- if [[ $(cros_target) != "cros_host" ]] ; then
2
+ if [[ ${FLATCAR_TYPE} != 'sdk' ]] ; then
3
3
glib_mask="/usr/bin/gi-* /usr/lib*/libgirepository-2.0*"
4
4
PKG_INSTALL_MASK+=" ${glib_mask}"
5
5
INSTALL_MASK+=" ${glib_mask}"
Original file line number Diff line number Diff line change 2
2
#
3
3
# Do not install the config snippet that defines a subsystem. We have
4
4
# our own definition in coreos-init.
5
- if [[ $(cros_target) != "cros_host" ]] ; then
5
+ if [[ ${FLATCAR_TYPE} != 'sdk' ]] ; then
6
6
openssh_mask=" /usr/lib*/misc/ssh-keysign /etc/ssh/sshd_config.d/*gentoo-subsystem.conf "
7
7
PKG_INSTALL_MASK+="${openssh_mask}"
8
8
INSTALL_MASK+="${openssh_mask}"
Original file line number Diff line number Diff line change @@ -5,23 +5,6 @@ CROS_BUILD_BOARD_BIN="${CROS_BUILD_BOARD_TREE}/bin"
5
5
6
6
CROS_ADDONS_TREE="/mnt/host/source/src/third_party/coreos-overlay/coreos"
7
7
8
- # Are we merging for the board sysroot, or for the cros sdk, or for
9
- # the target hardware? Returns a string:
10
- # - cros_host (the sdk)
11
- # - board_sysroot
12
- # - target_image
13
- # We can't rely on "use cros_host" as USE gets filtred based on IUSE,
14
- # and not all packages have IUSE=cros_host.
15
- cros_target() {
16
- if [[ ${CROS_SDK_HOST} == "cros-sdk-host" ]] ; then
17
- echo "cros_host"
18
- elif [[ ${ROOT%/} == ${SYSROOT%/} ]] ; then
19
- echo "board_sysroot"
20
- else
21
- echo "target_image"
22
- fi
23
- }
24
-
25
8
# Load all additional bashrc files we have for this package.
26
9
cros_stack_bashrc() {
27
10
local cfg cfgd
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ FLATCAR_TYPE="sdk"
2
2
3
3
USE="cros_host expat man -pam"
4
4
5
- # Used by some old goo in profiles/coreos/base/profile.bashrc
6
- # TODO: clean up that old goo
7
- CROS_SDK_HOST="cros-sdk-host"
8
-
9
5
# Enable CPU architectures needed by Rust builds
10
6
LLVM_TARGETS="X86 AArch64"
11
7
You can’t perform that action at this time.
0 commit comments