On Sat, Feb 8, 2020 at 1:25 PM Richard Purdie
<[email protected]> wrote:
>
> On Thu, 2020-01-30 at 04:54 +0000, Alex Kiernan wrote:
> > With spaces in ROOTFS_POSTPROCESS_COMMAND attempts to remove elements
> > using ROOTFS_POSTPROCESS_COMMAND_remove causes parse failures of the
> > form:
> >
> >   bb.pysh.sherrors.ShellSyntaxError: LexToken(COMMA,';',0,0)
> >   followed by:
> >     LexToken(TOKEN,'write_image_test_data',0,0)
> >     LexToken(COMMA,';',0,0)
> >     LexToken(TOKEN,'set_systemd_default_target',0,0)
> >     LexToken(COMMA,';',0,0)
> >     LexToken(TOKEN,'systemd_create_users',0,0)
> >
> > Removing the spaces between the function name and semicolon allows
> > the list to parse correctly.
> >
> > Signed-off-by: Alex Kiernan <[email protected]>
> > ---
> >
> >  meta/classes/rootfs-postcommands.bbclass | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
>
> This does sound like you're working around a bug in shlex :/
>

Yeah, sorry...

I'll see if I can go and have a proper look at the underlying problem!

-- 
Alex Kiernan
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to