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.
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: [email protected]
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.
Quoted 4 lines · Fahad
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
May I know it’s expected completion date?
Noor
From: [email protected] [mailto:[email protected]] On Behalf Of Burton, Ross
Sent: Monday, July 27, 2015 3:05 PM
To: Usman, Fahad
Cc: [email protected]; Khandavilli, Arun
Subject: Re: [yocto] Using wic from a Bitbake task
On 26 July 2015 at 18:24, Usman, Fahad <[email protected]<mailto:[email protected]>> 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
Quoted 3 lines · Noor
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
Quoted 1 line · Noor
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.
Quoted 23 lines
Noor
From: [email protected] [mailto:[email protected]] On Behalf Of Burton, Ross
Sent: Monday, July 27, 2015 3:05 PM
To: Usman, Fahad
Cc: [email protected]; Khandavilli, Arun
Subject: Re: [yocto] Using wic from a Bitbake taskOn 26 July 2015 at 18:24, Usman, Fahad <[email protected]<mailto:[email protected]>> 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
Signature · 4 lines
_______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Signature · 3 lines
-- Regards, Ed