summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-08-24 18:42:52 -0700
committerArmin Kuster <akuster808@gmail.com>2019-08-24 19:02:12 -0700
commit01fec260595d170fbeb464a9c7ed7dcebe1d37fe (patch)
treec33e94b49a340ea3caa37e2b6148cac5017a2187
parent7631d20592d1ebc40e884b0c21a1f93fa9efc2f8 (diff)
downloadmeta-security-01fec260595d170fbeb464a9c7ed7dcebe1d37fe.tar.gz
apparmor: update to 2.13.3
create the cache dir at install time Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-mac/AppArmor/apparmor_2.13.3.bb (renamed from recipes-mac/AppArmor/apparmor_2.13.2.bb)8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-mac/AppArmor/apparmor_2.13.2.bb b/recipes-mac/AppArmor/apparmor_2.13.3.bb
index 1e9715d..9322018 100644
--- a/recipes-mac/AppArmor/apparmor_2.13.2.bb
+++ b/recipes-mac/AppArmor/apparmor_2.13.3.bb
@@ -24,7 +24,7 @@ SRC_URI = " \
24 file://run-ptest \ 24 file://run-ptest \
25 " 25 "
26 26
27SRCREV = "af4808b5f6b58946f5c5a4de4b77df5e0eae6ca0" 27SRCREV = "2f9d9ea7e01a115b29858455d3b1b5c6a0bab75c"
28S = "${WORKDIR}/git" 28S = "${WORKDIR}/git"
29 29
30PARALLEL_MAKE = "" 30PARALLEL_MAKE = ""
@@ -141,6 +141,12 @@ do_install_ptest () {
141 cp -rf ${B}/binutils ${t} 141 cp -rf ${B}/binutils ${t}
142} 142}
143 143
144pkg_postinst_ontarget_${PN} () {
145if [ ! -d /etc/apparmor.d/cache ] ; then
146 mkdir /etc/apparmor.d/cache
147fi
148}
149
144INITSCRIPT_PACKAGES = "${PN}" 150INITSCRIPT_PACKAGES = "${PN}"
145INITSCRIPT_NAME = "apparmor" 151INITSCRIPT_NAME = "apparmor"
146INITSCRIPT_PARAMS = "start 16 2 3 4 5 . stop 35 0 1 6 ." 152INITSCRIPT_PARAMS = "start 16 2 3 4 5 . stop 35 0 1 6 ."