From d17850230d26fa8676b667baf3bca667921144e8 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 20 Jul 2020 22:00:10 +0100 Subject: [PATCH] arm-bsp: recommend haveged, don't depend Instead of explicitly adding haveged to IMAGE_INSTALL, add it to MACHINE_EXTRA_RECOMMENDS. This means people without haveged don't have failing builds, and tiny images which don't need haveged are not forced to contain it. Change-Id: Id30139f5b96fb0041eba8612776aaac07c7a3704 Signed-off-by: Ross Burton --- meta-arm-bsp/conf/machine/foundation-armv8.conf | 2 +- meta-arm-bsp/conf/machine/fvp-base.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arm-bsp/conf/machine/foundation-armv8.conf b/meta-arm-bsp/conf/machine/foundation-armv8.conf index c1b9f4de..0ff10609 100644 --- a/meta-arm-bsp/conf/machine/foundation-armv8.conf +++ b/meta-arm-bsp/conf/machine/foundation-armv8.conf @@ -11,4 +11,4 @@ KERNEL_DEVICETREE = "arm/foundation-v8-gicv3-psci.dtb" # Use haveged as a source of entropy instead of rng-tools (Needed for ssh). # rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time. PACKAGE_EXCLUDE_append = " rng-tools" -IMAGE_INSTALL_append = " haveged" +MACHINE_EXTRA_RRECOMMENDS += "haveged" diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf index bd3c62d1..321b5d58 100644 --- a/meta-arm-bsp/conf/machine/fvp-base.conf +++ b/meta-arm-bsp/conf/machine/fvp-base.conf @@ -11,4 +11,4 @@ KERNEL_DEVICETREE = "arm/fvp-base-gicv3-psci-custom.dtb" # Use haveged as a source of entropy instead of rng-tools (Needed for ssh). # rngd (Part of rng-tools) takes ~7 mins to init resulting in a slow boot time. PACKAGE_EXCLUDE_append = " rng-tools" -IMAGE_INSTALL_append = " haveged" +MACHINE_EXTRA_RRECOMMENDS += "haveged"