[2/2] Prevent IMAGE_FEATURES from contaminating initrd

Submitted by Darren Hart on Sept. 15, 2011, 10:41 p.m.

Details

Message ID 493455fd67419c8a4a9f80a6013d5a2bcba48293.1316126173.git.dvhart@linux.intel.com
State New, archived
Headers show

Commit Message

Darren Hart Sept. 15, 2011, 10:41 p.m.
Set IMAGE_FEATURES="" in core-image-initramfs to prevent
the setting of things like EXTRA_IMAGE_FEATURES in local.conf
from contaminating the initrd with features meant for the rootfs.

Suggested-by: Richard Purdie <richardpurdie@linuxfoundation.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
 .../images/core-image-minimal-initramfs.bb         |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index 3246d5c..0bac27a 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -2,6 +2,9 @@ 
 
 IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev base-passwd"
 
+# Do not pollute the initrd image with rootfs features
+IMAGE_FEATURES = ""
+
 export IMAGE_BASENAME = "core-image-minimal-initramfs"
 IMAGE_LINGUAS = ""