From 85cc6eba4013e70eb94c57eb91ed8f90ab05e608 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Tue, 19 Feb 2019 10:27:20 +0100 Subject: [PATCH] Install rngd packages in the minimal images With newer kernels it takes far longer in early boot to get random numbers (as >= 4.18 kernels ensure good quality entropy is availble before starting providing randomness). Install rng-tools to integrate with hardware random number generators while jitterentropy-rngd can provide randomness without. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> --- apertis-ospack-minimal.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apertis-ospack-minimal.yaml b/apertis-ospack-minimal.yaml index cf3908c..0220b44 100644 --- a/apertis-ospack-minimal.yaml +++ b/apertis-ospack-minimal.yaml @@ -40,6 +40,15 @@ actions: - udisks2 - libnss-myhostname + # Add rng-tools for devices that have a hardware number generator + # Add jitterentropy-rngd for those without + # On final production images this can be tuned based on the device + - action: apt + description: "RNG packages" + packages: + - rng-tools5 + - jitterentropy-rngd + - action: apt description: "Base packages" packages: -- GitLab