From: Chris Patterson <cjp256@gmail.com>
To: meta-virtualization@yoctoproject.org
Subject: [PATCH 2/4] linux-yocto: add optional support for aufs and xen using DISTRO_FEATURES.
Date: Thu, 29 Aug 2013 23:37:22 -0400 [thread overview]
Message-ID: <1377833844-14672-3-git-send-email-cjp256@gmail.com> (raw)
In-Reply-To: <1377833844-14672-1-git-send-email-cjp256@gmail.com>
---
recipes-kernel/linux/linux-yocto_3.4.bbappend | 6 ++++++
recipes-kernel/linux/linux-yocto_3.8.bbappend | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend b/recipes-kernel/linux/linux-yocto_3.4.bbappend
index 2893a01..2ada931 100644
--- a/recipes-kernel/linux/linux-yocto_3.4.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend
@@ -11,3 +11,9 @@ KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc"
module_autoload_kvm = "kvm"
module_autoload_kvm-amd = "kvm-amd"
module_autoload_kvm-intel = "kvm-intel"
+
+# aufs kernel support required for core-image-xen
+KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}"
+
+# xen dom0 kernel support
+SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}"
diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend
index 2893a01..2ada931 100644
--- a/recipes-kernel/linux/linux-yocto_3.8.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend
@@ -11,3 +11,9 @@ KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc"
module_autoload_kvm = "kvm"
module_autoload_kvm-amd = "kvm-amd"
module_autoload_kvm-intel = "kvm-intel"
+
+# aufs kernel support required for core-image-xen
+KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}"
+
+# xen dom0 kernel support
+SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}"
--
1.7.10.4
next prev parent reply other threads:[~2013-08-30 3:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 3:37 [PATCH 0/4] xen 4.3.0 recipe and updated xen-image-minimal Chris Patterson
2013-08-30 3:37 ` [PATCH 1/4] linux-yocto: add kernel fragment and scc for xen dom0 kernel support Chris Patterson
2013-08-30 5:32 ` Bruce Ashfield
2013-09-01 2:12 ` Chris Patterson
2013-09-01 4:01 ` Bruce Ashfield
2013-09-01 14:42 ` Chris Patterson
2013-09-09 2:23 ` Chris Patterson
2013-09-09 3:14 ` Bruce Ashfield
2013-08-30 3:37 ` Chris Patterson [this message]
2013-08-30 5:34 ` [PATCH 2/4] linux-yocto: add optional support for aufs and xen using DISTRO_FEATURES Bruce Ashfield
2013-08-30 3:37 ` [PATCH 3/4] xen: add 4.3.0 recipe Chris Patterson
2013-08-30 3:37 ` [PATCH 4/4] xen-image-minimal: update image to support xen 4.3.0 base with xl toolstack Chris Patterson
2013-08-30 5:36 ` Bruce Ashfield
2013-09-01 4:41 ` Chris Patterson
2013-09-01 14:25 ` Chris Patterson
2013-09-02 3:08 ` Bruce Ashfield
2013-09-08 22:54 ` Philip Tricca
2013-08-30 5:39 ` [PATCH 0/4] xen 4.3.0 recipe and updated xen-image-minimal 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=1377833844-14672-3-git-send-email-cjp256@gmail.com \
--to=cjp256@gmail.com \
--cc=meta-virtualization@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.