mirror of
https://git.yoctoproject.org/poky
synced 2026-03-04 14:29:40 +01:00
This patch adds rng-tools to MACHINE_EXTRA_RRECOMMENDS so that can be used to provide the additional entropy to prevent hangs in getrandom() for qemu images [YOCTO #8681] [YOCTO #8816] (From OE-Core rev: cb512c0c189f5a1196da233042113a708243daa0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.0 KiB
PHP
32 lines
1.0 KiB
PHP
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
|
PREFERRED_PROVIDER_virtual/egl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
|
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
|
|
|
XSERVER ?= "xserver-xorg \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
|
|
xf86-input-evdev \
|
|
xf86-input-mouse \
|
|
xf86-video-fbdev \
|
|
xf86-input-keyboard"
|
|
|
|
MACHINE_FEATURES = "alsa bluetooth usbgadget screen"
|
|
|
|
MACHINEOVERRIDES =. "qemuall:"
|
|
|
|
IMAGE_FSTYPES += "tar.bz2 ext4"
|
|
|
|
# Don't include kernels in standard images
|
|
RDEPENDS_kernel-base = ""
|
|
|
|
# Use a common kernel recipe for all QEMU machines
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
|
|
|
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
|
|
|
|
# Provide the nfs server kernel module for all qemu images
|
|
KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += "rng-tools"
|