From: "Armin Kuster" <akuster808@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] kernel-kfrag: add new class
Date: Sun, 30 May 2021 18:05:51 +0000 [thread overview]
Message-ID: <20210530180552.580308-1-akuster808@gmail.com> (raw)
This provides a common place to define kernel fragments
that may be usefull to the larger community.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
meta/classes/kernel-kfrag.bbclass | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 meta/classes/kernel-kfrag.bbclass
diff --git a/meta/classes/kernel-kfrag.bbclass b/meta/classes/kernel-kfrag.bbclass
new file mode 100644
index 00000000000..c0c5667b519
--- /dev/null
+++ b/meta/classes/kernel-kfrag.bbclass
@@ -0,0 +1,8 @@
+#
+# Class to place yocto-kernel-cache fragments
+# selections usfull to anyone
+#
+
+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)}"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "dm-verity", " features/device-mapper/dm-verity.scc", "" ,d)}"
--
2.24.3
next reply other threads:[~2021-05-30 18:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-30 18:05 Armin Kuster [this message]
2021-05-30 18:05 ` [PATCH 2/2] kernel.bbclass: include kernel-kfrag Armin Kuster
2021-05-30 20:47 ` [OE-core] [PATCH 1/2] kernel-kfrag: add new class Bruce Ashfield
2021-05-30 20:54 ` Armin Kuster
2021-05-31 2:27 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210530180552.580308-1-akuster808@gmail.com \
--to=akuster808@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox