diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-08-05 08:38:02 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-12 13:50:30 +0100 |
commit | a20e75f45bcf156e472b7135b04e1f4f8fd70ce4 (patch) | |
tree | 9a9ce202f070cbf1f7fa8cac2784a47289c18924 /documentation/dev-manual | |
parent | e2e08444bca27cc8337c9acc07f4f99b0885bb9c (diff) | |
download | ast2050-yocto-poky-a20e75f45bcf156e472b7135b04e1f4f8fd70ce4.zip ast2050-yocto-poky-a20e75f45bcf156e472b7135b04e1f4f8fd70ce4.tar.gz |
dev-manual: Review edits to how to find checksum values.
Edits from Paul to better word this section.
(From yocto-docs rev: 51425ab506050ee5ba30d5c3c10639d5a1b8cc8e)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e5c1649..0218dc5 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -1797,10 +1797,10 @@ </para> <para> - Finding proper values for <filename>md5</filename> and - <filename>sha256</filename> checksums can involve some work. - Initially, you should locate any available signatures from - the upstream source (i.e. <filename>md5</filename>, + Proper values for <filename>md5</filename> and + <filename>sha256</filename> checksums might be available + with other signatures on the download page for the upstream + source (e.g. <filename>md5</filename>, <filename>sha1</filename>, <filename>sha256</filename>, <filename>GPG</filename>, and so forth). Because the OpenEmbedded build system only deals with @@ -1809,18 +1809,19 @@ </para> <para> - After you have verified as many signatures as you can, - you can use a "build-fail" method that retrieves the exact - <filename>sha256sum</filename> and <filename>md5sum</filename> - checksums you need. - To use the "build-fail" method, comment the - <filename>SRC_URI</filename> statements out that provide the - checksums and then attempt to build the software. - The build will produce an error for each missing checksum - and as part of the error message provide the correct checksum - string. - Once you have the correct checksums, simply copy them into your - recipe for a subsequent build. + If no <filename>SRC_URI</filename> checksums are specified + when you attempt to build the recipe, the build will produce + an error for each missing checksum. + As part of the error message, the build system provides + the checksum string corresponding to the fetched file. + Once you have the correct checksums, you can copy and paste + them into your recipe and then run the build again to continue. + <note> + As mentioned, if the upstream source provides signatures + for verifying the downloaded source code, you should + verify those manually before setting the checksum values + in the recipe and continuing with the build. + </note> </para> <para> |