Hi Alex,

Do you have a case that generating an image with wic + tiny initramfs? If so could you please show me that?

I tried to create an image with below commands directly, I'm not sure if this is a proper test case:
$ wic create mkefidisk -e core-image-tiny-initramfs

While I booting it with USB + Intel NUC, it hangs at finding rootfs.

Thanks
Wenzong

On 09/16/2017 02:22 AM, Alejandro Hernandez wrote:
core-image-tiny-initramfs was used to generate a wic image, which was 
conceptually wrong
since initrafms recipes should only generate the boot artifacts that can later 
be used
by another recipe to generate an image using the tool of their choice.

Signed-off-by: Alejandro Hernandez <[email protected]>
---
  meta/recipes-core/images/core-image-tiny-initramfs.bb | 7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb 
b/meta/recipes-core/images/core-image-tiny-initramfs.bb
index 184727ddf7a..a8893d1e53e 100644
--- a/meta/recipes-core/images/core-image-tiny-initramfs.bb
+++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb
@@ -1,10 +1,9 @@
  # Simple initramfs image artifact generation for tiny images.
  DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \
  the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \
-first 'init' program more efficiently.  core-image-tiny-initramfs doesn't \
+first 'init' program more efficiently. core-image-tiny-initramfs doesn't \
  actually generate an image but rather generates boot and rootfs artifacts \
-into a common location that can subsequently be picked up by external image \
-generation tools such as wic."
+that can subsequently be picked up by external image generation tools such as 
wic."
PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" @@ -17,7 +16,7 @@ IMAGE_LINGUAS = ""
  LICENSE = "MIT"
# don't actually generate an image, just the artifacts needed for one
-IMAGE_FSTYPES = "${INITRAMFS_FSTYPES} wic"
+IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to