From f13d59b973b914a2684b67f080ac3dbaa5b04a32 Mon Sep 17 00:00:00 2001 From: Matthew Almond Date: Sep 16 2021 17:33:58 +0000 Subject: Disable fsverity RPM plugin on aarch64, ppc64le These arches default to 64k page size, which is currrently incompatible with fsverity in the kernel. This workaround is being tracked in https://pagure.io/centos-sig-hyperscale/package-bugs/issue/8 --- diff --git a/SPECS/rpm.spec b/SPECS/rpm.spec index 10a3ff6..71b40dd 100644 --- a/SPECS/rpm.spec +++ b/SPECS/rpm.spec @@ -12,8 +12,16 @@ %bcond_without libarchive # build with libimaevm.so %bcond_without libimaevm +%ifarch aarch64 ppc64le +# no fsverity on RHEL based aarch64 or ppc64le +# due to PAGESIZE == 64k +# https://pagure.io/centos-sig-hyperscale/package-bugs/issue/8 +# build without libfsverity.so +%bcond_with libfsverity +%else # build with libfsverity.so %bcond_without libfsverity +%endif # build with new db format %bcond_without ndb # build with zstd support?