[Buildroot] [PATCH] support/testing: use virtio-rng-pci to test syslog-ng

Arnout Vandecappelle arnout at mind.be
Fri Aug 2 10:17:20 UTC 2019



On 01/08/2019 20:54, Thomas Petazzoni wrote:
> On Thu, 01 Aug 2019 20:32:09 +0200
> Peter Korsgaard <peter at korsgaard.com> wrote:
> 
>>>>>>> "Ricardo" == Ricardo Martincoski <ricardo.martincoski at gmail.com> writes:  
>>
>>  > Recent versions of syslog-ng need some entropy on startup.
>>  > So use VirtIORNG to provide it. In order to accomplish this:
>>  >  - build the kernel containing the driver;
>>  >  - pass '-device virtio-rng-pci' to qemu.  
>>
>>  > Use the same kernel version and kernel config as qemu_arm_versatile.
>>  > It already has PCI enabled but it does not have HW_RANDOM_VIRTIO, so add
>>  > a defconfig fragment to enable the drivers.  
>>
>>  > Fixes:
>>  > https://gitlab.com/buildroot.org/buildroot/-/jobs/259856394  
>>
>>  > At the same time, fix a typo (missing '#') that resulted in the
>>  > generation of root.tar. This file is not used in the test.  
>>
>>  > Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
>>  > Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>>  > ---
>>  > https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/262628554  
>>
>> Committed, thanks.
> 
> Longer term, probably we should rebuild newer versions of the pre-built
> kernels, with the appropriate config options enabled. I guess other
> use-cases will also need some entropy at boot time.

 Make that short-term, because Romain just reported such an issue [1].

 Regards,
 Arnout

[1] http://lists.busybox.net/pipermail/buildroot/2019-August/255550.html


More information about the buildroot mailing list