summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-02-24 01:25:16 -0800
committerRobert Yang <liezhi.yang@windriver.com>2017-02-24 01:34:50 -0800
commitfa4fb5a91643087bc48597be473226be3d907709 (patch)
tree3ac597aeddc312e99fcb5e1f07fe746d4732cdcb
parent65cfc8aca3ff7e39453977a0215a350d13cb85ef (diff)
downloadopenembedded-core-contrib-rbt/qb.tar.gz
openembedded-core-contrib-rbt/qb.tar.bz2
openembedded-core-contrib-rbt/qb.zip
core-image-minimal-initramfs: set QB_DEFAULT_FSTYPErbt/qb
Fixed: MACHINE = "qemux86" $ bitbake core-image-minimal-initramfs $ runqemu qemux86 nographic [snip] Exception: Failed to find rootfs: tmp/deploy/images/qemux86/core-image-minimal-initramfs-qemux86-20170224082533*.ext4 or tmp/deploy/images/qemux86/core-image-minimal-initramfs-qemux86*.ext4 [snip] This is because core-image-minimal-initramfs doesn't generate ext4 image which is the default value or QB_DEFAULT_FSTYPE, it only generates cpio.gz. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/recipes-core/images/core-image-minimal-initramfs.bb2
1 files changed, 2 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 5794a25952..1ea3490eb3 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -16,6 +16,8 @@ LICENSE = "MIT"
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image
+QB_DEFAULT_FSTYPE = "cpio.gz"
+
IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"