Skip to content

Commit

Permalink
Use dist/targeted/modules.conf in build workflow
Browse files Browse the repository at this point in the history
policy/modules.conf was droped and needs to be generated
or copied from dist/ during build.
  • Loading branch information
bachradsusi committed Sep 18, 2024
1 parent ba6a8db commit 2360365
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2360365

Please sign in to comment.