Merge branch 'partial-install' of https://github.com/monsieuremre/apparmor.d into monsieuremre-partial-install

* 'partial-install' of https://github.com/monsieuremre/apparmor.d:
  dont try abstractions
  names
  even more fix
  fix
  partial install
  partial.sh
This commit is contained in:
Alexandre Pujol 2023-11-29 22:33:06 +00:00
commit 0c239e788a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 45 additions and 6 deletions

View file

@ -57,12 +57,7 @@ $(P):
@for file in ${TUNABLES}; do \
install -Dm0644 "${BUILD}/apparmor.d/tunables/$${file}" "${DESTDIR}/etc/apparmor.d/tunables/$${file}"; \
done;
@echo "Warning: profile dependencies fallback to unconfined."
@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;
@bash dists/partial.sh ${@}
@systemctl restart apparmor || systemctl status apparmor
dist ?= archlinux