From 2360365ad9fb873221cb5c6c7e6e71e849b3a2bf Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 17 Sep 2024 15:39:00 +0200 Subject: [PATCH] Use dist/targeted/modules.conf in build workflow policy/modules.conf was droped and needs to be generated or copied from dist/ during build. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c8656ca94..a06201847c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,7 @@ jobs: - run: dnf install --nogpgcheck -y git-core checkpolicy policycoreutils-devel make m4 findutils - run: git clone --depth=1 https://github.com/containers/container-selinux.git /tmp/container-selinux - run: cp /tmp/container-selinux/container.* policy/modules/contrib + - run: cp dist/targeted/modules.conf policy - run: make -j $(nproc) policy - run: make -j $(nproc) validate - run: make -j $(nproc) container.pp