[Buildroot] [PATCH] package/plg-utils: escape \ in generated legal-info

Yann E. MORIN yann.morin.1998 at free.fr
Sun Feb 7 13:33:10 UTC 2021


Peter, All,

On 2021-02-07 13:18 +0100, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
>  > Peter, All,
>  > On 2021-02-07 10:35 +0100, Peter Korsgaard spake thusly:
>  >> >>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
>  >> Perhaps we should add a gitlab test to verify that we generate valid
>  >> json, E.G. by piping it to jq (or similar).
>  > Yeah, I'm working on it... But we can't do that in gitlab, because the
>  > output of show-info depends on the selected packages, so it would have
>  > to be done in the autobuilders.
> But that then requires jq on the autobuilder. Can't we just do a 'make
> allyespackageconfig' in gitlab?

So, allyespackageconfig is not buildable:

    package/luajit/luajit.mk:77: *** Configuration error: both "luajit" and
    "lua" are selected as providers for virtual package "luainterpreter".
    Only one provider can be selected at a time. Please fix your
    configuration.  Stop.

Solving this means reimplementing parts of the logic in the
autobuilders... So I still think it would be better to augment the
autobuilder script to run and validate show-info against a valid
configuration...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list