From 509572dc829024b2be28814996d86b2e142b2eaf Mon Sep 17 00:00:00 2001 From: remph Date: Tue, 24 Dec 2024 14:37:03 +0000 Subject: [PATCH] runit-void: load apparmor profiles from symlinks in /etc/apparmor.d --- srcpkgs/runit-void/files/09-apparmor.sh | 2 +- srcpkgs/runit-void/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/runit-void/files/09-apparmor.sh b/srcpkgs/runit-void/files/09-apparmor.sh index 1d24b4e349cd2b..e2c87a6b6225fd 100644 --- a/srcpkgs/runit-void/files/09-apparmor.sh +++ b/srcpkgs/runit-void/files/09-apparmor.sh @@ -18,7 +18,7 @@ if [ -n "$APPARMOR" ]; then [ "$APPARMOR" = "complain" ] && AACOMPLAIN="-C" if [ -d /etc/apparmor.d -a -x /usr/bin/apparmor_parser ]; then - apparmor_parser -a $AACOMPLAIN $(find /etc/apparmor.d -maxdepth 1 -type f ! -name '*.new-*_*') + find -L /etc/apparmor.d -maxdepth 1 -type f ! -name '*.new-*_*' -exec apparmor_parser -a $AACOMPLAIN -- {} + else printf '! AppArmor installation problem - ensure you have installed apparmor package\n' fi diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index a11b567d43e2c6..20625f8100fa18 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -1,7 +1,7 @@ # Template file for 'runit-void' pkgname=runit-void version=20231124 -revision=6 +revision=7 build_style=gnu-makefile short_desc="Void Linux runit scripts" maintainer="Enno Boland "