All of lore.kernel.org
 help / color / mirror / Atom feed
* Using wic from a Bitbake task
@ 2015-07-26 17:24 Usman, Fahad
  2015-07-27  7:17 ` Ahsan, Noor
  2015-07-27 10:04 ` Burton, Ross
  0 siblings, 2 replies; 6+ messages in thread
From: Usman, Fahad @ 2015-07-26 17:24 UTC (permalink / raw)
  To: yocto; +Cc: Khandavilli, Arun

Hello,
Is it possible to invoke 'wic create' command from a bitbake task. As 
currently it is implemented to be run as a standalone tool and if we 
invoke it from a task, the 'bitbake -e' command fails, since more than 
one instances of bitbake cannot be run from a single build directory.

We want to emit an SD card image as part of build artifacts when an 
image recipe is built. And we don't want to use the 
boot-directdisk.bbclass as it's going to be deprecated in favour of wic.

Thanks,
Fahad Usman.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using wic from a Bitbake task
  2015-07-26 17:24 Using wic from a Bitbake task Usman, Fahad
@ 2015-07-27  7:17 ` Ahsan, Noor
  2015-07-27 10:04 ` Burton, Ross
  1 sibling, 0 replies; 6+ messages in thread
From: Ahsan, Noor @ 2015-07-27  7:17 UTC (permalink / raw)
  To: Usman, Fahad, yocto@yoctoproject.org; +Cc: Khandavilli, Arun, Larson, Chris

Hello all,

Will it be valuable to create another option (which assume that bitbake is running and get values from variables directly) for wic which we can invoke from the image recipe as part of image creation process.

Noor  

-----Original Message-----
From: Usman, Fahad 
Sent: Sunday, July 26, 2015 10:25 PM
To: yocto@yoctoproject.org
Cc: Ahsan, Noor; Khandavilli, Arun
Subject: Using wic from a Bitbake task

Hello,
Is it possible to invoke 'wic create' command from a bitbake task. As currently it is implemented to be run as a standalone tool and if we invoke it from a task, the 'bitbake -e' command fails, since more than one instances of bitbake cannot be run from a single build directory.

We want to emit an SD card image as part of build artifacts when an image recipe is built. And we don't want to use the boot-directdisk.bbclass as it's going to be deprecated in favour of wic.

Thanks,
Fahad Usman.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using wic from a Bitbake task
  2015-07-26 17:24 Using wic from a Bitbake task Usman, Fahad
  2015-07-27  7:17 ` Ahsan, Noor
@ 2015-07-27 10:04 ` Burton, Ross
  2015-07-27 12:49   ` Ahsan, Noor
  1 sibling, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2015-07-27 10:04 UTC (permalink / raw)
  To: Usman, Fahad; +Cc: yocto@yoctoproject.org, Khandavilli, Arun

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

On 26 July 2015 at 18:24, Usman, Fahad <Fahad_Usman@mentor.com> wrote:

> Is it possible to invoke 'wic create' command from a bitbake task. As
> currently it is implemented to be run as a standalone tool and if we invoke
> it from a task, the 'bitbake -e' command fails, since more than one
> instances of bitbake cannot be run from a single build directory.


Not yet, but there's a bug for that:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7672

Ross

[-- Attachment #2: Type: text/html, Size: 969 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using wic from a Bitbake task
  2015-07-27 10:04 ` Burton, Ross
@ 2015-07-27 12:49   ` Ahsan, Noor
  2015-07-27 13:01     ` Burton, Ross
  2015-07-28 11:09     ` Ed Bartosh
  0 siblings, 2 replies; 6+ messages in thread
From: Ahsan, Noor @ 2015-07-27 12:49 UTC (permalink / raw)
  To: Burton, Ross, Usman, Fahad
  Cc: yocto@yoctoproject.org, Khandavilli, Arun, Larson, Chris

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

May I know it’s expected completion date?

Noor

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Burton, Ross
Sent: Monday, July 27, 2015 3:05 PM
To: Usman, Fahad
Cc: yocto@yoctoproject.org; Khandavilli, Arun
Subject: Re: [yocto] Using wic from a Bitbake task


On 26 July 2015 at 18:24, Usman, Fahad <Fahad_Usman@mentor.com<mailto:Fahad_Usman@mentor.com>> wrote:
Is it possible to invoke 'wic create' command from a bitbake task. As currently it is implemented to be run as a standalone tool and if we invoke it from a task, the 'bitbake -e' command fails, since more than one instances of bitbake cannot be run from a single build directory.

Not yet, but there's a bug for that:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7672

Ross

[-- Attachment #2: Type: text/html, Size: 3833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using wic from a Bitbake task
  2015-07-27 12:49   ` Ahsan, Noor
@ 2015-07-27 13:01     ` Burton, Ross
  2015-07-28 11:09     ` Ed Bartosh
  1 sibling, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2015-07-27 13:01 UTC (permalink / raw)
  To: Ahsan, Noor; +Cc: yocto@yoctoproject.org, Khandavilli, Arun, Larson, Chris

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

On 27 July 2015 at 13:49, Ahsan, Noor <Noor_Ahsan@mentor.com> wrote:

> May I know it’s expected completion date?
>
>
Currently marked as "1.9", you'll have to talk to Ed to get anything more
precise than that.

Ross

[-- Attachment #2: Type: text/html, Size: 760 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using wic from a Bitbake task
  2015-07-27 12:49   ` Ahsan, Noor
  2015-07-27 13:01     ` Burton, Ross
@ 2015-07-28 11:09     ` Ed Bartosh
  1 sibling, 0 replies; 6+ messages in thread
From: Ed Bartosh @ 2015-07-28 11:09 UTC (permalink / raw)
  To: Ahsan, Noor; +Cc: yocto@yoctoproject.org, Khandavilli, Arun, Larson, Chris

On Mon, Jul 27, 2015 at 12:49:12PM +0000, Ahsan, Noor wrote:
> May I know it’s expected completion date?

I hope to get it done till the end of August. This bug has the highest
priority, so I'll start working on it as soon as I'm back to wic
development.

> Noor
> 
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Burton, Ross
> Sent: Monday, July 27, 2015 3:05 PM
> To: Usman, Fahad
> Cc: yocto@yoctoproject.org; Khandavilli, Arun
> Subject: Re: [yocto] Using wic from a Bitbake task
> 
> 
> On 26 July 2015 at 18:24, Usman, Fahad <Fahad_Usman@mentor.com<mailto:Fahad_Usman@mentor.com>> wrote:
> Is it possible to invoke 'wic create' command from a bitbake task. As currently it is implemented to be run as a standalone tool and if we invoke it from a task, the 'bitbake -e' command fails, since more than one instances of bitbake cannot be run from a single build directory.
> 
> Not yet, but there's a bug for that:
> 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=7672
> 
> Ross

> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
--
Regards,
Ed


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-28 11:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 17:24 Using wic from a Bitbake task Usman, Fahad
2015-07-27  7:17 ` Ahsan, Noor
2015-07-27 10:04 ` Burton, Ross
2015-07-27 12:49   ` Ahsan, Noor
2015-07-27 13:01     ` Burton, Ross
2015-07-28 11:09     ` Ed Bartosh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.