Skip to content

Commit 9720c2c

Browse files
committed
Use dist/targeted/modules.conf in build workflow
policy/modules.conf was droped and needs to be generated or copied from dist/ during build.
1 parent d2c50fe commit 9720c2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- run: dnf install --nogpgcheck -y git-core checkpolicy policycoreutils-devel make m4 findutils
1212
- run: git clone --depth=1 https://github.com/containers/container-selinux.git /tmp/container-selinux
1313
- run: cp /tmp/container-selinux/container.* policy/modules/contrib
14+
- run: cp dist/targeted/modules.conf policy
1415
- run: make -j $(nproc) policy
1516
- run: make -j $(nproc) validate
1617
- run: make -j $(nproc) container.pp

0 commit comments

Comments
 (0)