From: Mingli Yu <[email protected]>

As linux-yocto upgraded to 5.x in oe-core, update
the bbappend to 5.x to remove the warning:

WARNING: No recipes available for:
  /buildarea/layers/meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend

Signed-off-by: Mingli Yu <[email protected]>
---
 recipes-kernel/linux/linux-yocto_4.%.bbappend | 2 --
 recipes-kernel/linux/linux-yocto_5.%.bbappend | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-yocto_4.%.bbappend
 create mode 100644 recipes-kernel/linux/linux-yocto_5.%.bbappend

diff --git a/recipes-kernel/linux/linux-yocto_4.%.bbappend 
b/recipes-kernel/linux/linux-yocto_4.%.bbappend
deleted file mode 100644
index 39d4e6f..0000000
--- a/recipes-kernel/linux/linux-yocto_4.%.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", 
" features/apparmor/apparmor.scc", "" ,d)}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "smack", " 
features/smack/smack.scc", "" ,d)}"
diff --git a/recipes-kernel/linux/linux-yocto_5.%.bbappend 
b/recipes-kernel/linux/linux-yocto_5.%.bbappend
new file mode 100644
index 0000000..39d4e6f
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_5.%.bbappend
@@ -0,0 +1,2 @@
+KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", 
" features/apparmor/apparmor.scc", "" ,d)}"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "smack", " 
features/smack/smack.scc", "" ,d)}"
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48631): https://lists.yoctoproject.org/g/yocto/message/48631
Mute This Topic: https://lists.yoctoproject.org/mt/71582303/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to