Skip to content

Do not download auto-generated patches

Peter Korsgaard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 20 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 20 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 00/20] Do not download auto-generated patches
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,
Patch https://patchwork.ozlabs.org/patch/782927/ sent by Julien Boibessot made us realize that auto-generated patches such as the ones provided by Github are not guaranteed to be stable over time. Indeed, the "index" line of the patches contains short git hashes, and when new commits are made to the Git repository, additional commits are made, which can have short hashes conflicting with older ones, in which case git increase the length of the "short hashes" to avoid the conflict. This means the patch contents change, therefore its sha256 hash changes, and it breaks the download in Buildroot.

Since there is no solution to this problem, we simply decided that auto-generated patches should not be downloaded by Buildroot using <pkg>_PATCH, and should instead be stored in the tree.

Quoted 8 lines

This series:

1. Updates the documentation about the hash file.

2. Changes all packages that download Github.com patches. All packages that have a non-empty <pkg>_PATCH variable have been inspected, and only the ones downloading patches from Github are problematic.

Committed series, thanks.

Quoted 1 line

scrub: don't download patch from Github

Notice: Something (patchwork?) wrapped the very long line in this patch, so I had to fix it up manually.

Signature · 1 line
Bye, Peter Korsgaard