[Buildroot] [RFC PATCH v2 1/2] makedevs: only warn on xattr when not enabled

Petr Vorel petr.vorel at gmail.com
Tue Jul 30 20:00:05 UTC 2019


Hi Yann,

...
> It would be nice if the message was displayed only the first time an
> xattr line is encountered, something like:

>     if (!xattr_warned) {
>         bb_error_msg(...);
>         xattr_warned = 1;
>     }
OK, I'll send another version. I'll probably don't print the line content
as it's why to print only 1st of N discharged lines? Or (maybe better) I'll
count them and print warning with count of discharged lines at the end.
It will be also more visible when it's at the end.

Kind regards,
Petr


More information about the buildroot mailing list