Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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 build
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.pp
pulpcore_port.fc
pulpcore_port.if
pulpcore_rhsmcertd.fc
pulpcore_rhsmcertd.if
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
include /usr/share/selinux/devel/Makefile
Comment thread
evgeni marked this conversation as resolved.

build: pulpcore_port.pp pulpcore.pp pulpcore_rhsmcertd.pp ## Build SELinux policies

help: ## Show this help.
@sed -ne '/@sed/!s/## //p' $(MAKEFILE_LIST)
@sed -ne '/@sed/!s/:.\+## /: /p' $(firstword $(MAKEFILE_LIST))

docs: ## Build unified docs.
pulp-docs build

servedocs: ## Serves unified docs.
pulp-docs serve

.PHONY: docs servedocs help
.PHONY: build docs servedocs help
5 changes: 1 addition & 4 deletions docs/admin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 build
```

### Installing
Expand Down