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 :/ Cheers, Richard -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
