Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
On Thu, Nov 28, 2019 at 10:01 AM Josef Holzmayr < holzm...@rsi-elektrotechnik.de> wrote: > On Thu, Nov 28, 2019 at 09:37:12AM +0100, Leon Woestenberg wrote: > > > The .wic image type however, builds an image from *images* rather than > > packages. > > Thats *almost* correct. It builds an image

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Josef Holzmayr
On Thu, Nov 28, 2019 at 01:32:56PM +0100, Leon Woestenberg wrote: > > Au contraire :) It is the real issue because neither 1) nor 2) is the > > correct way, and I pretty much explained why that is. > > > So let's then consider the case that the WKS is machine specific. I am > fine with that. >

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
> Au contraire :) It is the real issue because neither 1) nor 2) is the > correct way, and I pretty much explained why that is. So let's then consider the case that the WKS is machine specific. I am fine with that. - Does Yocto support building multiple images from one configuration? - (How)

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Josef Holzmayr
On Thu, Nov 28, 2019 at 12:53:54PM +0100, Leon Woestenberg wrote: > On Thu, Nov 28, 2019 at 12:41 PM Josef 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

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
On Thu, Nov 28, 2019 at 12:41 PM Josef 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),

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Josef Holzmayr
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. > >

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
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 +=

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Josef Holzmayr
On Thu, Nov 28, 2019 at 09:37:12AM +0100, Leon Woestenberg wrote: > Hello all, > > What is the intended approach of building images using WIC? > > Most image types (except .wic) build a (root or initial ram) filesystem > from *packages*, then create the respective archive or filesystem from it.

[yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
Hello all, What is the intended approach of building images using WIC? Most image types (except .wic) build a (root or initial ram) filesystem from *packages*, then create the respective archive or filesystem from it. The .wic image type however, builds an image from *images* rather than