utils/add-custom-hashes: add script to manage global patch dir hashes
commit: https://git.buildroot.net/buildroot/commit/?id=4984d0f230d0962270beb195966603f1d5a56300
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Add a script to manage the .hash files in the BR2_GLOBAL_PATCH_DIR for packages using custom versions.
To use it, run in a configured Buildroot directory, E.G.
make foo_defconfig; ./utils/add-custom-hashes
We support multiple patch directories in BR2_GLOBAL_PATCH_DIR. If multiple directories are specified then use the last one as that is likely to be the most specific one.
Signed-off-by Peter Korsgaard <[email protected]>
[Peter: silence command -v invocation]
Signed-off-by Peter Korsgaard <[email protected]>
--- docs/manual/customize-patches.adoc | 2 + utils/add-custom-hashes | 103 +++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+)
docs/manual/customize-patches.adoc +2 -0
@@ -79,3 +79,5 @@ the first file to exist is used to check a package download: * +<global-patch-dir>/<packagename>/<packageversion>/<packagename>.hash+ * +<global-patch-dir>/<packagename>/<packagename>.hash+ + +The +utils/add-custom-hashes+ script can be used to generate these files.
utils/add-custom-hashes new file +103 -0
103 lines not on this page · raw message
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot