diff mbox series

[ima-evm-utils,v2,9/9] ci: haveged requires EPEL on CentOS stream:8

Message ID 20230112122426.3759938-10-roberto.sassu@huaweicloud.com (mailing list archive)
State New, archived
Headers show
Series Support testing with UML kernel | expand

Commit Message

Roberto Sassu Jan. 12, 2023, 12:24 p.m. UTC
From: Mimi Zohar <zohar@linux.ibm.com>

The travis "fedora:latest" matrix rule fails due to not finding
"haveged".  Install "haveged" after enabling EPEL.

Fixes: 1a2d4767a8b1 ("Add support for UML in functions.sh")
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
---
 ci/fedora.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Stefan Berger Jan. 12, 2023, 4:08 p.m. UTC | #1
On 1/12/23 07:24, Roberto Sassu wrote:
> From: Mimi Zohar <zohar@linux.ibm.com>
> 
> The travis "fedora:latest" matrix rule fails due to not finding
> "haveged".  Install "haveged" after enabling EPEL.
> 
> Fixes: 1a2d4767a8b1 ("Add support for UML in functions.sh")
> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
> Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>

Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>

> ---
>   ci/fedora.sh | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/ci/fedora.sh b/ci/fedora.sh
> index 3f75d2e1ddbd..1d17c6bfb89d 100755
> --- a/ci/fedora.sh
> +++ b/ci/fedora.sh
> @@ -46,7 +46,6 @@ yum -y install \
>   	wget \
>   	which \
>   	zstd \
> -	haveged \
>   	systemd \
>   	keyutils \
>   	e2fsprogs \
> @@ -62,5 +61,8 @@ if [ -f /etc/centos-release ]; then
>   fi
>   yum -y install softhsm || true
>   
> +# haveged is available via EPEL on CentOS stream8.
> +yum -y install haveged || true
> +
>   ./tests/install-fsverity.sh
>   ./tests/install-mount-idmapped.sh
diff mbox series

Patch

diff --git a/ci/fedora.sh b/ci/fedora.sh
index 3f75d2e1ddbd..1d17c6bfb89d 100755
--- a/ci/fedora.sh
+++ b/ci/fedora.sh
@@ -46,7 +46,6 @@  yum -y install \
 	wget \
 	which \
 	zstd \
-	haveged \
 	systemd \
 	keyutils \
 	e2fsprogs \
@@ -62,5 +61,8 @@  if [ -f /etc/centos-release ]; then
 fi
 yum -y install softhsm || true
 
+# haveged is available via EPEL on CentOS stream8.
+yum -y install haveged || true
+
 ./tests/install-fsverity.sh
 ./tests/install-mount-idmapped.sh