* devtool and multiconfig: Bug or feature?
@ 2020-06-08 14:40 Ricardo Ribalda
2020-06-09 9:46 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Ribalda @ 2020-06-08 14:40 UTC (permalink / raw)
To: openembedded-core, Jan Lorenzen
Hi
I am trying to use devtool in combination with multiconfig for the
first time, so probably I am doing something wrong.
I have created a very simple multiconfig
cat build/conf/multiconfig/arm.conf
MACHINE = "qemuarm"
And then I want to modify bash:
devtool modify multiconfig:arm:bash
If then I try to run:
devtool build multiconfig:arm:bash
NOTE: Starting bitbake server...
ERROR: No recipe named 'multiconfig:arm:bash' in your workspace
So I run:
devtool build bash
But that builds for x86 instead of for arm...
Simply patching check_workspace_recipe does not do the trick:
@@ -145,6 +145,8 @@ def check_workspace_recipe(workspace, pn,
checksrc=True, bbclassextend=False):
is present.
"""
+ pn = pn.split(":")[-1]
+
workspacepn = pn
for recipe, value in workspace.items():
Any idea or documentation to follow?
Thanks!
--
Ricardo Ribalda
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] devtool and multiconfig: Bug or feature?
2020-06-08 14:40 devtool and multiconfig: Bug or feature? Ricardo Ribalda
@ 2020-06-09 9:46 ` Richard Purdie
2020-06-10 9:48 ` Ricardo Ribalda
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2020-06-09 9:46 UTC (permalink / raw)
To: Ricardo Ribalda, openembedded-core, Jan Lorenzen
On Mon, 2020-06-08 at 16:40 +0200, Ricardo Ribalda wrote:
> Hi
>
> I am trying to use devtool in combination with multiconfig for the
> first time, so probably I am doing something wrong.
>
> I have created a very simple multiconfig
>
> cat build/conf/multiconfig/arm.conf
> MACHINE = "qemuarm"
>
> And then I want to modify bash:
> devtool modify multiconfig:arm:bash
>
> If then I try to run:
> devtool build multiconfig:arm:bash
> NOTE: Starting bitbake server...
> ERROR: No recipe named 'multiconfig:arm:bash' in your workspace
>
> So I run:
> devtool build bash
>
> But that builds for x86 instead of for arm...
>
> Simply patching check_workspace_recipe does not do the trick:
> @@ -145,6 +145,8 @@ def check_workspace_recipe(workspace, pn,
> checksrc=True, bbclassextend=False):
> is present.
> """
>
> + pn = pn.split(":")[-1]
> +
> workspacepn = pn
>
> for recipe, value in workspace.items():
>
>
> Any idea or documentation to follow?
I think this is something which hasn't been tested before. Its a bug
but nobody has probably tested or fixed devtool to work with
multiconfig.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] devtool and multiconfig: Bug or feature?
2020-06-09 9:46 ` [OE-core] " Richard Purdie
@ 2020-06-10 9:48 ` Ricardo Ribalda
2020-06-10 10:02 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Ribalda @ 2020-06-10 9:48 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core, Jan Lorenzen
Hi Richard
On Tue, Jun 9, 2020 at 11:46 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Mon, 2020-06-08 at 16:40 +0200, Ricardo Ribalda wrote:
> > Hi
> >
> > I am trying to use devtool in combination with multiconfig for the
> > first time, so probably I am doing something wrong.
> >
> > I have created a very simple multiconfig
> >
> > cat build/conf/multiconfig/arm.conf
> > MACHINE = "qemuarm"
> >
> > And then I want to modify bash:
> > devtool modify multiconfig:arm:bash
> >
> > If then I try to run:
> > devtool build multiconfig:arm:bash
> > NOTE: Starting bitbake server...
> > ERROR: No recipe named 'multiconfig:arm:bash' in your workspace
> >
> > So I run:
> > devtool build bash
> >
> > But that builds for x86 instead of for arm...
> >
> > Simply patching check_workspace_recipe does not do the trick:
> > @@ -145,6 +145,8 @@ def check_workspace_recipe(workspace, pn,
> > checksrc=True, bbclassextend=False):
> > is present.
> > """
> >
> > + pn = pn.split(":")[-1]
> > +
> > workspacepn = pn
> >
> > for recipe, value in workspace.items():
> >
> >
> > Any idea or documentation to follow?
>
> I think this is something which hasn't been tested before. Its a bug
> but nobody has probably tested or fixed devtool to work with
> multiconfig.
I have opened a bug on bugzilla, with a horrible patch that kind of fixes it...
Lets see how it evolves.
>
> Cheers,
>
> Richard
>
--
Ricardo Ribalda
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] devtool and multiconfig: Bug or feature?
2020-06-10 9:48 ` Ricardo Ribalda
@ 2020-06-10 10:02 ` Richard Purdie
0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2020-06-10 10:02 UTC (permalink / raw)
To: Ricardo Ribalda Delgado; +Cc: openembedded-core, Jan Lorenzen
On Wed, 2020-06-10 at 11:48 +0200, Ricardo Ribalda Delgado wrote:
> Hi Richard
> On Tue, Jun 9, 2020 at 11:46 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Mon, 2020-06-08 at 16:40 +0200, Ricardo Ribalda wrote:
> > > Hi
> > >
> > > I am trying to use devtool in combination with multiconfig for
> > > the
> > > first time, so probably I am doing something wrong.
> > >
> > > I have created a very simple multiconfig
> > >
> > > cat build/conf/multiconfig/arm.conf
> > > MACHINE = "qemuarm"
> > >
> > > And then I want to modify bash:
> > > devtool modify multiconfig:arm:bash
> > >
> > > If then I try to run:
> > > devtool build multiconfig:arm:bash
> > > NOTE: Starting bitbake server...
> > > ERROR: No recipe named 'multiconfig:arm:bash' in your workspace
> > >
> > > So I run:
> > > devtool build bash
> > >
> > > But that builds for x86 instead of for arm...
> > >
> > > Simply patching check_workspace_recipe does not do the trick:
> > > @@ -145,6 +145,8 @@ def check_workspace_recipe(workspace, pn,
> > > checksrc=True, bbclassextend=False):
> > > is present.
> > > """
> > >
> > > + pn = pn.split(":")[-1]
> > > +
> > > workspacepn = pn
> > >
> > > for recipe, value in workspace.items():
> > >
> > >
> > > Any idea or documentation to follow?
> >
> > I think this is something which hasn't been tested before. Its a
> > bug
> > but nobody has probably tested or fixed devtool to work with
> > multiconfig.
>
> I have opened a bug on bugzilla, with a horrible patch that kind of
> fixes it...
> Lets see how it evolves.
That patches in master-next from Joshua fix up the bitbake side of the
APIs to support multiconfig so I'm hoping that brings us a lot
closer...
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-10 10:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 14:40 devtool and multiconfig: Bug or feature? Ricardo Ribalda
2020-06-09 9:46 ` [OE-core] " Richard Purdie
2020-06-10 9:48 ` Ricardo Ribalda
2020-06-10 10:02 ` Richard Purdie
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.