From: Yann E. MORIN Date: Sun, 14 Oct 2018 12:25:45 +0000 (+0200) Subject: docs/manual: document location of hash files for multi-versions packages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e293a63868741428f0d324f7f0117791d7eaefb;p=buildroot.git docs/manual: document location of hash files for multi-versions packages Signed-off-by: "Yann E. MORIN" Cc: Thomas De Schampheleire Cc: Thomas Petazzoni Cc: Arnout Vandecappelle Cc: Luca Ceresoli Cc: Baruch Siach Reviewed-by: Luca Ceresoli Signed-off-by: Thomas Petazzoni --- diff --git a/docs/manual/adding-packages-directory.txt b/docs/manual/adding-packages-directory.txt index 9f85ac63e6..e6201bb86b 100644 --- a/docs/manual/adding-packages-directory.txt +++ b/docs/manual/adding-packages-directory.txt @@ -446,6 +446,13 @@ contains the hashes of the downloaded files for the +libfoo+ package. The only reason for not adding a +.hash+ file is when hash checking is not possible due to how the package is downloaded. +When a package has a version selection choice, then the hash file may be +stored in a subdirectory named after the version, e.g. ++package/libfoo/1.2.3/libfoo.hash+. This is especially important if the +different versions have different licensing terms, but they are stored +in the same file. Otherwise, the hash file should stay in the package's +directory. + The hashes stored in that file are used to validate the integrity of the downloaded files and of the license files.