docs/manual: fix patch naming convention
PATCH 1/1 docs/manual: fix patch naming convention
Otherwise conflicts with the naming convention from previous section.
---
Hi all,
While creating a patch for the gst1-imx package I wasn't sure what was the latest naming convention. Looking at the documentation, it said in section 18.1.2. that it should be:
<number>-<description>.patch
whereas section 18.2. still recommends:
<packagename>-<number>-<description>.patch
Looking at the patches it is clear section 18.2 was outdated.
Also, should we insist on the fact that the series file is deprecated in section 18.2.?
Regards,
Gary
--- docs/manual/patch-policy.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
docs/manual/patch-policy.txt +4 -4
@@ -73,12 +73,12 @@ details. * If a +series+ file exists in the package directory, then patches are applied according to the +series+ file; + -* Otherwise, patch files matching +<packagename>-*.patch+ - are applied in alphabetical order. +* Otherwise, patch files matching +*.patch+ are applied in alphabetical + order. So, to ensure they are applied in the right order, it is highly recommended to name the patch files like this: - +<packagename>-<number>-<description>.patch+, where +<number>+ - refers to the 'apply order'. + +<number>-<description>.patch+, where +<number>+ refers to the + 'apply order'. . If +BR2_GLOBAL_PATCH_DIR+ is defined, the directories will be enumerated in the order they are specified. The patches are applied
Signature · 1 line
2.8.1
PATCH 1/1 docs/manual: fix patch naming convention
Hello,
Quoted 6 lines · Gary Bisson
Otherwise conflicts with the naming convention from previous section.
Signed-off-by Gary Bisson <[email protected]>---
Hi all,
Quoted 8 lines
While creating a patch for the gst1-imx package I wasn't sure what was the latest naming convention. Looking at the documentation, it said in section 18.1.2. that it should be:
<number>-<description>.patch
whereas section 18.2. still recommends:
<packagename>-<number>-<description>.patchLooking at the patches it is clear section 18.2 was outdated.
Indeed.
Quoted 2 lines
Also, should we insist on the fact that the series file is deprecated in section 18.2.?
No, I think that 18.2 explains how we are applying the patches, not what is the recommended best practice. Since we still support reading a series file, I would keep that information.
Other than that: patch applied to master. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com