Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Patrick Ohly
On Wed, 2017-03-15 at 16:47 +0200, Ed Bartosh wrote: > On Wed, Mar 15, 2017 at 04:01:43PM +0200, Ed Bartosh wrote: > > On Wed, Mar 15, 2017 at 02:41:34PM +0100, Patrick Ohly wrote: > > > On Wed, 2017-03-15 at 14:39 +0100, Patrick Ohly wrote: > > > > On Wed, 2017-03-15 at 14:58 +0200, Ed Bartosh

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Patrick Ohly
On Wed, 2017-03-15 at 16:01 +0200, Ed Bartosh wrote: > On Wed, Mar 15, 2017 at 02:41:34PM +0100, Patrick Ohly wrote: > > On Wed, 2017-03-15 at 14:39 +0100, Patrick Ohly wrote: > > > On Wed, 2017-03-15 at 14:58 +0200, Ed Bartosh wrote: > > > > Regarding do_rm_work. It should not touch rootfs

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Ed Bartosh
On Wed, Mar 15, 2017 at 04:01:43PM +0200, Ed Bartosh wrote: > On Wed, Mar 15, 2017 at 02:41:34PM +0100, Patrick Ohly wrote: > > On Wed, 2017-03-15 at 14:39 +0100, Patrick Ohly wrote: > > > On Wed, 2017-03-15 at 14:58 +0200, Ed Bartosh wrote: > > > > Regarding do_rm_work. It should not touch rootfs

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Ed Bartosh
On Wed, Mar 15, 2017 at 02:41:34PM +0100, Patrick Ohly wrote: > On Wed, 2017-03-15 at 14:39 +0100, Patrick Ohly wrote: > > On Wed, 2017-03-15 at 14:58 +0200, Ed Bartosh wrote: > > > Regarding do_rm_work. It should not touch rootfs directories, I believe. > > > It does, and it should by default

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Patrick Ohly
On Wed, 2017-03-15 at 14:39 +0100, Patrick Ohly wrote: > On Wed, 2017-03-15 at 14:58 +0200, Ed Bartosh wrote: > > Regarding do_rm_work. It should not touch rootfs directories, I believe. > > It does, and it should by default because a rootfs can be quite large. > If it's not going to be reused in

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Patrick Ohly
On Wed, 2017-03-15 at 14:58 +0200, Ed Bartosh wrote: > Regarding do_rm_work. It should not touch rootfs directories, I believe. It does, and it should by default because a rootfs can be quite large. If it's not going to be reused in another recipe, then it is worthwhile to remove it. -- Best

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Ed Bartosh
On Wed, Mar 15, 2017 at 08:24:34AM +0100, Patrick Ohly wrote: > On Tue, 2017-03-14 at 20:06 +0200, Ed Bartosh wrote: > > On Tue, Mar 14, 2017 at 06:49:45PM +0100, Patrick Ohly wrote: > > > > > > > It's not a big deal to run wic sequentially to produce multiple images, > > > > but it will create

Re: [OE-core] Create more than one image with WIC

2017-03-15 Thread Patrick Ohly
On Tue, 2017-03-14 at 20:06 +0200, Ed Bartosh wrote: > On Tue, Mar 14, 2017 at 06:49:45PM +0100, Patrick Ohly wrote: > > > > > It's not a big deal to run wic sequentially to produce multiple images, > > > but it will create more problems than it solves I believe. It will be > > > slower and > >

Re: [OE-core] Create more than one image with WIC

2017-03-14 Thread Ed Bartosh
On Tue, Mar 14, 2017 at 06:49:45PM +0100, Patrick Ohly wrote: > > > It's not a big deal to run wic sequentially to produce multiple images, > > but it will create more problems than it solves I believe. It will be > > slower and > > will make a mess in image naming in deploy directory. > > I

Re: [OE-core] Create more than one image with WIC

2017-03-14 Thread Patrick Ohly
On Tue, 2017-03-14 at 19:11 +0200, Ed Bartosh wrote: > On Mon, Mar 13, 2017 at 05:16:31PM +0100, Daniel Schultz wrote: > > Do I have misunderstood the design of wic? > > > > I mean MMC and EMMC are very similar, but different in the > > bootloader and it would be a overhead to create an extra

Re: [OE-core] Create more than one image with WIC

2017-03-14 Thread Ed Bartosh
On Mon, Mar 13, 2017 at 05:16:31PM +0100, Daniel Schultz wrote: > > > Am 08.03.2017 um 14:43 schrieb Ed Bartosh: > >On Wed, Mar 08, 2017 at 02:41:10PM +0100, Gary Thomas wrote: > >>On 2017-03-08 11:57, Ed Bartosh wrote: > >>>On Wed, Mar 08, 2017 at 10:44:21AM +0100, Daniel Schultz wrote: >

Re: [OE-core] Create more than one image with WIC

2017-03-13 Thread Daniel Schultz
Am 08.03.2017 um 14:43 schrieb Ed Bartosh: On Wed, Mar 08, 2017 at 02:41:10PM +0100, Gary Thomas wrote: On 2017-03-08 11:57, Ed Bartosh wrote: On Wed, Mar 08, 2017 at 10:44:21AM +0100, Daniel Schultz wrote: Hi, I created two kickstart files (am335x-sdimage.wks, am335x-emmc.wks) and added

Re: [OE-core] Create more than one image with WIC

2017-03-08 Thread Ed Bartosh
On Wed, Mar 08, 2017 at 02:41:10PM +0100, Gary Thomas wrote: > On 2017-03-08 11:57, Ed Bartosh wrote: > >On Wed, Mar 08, 2017 at 10:44:21AM +0100, Daniel Schultz wrote: > >>Hi, > >> > >>I created two kickstart files (am335x-sdimage.wks, am335x-emmc.wks) > >>and added them to the local.conf. > >> >

Re: [OE-core] Create more than one image with WIC

2017-03-08 Thread Gary Thomas
On 2017-03-08 11:57, Ed Bartosh wrote: On Wed, Mar 08, 2017 at 10:44:21AM +0100, Daniel Schultz wrote: Hi, I created two kickstart files (am335x-sdimage.wks, am335x-emmc.wks) and added them to the local.conf. When I build the image only the first wks in WKS_FILES will be used by WIC and the

Re: [OE-core] Create more than one image with WIC

2017-03-08 Thread Ed Bartosh
On Wed, Mar 08, 2017 at 10:44:21AM +0100, Daniel Schultz wrote: > Hi, > > I created two kickstart files (am335x-sdimage.wks, am335x-emmc.wks) > and added them to the local.conf. > > When I build the image only the first wks in WKS_FILES will be used > by WIC and the second will be ignored. Is it

[OE-core] Create more than one image with WIC

2017-03-08 Thread Daniel Schultz
Hi, I created two kickstart files (am335x-sdimage.wks, am335x-emmc.wks) and added them to the local.conf. When I build the image only the first wks in WKS_FILES will be used by WIC and the second will be ignored. Is it possible to build two images in one build? Includes of the wks files