diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb18efa..474dcb7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,4 @@ jobs: run: yum install -y selinux-policy-devel policycoreutils - name: Build policies run: | - make -f /usr/share/selinux/devel/Makefile pulpcore_port.pp - make -f /usr/share/selinux/devel/Makefile pulpcore.pp - make -f /usr/share/selinux/devel/Makefile pulpcore_rhsmcertd.pp + make diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5c1baa9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.pp +pulpcore_port.fc +pulpcore_port.if +pulpcore_rhsmcertd.fc +pulpcore_rhsmcertd.if diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2a0af5f --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +include /usr/share/selinux/devel/Makefile + +all: pulpcore_port.pp pulpcore.pp pulpcore_rhsmcertd.pp diff --git a/staging_docs/admin/index.md b/staging_docs/admin/index.md index a640b55..dbfbef1 100644 --- a/staging_docs/admin/index.md +++ b/staging_docs/admin/index.md @@ -10,10 +10,7 @@ The SELinux policy for Pulp 3.Y releases. sudo yum install -y selinux-policy-devel policycoreutils git clone https://github.com/pulp/pulpcore-selinux cd pulpcore-selinux - -make -f /usr/share/selinux/devel/Makefile pulpcore_port.pp -make -f /usr/share/selinux/devel/Makefile pulpcore.pp -make -f /usr/share/selinux/devel/Makefile pulpcore_rhsmcertd.pp +make ``` ### Installing