diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-08-24 18:42:52 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-08-24 19:02:12 -0700 |
commit | 01fec260595d170fbeb464a9c7ed7dcebe1d37fe (patch) | |
tree | c33e94b49a340ea3caa37e2b6148cac5017a2187 | |
parent | 7631d20592d1ebc40e884b0c21a1f93fa9efc2f8 (diff) | |
download | meta-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 | ||
27 | SRCREV = "af4808b5f6b58946f5c5a4de4b77df5e0eae6ca0" | 27 | SRCREV = "2f9d9ea7e01a115b29858455d3b1b5c6a0bab75c" |
28 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |
29 | 29 | ||
30 | PARALLEL_MAKE = "" | 30 | PARALLEL_MAKE = "" |
@@ -141,6 +141,12 @@ do_install_ptest () { | |||
141 | cp -rf ${B}/binutils ${t} | 141 | cp -rf ${B}/binutils ${t} |
142 | } | 142 | } |
143 | 143 | ||
144 | pkg_postinst_ontarget_${PN} () { | ||
145 | if [ ! -d /etc/apparmor.d/cache ] ; then | ||
146 | mkdir /etc/apparmor.d/cache | ||
147 | fi | ||
148 | } | ||
149 | |||
144 | INITSCRIPT_PACKAGES = "${PN}" | 150 | INITSCRIPT_PACKAGES = "${PN}" |
145 | INITSCRIPT_NAME = "apparmor" | 151 | INITSCRIPT_NAME = "apparmor" |
146 | INITSCRIPT_PARAMS = "start 16 2 3 4 5 . stop 35 0 1 6 ." | 152 | INITSCRIPT_PARAMS = "start 16 2 3 4 5 . stop 35 0 1 6 ." |