Skip to content

Commit

Permalink
Add haveged to rpb-console-image, not to -desktop nor -weston
Browse files Browse the repository at this point in the history
A couple of bugs are related to lack of entropy, which can
be very easily solved by having haveged running.

HAVEGE algorithm explained here:
  http://www.irisa.fr/caps/projects/hipsor/misc.php#exectime
regarding how randomness is obtained and about its
unpredictability. While rng-tools is the "preferred" method,
enough entropy might be very difficult in a headless
development board, where haveged would definitely be a great
addition.

Signed-off-by: Daniel Díaz <[email protected]>
  • Loading branch information
mrchapp committed Jul 3, 2018
1 parent 77e4a91 commit b315cc0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes-samples/images/rpb-console-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ IMAGE_FEATURES += "package-management ssh-server-openssh hwcodecs"

CORE_IMAGE_BASE_INSTALL += " \
packagegroup-rpb \
haveged \
"

# docker pulls runc/containerd, which in turn recommend lxc unecessarily
Expand Down
2 changes: 2 additions & 0 deletions recipes-samples/images/rpb-desktop-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ CORE_IMAGE_BASE_INSTALL += " \
packagegroup-rpb-x11 \
"

CORE_IMAGE_BASE_INSTALL_remove = "haveged"

EXTRA_USERS_PARAMS += "\
usermod -a -G video linaro; \
"
2 changes: 2 additions & 0 deletions recipes-samples/images/rpb-weston-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ CORE_IMAGE_BASE_INSTALL += " \
packagegroup-rpb-weston \
"

CORE_IMAGE_BASE_INSTALL_remove = "haveged"

EXTRA_USERS_PARAMS += "\
usermod -a -G weston-launch,video linaro; \
"

0 comments on commit b315cc0

Please sign in to comment.