Bug 12134

Summary: Typo in bbappend for linux-yocto_4.9 prepends FILESEXTRAPATHS with ${PN}-4.8 instead of ${PN}-4.9
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: derek.betker
Component: meta-securityAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+    
Version: unspecified   
Target Milestone: 2.4 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description derek.betker 2017-09-28 00:00:11 UTC
ERROR: linux-yocto-4.9.46+gitAUTOINC+f16cac5343_cf9a7dd9f4-r0 do_fetch: Fetcher failure: Unable to find file file://apparmor.cfg anywhere.

$ find meta-security/|grep apparmor.cfg
meta-security/recipes-kernel/linux/linux-yocto-4.9/apparmor.cfg
meta-security/recipes-kernel/linux/linux-yocto-4.10/apparmor.cfg
meta-security/recipes-kernel/linux/linux-yocto-4.12/apparmor.cfg

source of error is a typo in meta-security/recipes-kernel/linux/linux-yocto_4.9.bbappend, patch to resolve included below. This applies to master & pyro branches.

diff --git a/recipes-kernel/linux/linux-yocto_4.9.bbappend b/recipes-kernel/linux/linux-yocto_4.9.bbappend
index 9702dd4..adda041 100644
--- a/recipes-kernel/linux/linux-yocto_4.9.bbappend
+++ b/recipes-kernel/linux/linux-yocto_4.9.bbappend
@@ -1,4 +1,4 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.8:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
 
 # TPM kernel support
 KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}"
Comment 1 Armin Kuster 2017-10-04 19:58:03 UTC
meta-security master-next fixed and patch sent to list.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/commit/?h=master-next&id=73af6d209c70e974554a4225bbe75caf7b360174
Comment 2 Armin Kuster 2017-10-12 15:27:09 UTC
in master