[yocto] [meta-security][PATCH] Fix build issue for apparmor kernel configuration.

Jinliang Li ljl150821 at alibaba-inc.com
Wed May 30 06:38:30 PDT 2018


Set the correct path of kernel configuration file in linux-yocto_4.%.bbappend
to fix the below build issue.
Fetcher failure for URL: 'file://apparmor.cfg'. Unable to fetch URL from any
source.

Signed-off-by: Jinliang Li <ljl150821 at alibaba-inc.com>
---
 recipes-kernel/linux/linux-yocto_4.%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-yocto_4.%.bbappend b/recipes-kernel/linux/linux-yocto_4.%.bbappend
index 9d68c99..067be8f 100644
--- a/recipes-kernel/linux/linux-yocto_4.%.bbappend
+++ b/recipes-kernel/linux/linux-yocto_4.%.bbappend
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.12:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += "\
         ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \
-- 
2.7.4




More information about the yocto mailing list