[yocto] [meta-security][PATCH] apparmor: update to 2.13.3
Armin Kuster
akuster808 at gmail.com
Sat Aug 24 19:02:40 PDT 2019
create the cache dir at install time
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
.../AppArmor/{apparmor_2.13.2.bb => apparmor_2.13.3.bb} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
rename recipes-mac/AppArmor/{apparmor_2.13.2.bb => apparmor_2.13.3.bb} (96%)
diff --git a/recipes-mac/AppArmor/apparmor_2.13.2.bb b/recipes-mac/AppArmor/apparmor_2.13.3.bb
similarity index 96%
rename from recipes-mac/AppArmor/apparmor_2.13.2.bb
rename to 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 = " \
file://run-ptest \
"
-SRCREV = "af4808b5f6b58946f5c5a4de4b77df5e0eae6ca0"
+SRCREV = "2f9d9ea7e01a115b29858455d3b1b5c6a0bab75c"
S = "${WORKDIR}/git"
PARALLEL_MAKE = ""
@@ -141,6 +141,12 @@ do_install_ptest () {
cp -rf ${B}/binutils ${t}
}
+pkg_postinst_ontarget_${PN} () {
+if [ ! -d /etc/apparmor.d/cache ] ; then
+ mkdir /etc/apparmor.d/cache
+fi
+}
+
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME = "apparmor"
INITSCRIPT_PARAMS = "start 16 2 3 4 5 . stop 35 0 1 6 ."
--
2.17.1
More information about the yocto
mailing list