Re: Architecture of .wic approach; image of images


Leon Woestenberg
 

On Thu, Nov 28, 2019 at 12:41 PM Josef Holzmayr
<holzmayr@...> wrote:
On Thu, Nov 28, 2019 at 12:11:52PM +0100, Leon Woestenberg wrote:
Let me then first describe the issue I am having, which I think
results from my misunderstanding then.

I would like to package a UEFI bootloader (GRUB), bzImage and
initramfs.cpio.gz into an FAT partition using WIC.

1) Should I adapt my existing my-initramfs recipe as follows:

IMAGE_FSTYPES += "wic"
WKS_FILE = "my-disk-image.wks"
I think I'm starting to see the problem. Do you set those things in your
image recipe?
IMAGE_FSTYPES += "wic" goes in the image recipe, yes.

WKS_FILE is there as well for this image, because I need to create
multiple images with different WKS's.

If it included things like that, how could we use it
as a "hello world"-style image for about every platform?
I want to create several images. The one I described is a recovery image.
I also want an application image which has a different WKS.

However, this is not the real issue. I first would like to understand
if I need to follow 1) or 2).

Regards,

Leon.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.