From 60e6c5e6c7f936b4775808c3523c7b40d20f96bb 2018-12-04 15:35:10 From: Unknown Date: 2018-12-04 15:35:10 Subject: [PATCH] 0 --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 1ef5adf..4600cc9 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -566,6 +566,10 @@ fi if [ "$ENABLE_IPTABLES" = true ] ; then APT_INCLUDES="${APT_INCLUDES},iptables,iptables-persistent" fi +# Add apparmor for KERNEL_SECURITY +if [ "$KERNEL_SECURITY" = true ] ; then + APT_INCLUDES="${APT_INCLUDES},apparmor,apparmor-utils,apparmor-profiles,apparmor-profiles-extra,libapparmor-perl" +fi # Add openssh server package if [ "$ENABLE_SSHD" = true ] ; then