diff options
author | Willy Tu <wltu@google.com> | 2022-03-15 01:26:51 +0300 |
---|---|---|
committer | Willy Tu <wltu@google.com> | 2022-03-17 23:35:20 +0300 |
commit | e86ebe3e3ceac28e210c2720def1a85c16448ea6 (patch) | |
tree | ac1f691e7a66fc960d8cb106b38dd1daca295a62 /meta-google | |
parent | 7eb569c9b994c3c0ab2c9faeb33a0d2528d9e117 (diff) | |
download | openbmc-e86ebe3e3ceac28e210c2720def1a85c16448ea6.tar.xz |
meta-google: Add bbapend for rng-tools
Set jitter to use only single thread. gBMC systems will always at least
2 CPU, so it won't take up everything.
Change-Id: I43215a4ebca680d3d340062cc9f99a33ab36a60f
Signed-off-by: Willy Tu <wltu@google.com>
Diffstat (limited to 'meta-google')
-rw-r--r-- | meta-google/recipes-support/rng-tools/rng-tools/default | 1 | ||||
-rw-r--r-- | meta-google/recipes-support/rng-tools/rng-tools_%.bbappend | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-google/recipes-support/rng-tools/rng-tools/default b/meta-google/recipes-support/rng-tools/rng-tools/default new file mode 100644 index 0000000000..830924698e --- /dev/null +++ b/meta-google/recipes-support/rng-tools/rng-tools/default @@ -0,0 +1 @@ +EXTRA_ARGS="-r /dev/hwrng -O jitter:thread_count:1" diff --git a/meta-google/recipes-support/rng-tools/rng-tools_%.bbappend b/meta-google/recipes-support/rng-tools/rng-tools_%.bbappend new file mode 100644 index 0000000000..cf51f85b55 --- /dev/null +++ b/meta-google/recipes-support/rng-tools/rng-tools_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:" + +SRC_URI:append:gbmc = " file://default" |