[Buildroot] [2018.02.x 1/2] makedevs: allow leading whitespace for capabilities

Ricardo Martincoski ricardo.martincoski at gmail.com
Fri Aug 10 02:18:33 UTC 2018


Hello,

On Thu, Aug 09, 2018 at 06:42 PM, Thomas Petazzoni wrote:

> On Mon,  6 Aug 2018 00:17:14 -0300, Ricardo Martincoski wrote:
>> Currently makedevs silently ignores extended attributes with leading
>> whitespace, for example those added to a <PACKAGE>_PERMISSIONS following
>> the recommended style from check-package.
>> 
>> Makedevs already ignores leading whitespace for normal entries (file
>> permission changes and device files creation). Do the same for extended
>> attributes.
>> 
>> Fixes: #11191.
>> 
>> Reported-by: Jean-pierre Cartal <jpcartal at free.fr>
>> Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
>> Cc: Arnout Vandecappelle <arnout at mind.be>
>> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> 
> It is not clear to me why you have the "2018.02.x" prefix in your patch
> title. I would assume this patch is needed in master, not just in
> 2018.02.x. We generally include 2018.02.x in the patch title when
> the patch should only be applied to 2018.02.x. For patches going in
> master, and needing a backport, we normally rely on Peter being smart
> and realizing that the patch is a fix that makes sense for 2018.02.x.
> 
> Could you clarify what was your intention with this 2018.02.x prefix ?

I developed and runtime tested the patch for 2018.02.x.
But now I tested the patch (by temporarily adding a printf to makedevs) in the
master branch too. It works well.

This patch can/should be applied to master.

In the branch 2018.02.x this patch unbreaks xattr with leading whitespace.
In the master branch (and also 2018.05.x), which use a per-fs target dir, there
are other issues with xattr, this patch is only part of the solution to unbreak
xattrs, see #11216.

> 
> Perhaps we need to have some tags ?
> 
> Backport-to: 2018.02.x
> 
> when the patch is for master, but needs to be backported. And perhaps:
> 
> Apply-to: 2018.02.x
> 
> when the patch is to be applied only on 2018.02.x.
> 
> Or simply rely on informal notes below the "---" sign ?

Sorry, I should have added such informal notes.

Regards,
Ricardo


More information about the buildroot mailing list