Skip to contentSkip to conversation

docs: clarify <packagename>_PATCH behaviour

PATCH New Alexander Mukhin 3 participants 3 messages Sep 14, 2017 – Oct 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: clarify <packagename>_PATCH behaviour

Reiterate once more that <packagename>_PATCH variable can point to an arbitrary URL, not just to a path relative to <packagename>_SITE.

---
 docs/manual/patch-policy.txt | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
docs/manual/patch-policy.txt +5 -3
index e1df8b003..5e2e5fc4b 100644
@@ -19,9 +19,11 @@ global patch directory.
 ==== Downloaded
 
 If it is necessary to apply a patch that is available for download, then add it
-to the +<packagename>_PATCH+ variable. It is downloaded from the same site
-as the package itself. It can be a single patch, or a tarball containing a
-patch series.
+to the +<packagename>_PATCH+ variable. If an entry contains +://+,
+then Buildroot will assume it is a full URL and download the patch
+from this location. Otherwise, Buildroot will assume that the patch should be
+downloaded from +<packagename>_SITE+. It can be a single patch,
+or a tarball containing a patch series.
 
 This method is typically used for packages from Debian.
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 docs: clarify <packagename>_PATCH behaviour

Quoted 4 lines · Alexander Mukhin

Reiterate once more that <packagename>_PATCH variable can point to an arbitrary URL, not just to a path relative to <packagename>_SITE.

Applied to master, thanks. I also added a sentence to say that the patch should
be added to the hash file.

Regards,
Arnout

Quoted 24 lines
---
 docs/manual/patch-policy.txt | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
docs/manual/patch-policy.txt +5 -3
index e1df8b003..5e2e5fc4b 100644
@@ -19,9 +19,11 @@ global patch directory.
 ==== Downloaded
 
 If it is necessary to apply a patch that is available for download, then add it
-to the +<packagename>_PATCH+ variable. It is downloaded from the same site
-as the package itself. It can be a single patch, or a tarball containing a
-patch series.
+to the +<packagename>_PATCH+ variable. If an entry contains +://+,
+then Buildroot will assume it is a full URL and download the patch
+from this location. Otherwise, Buildroot will assume that the patch should be
+downloaded from +<packagename>_SITE+. It can be a single patch,
+or a tarball containing a patch series.
 
 This method is typically used for packages from Debian.
 
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH 1/1 docs: clarify <packagename>_PATCH behaviour

In reply to Alexander Mukhin
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alexander" == Alexander Mukhin <[email protected]> writes:

Reiterate once more that <packagename>_PATCH variable can point to an arbitrary URL, not just to a path relative to <packagename>_SITE.

Committed to 2017.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard