summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2018-10-14 14:25:45 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-20 20:04:06 +0200
commit8e293a63868741428f0d324f7f0117791d7eaefb (patch)
treee92824a71cfcf742c2629d344f42dfe1aa991fef /docs/manual
parent56023b1ced8254e4705708d69b2d9f3cb8e94371 (diff)
downloadbuildroot-8e293a63868741428f0d324f7f0117791d7eaefb.tar.gz
buildroot-8e293a63868741428f0d324f7f0117791d7eaefb.zip
docs/manual: document location of hash files for multi-versions packages
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Luca Ceresoli <luca@lucaceresoli.net> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/adding-packages-directory.txt7
1 files changed, 7 insertions, 0 deletions
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.
OpenPOWER on IntegriCloud