overlay coreos/config: Replace cros_target with flatcar_target

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

View File

@ -1,5 +1,5 @@
# Do not install gobject-introspection binaries in production images. # Do not install gobject-introspection binaries in production images.
if [[ $(cros_target) != "cros_host" ]] ; then if [[ $(flatcar_target) != 'sdk' ]] ; then
glib_mask="/usr/bin/gi-* /usr/lib*/libgirepository-2.0*" glib_mask="/usr/bin/gi-* /usr/lib*/libgirepository-2.0*"
PKG_INSTALL_MASK+=" ${glib_mask}" PKG_INSTALL_MASK+=" ${glib_mask}"
INSTALL_MASK+=" ${glib_mask}" INSTALL_MASK+=" ${glib_mask}"

View File

@ -2,7 +2,7 @@
# #
# Do not install the config snippet that defines a subsystem. We have # Do not install the config snippet that defines a subsystem. We have
# our own definition in coreos-init. # our own definition in coreos-init.
if [[ $(cros_target) != "cros_host" ]] ; then if [[ $(flatcar_target) != 'sdk' ]] ; then
openssh_mask=" /usr/lib*/misc/ssh-keysign /etc/ssh/sshd_config.d/*gentoo-subsystem.conf " openssh_mask=" /usr/lib*/misc/ssh-keysign /etc/ssh/sshd_config.d/*gentoo-subsystem.conf "
PKG_INSTALL_MASK+="${openssh_mask}" PKG_INSTALL_MASK+="${openssh_mask}"
INSTALL_MASK+="${openssh_mask}" INSTALL_MASK+="${openssh_mask}"