Skip to contentSkip to conversation

apparmor: update to 2.13.3

PATCH New Armin Kuster 1 participant 1 message Aug 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apparmor: update to 2.13.3

create the cache dir at install time

---
 .../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%)
recipes-mac/AppArmor/apparmor_2.13.3.bb renamed from recipes-mac/AppArmor/apparmor_2.13.2.bb +7 -1
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
@@ -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 ."
Signature · 1 line
2.17.1