diff --git a/meta-gem5/conf/machine/gem5-arm64.conf b/meta-gem5/conf/machine/gem5-arm64.conf index 9ca2bb06..3e976825 100644 --- a/meta-gem5/conf/machine/gem5-arm64.conf +++ b/meta-gem5/conf/machine/gem5-arm64.conf @@ -47,7 +47,8 @@ GEM5_RUN_CMDLINE = "" EXTRA_IMAGEDEPENDS += "gem5-aarch64-native" -# 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" -MACHINE_EXTRA_RRECOMMENDS += "haveged" +# As this is a virtual target that will not be used in the real world there is +# no need for real SSH keys. Disable rng-tools (which takes too long to +# initialise) and install the pre-generated keys. +PACKAGECONFIG_remove_pn-openssh = "rng-tools" +MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys"