coreos-base/oem-ec2-compat: make ssm agent conditional on ec2

and properly include all deps in RDEPEND.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2021-08-03 12:56:55 +00:00
parent 26767b01aa
commit cbc6a8fb90

View File

@ -13,23 +13,14 @@ KEYWORDS="amd64 arm64 x86"
IUSE="ec2 openstack brightbox aws_pro"
REQUIRED_USE="^^ ( ec2 openstack brightbox aws_pro )"
# TODO: The AWS SSM Agent is currently too big for the OEM partition
# but if it fits, uncomment the following and revert
# b6abb59c544be13e923a3e7240b5c9395c281fca
#RDEPEND="
# ec2? ( app-emulation/amazon-ssm-agent )
#"
RDEPEND="
ec2? ( app-emulation/amazon-ssm-agent )
aws_pro? (
coreos-base/flatcar-eks
x11-drivers/nvidia-drivers
)
"
RDEPEND="
app-emulation/amazon-ssm-agent
"
# no source directory
S="${WORKDIR}"