summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-09-15 15:41:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-16 13:29:58 +0100
commitbb4dad44432b2e40ac3cf16baa45befbae3e70f5 (patch)
treedddb85a0853cfb8693e39a7771e9375504364739
parent4617ae0f433876037c2c9a0dfdb5e373e7a5c77b (diff)
downloadopenembedded-core-bb4dad44432b2e40ac3cf16baa45befbae3e70f5.tar.gz
openembedded-core-bb4dad44432b2e40ac3cf16baa45befbae3e70f5.tar.bz2
openembedded-core-bb4dad44432b2e40ac3cf16baa45befbae3e70f5.zip
Prevent IMAGE_FEATURES from contaminating initrd
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/images/core-image-minimal-initramfs.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index 3246d5ca6e..0bac27a563 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 = ""