mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
apparmor: update to 2.13.3
create the cache dir at install time Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -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 ."
|
||||
Reference in New Issue
Block a user