From 95eab19f797ba51c063f207d471763918b7f3e1e Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Fri, 5 Apr 2019 22:22:54 +0200 Subject: [PATCH] /dev/hwrng on s390x appeared with buster but is not functional --- modules/rng_tools/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rng_tools/manifests/init.pp b/modules/rng_tools/manifests/init.pp index 9981fe15c..d2c8dace3 100644 --- a/modules/rng_tools/manifests/init.pp +++ b/modules/rng_tools/manifests/init.pp @@ -1,5 +1,5 @@ class rng_tools { - if $has_dev_hwrng and !($::is_virtual and $::virtual == 'kvm' and (versioncmp($::lsbmajdistrelease, '9') >= 0)) { + if $has_dev_hwrng and !($::is_virtual and $::virtual == 'kvm' and $::debarchitecture == 's390x' and (versioncmp($::lsbmajdistrelease, '9') >= 0)) { package { 'rng-tools': ensure => installed } -- 2.20.1