partial install
This commit is contained in:
parent
9a2e2eac56
commit
46fef2a5ee
1 changed files with 1 additions and 6 deletions
7
Makefile
7
Makefile
|
|
@ -57,12 +57,7 @@ $(P):
|
||||||
@for file in ${TUNABLES}; do \
|
@for file in ${TUNABLES}; do \
|
||||||
install -Dm0644 "${BUILD}/apparmor.d/tunables/$${file}" "${DESTDIR}/etc/apparmor.d/tunables/$${file}"; \
|
install -Dm0644 "${BUILD}/apparmor.d/tunables/$${file}" "${DESTDIR}/etc/apparmor.d/tunables/$${file}"; \
|
||||||
done;
|
done;
|
||||||
@echo "Warning: profile dependencies fallback to unconfined."
|
@bash dists/partial.sh ${@}
|
||||||
@for file in ${@}; do \
|
|
||||||
grep 'rPx' "${BUILD}/apparmor.d/$${file}"; \
|
|
||||||
sed -i -e "s/rPx/rPUx/g" "${BUILD}/apparmor.d/$${file}"; \
|
|
||||||
install -Dvm0644 "${BUILD}/apparmor.d/$${file}" "${DESTDIR}/etc/apparmor.d/$${file}"; \
|
|
||||||
done;
|
|
||||||
@systemctl restart apparmor || systemctl status apparmor
|
@systemctl restart apparmor || systemctl status apparmor
|
||||||
|
|
||||||
dist ?= archlinux
|
dist ?= archlinux
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue