Patchwork [CONSOLIDATED,PULL,26/28] core-image-minimal-initramfs: force IMAGE_FSTYPES

login
register
mail settings
Submitter Saul Wold
Date Nov. 5, 2011, 5:22 p.m.
Message ID <42c198682bdc9a49503aba1bf8fa932cf3779384.1320513631.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/14367/
State Accepted
Commit 571919f49cbe6f8f5b21de844b00761314e697fd
Headers show

Comments

Saul Wold - Nov. 5, 2011, 5:22 p.m.
From: Paul Eggleton <paul.eggleton@linux.intel.com>

If the user has set their own value for IMAGE_FSTYPES, they may have
disabled the cpio.gz image type, preventing the initramfs from being
produced in the format that image-live.bbclass expects; so force
IMAGE_FSTYPES to cpio.gz within the initramfs image recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>

Prepend cpio.gz instead

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../images/core-image-minimal-initramfs.bb         |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index 0bac27a..d078c10 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -13,3 +13,4 @@  LICENSE = "MIT"
 inherit core-image
 
 IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_FSTYPES =+ "cpio.gz"