From 4a226369b7bb37a971c77d4abc88df81033f56c5 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 1 Aug 2014 15:28:03 +0300 Subject: dev-manual: Updates for checksums and wic Accidentally put in a couple different things in this one commit. Oh well. 1. New wording for how the user needs to figure out some checksums for a recipe. 2. Fixed up some note placement in the wic reference section. (From yocto-docs rev: 6c13f49c265c99ddd6dcd4ec3c3c8e66b78824e0) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 47 +++++++++++++--------- 1 file changed, 29 insertions(+), 18 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 4174d94527..5f8da23611 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -1789,13 +1789,25 @@ - Ideally, you should locate these checksums from the upstream - website and use them in your recipe. - However, many websites do not provide the checksums. - If such is the case, you can use a "build-fail" method that - retrieves the exact strings you need. - To use the "build-fail" method, comment the statements out - and then attempt to build the software. + Finding proper values for md5 and + sha256 checksums can involve some work. + Initially, you should locate any available signatures from + the upstream source (i.e. md5, + sha1, sha256, + GPG, and so forth). + Because the OpenEmbedded build system only deals with + sha256sum and md5sum, + you should verify all the signatures you find by hand. + + + + After you have verified as many signatures as you can, + you can use a "build-fail" method that retrieves the exact + sha256sum and md5sum + checksums you need. + To use the "build-fail" method, comment the + SRC_URI 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. @@ -4206,18 +4218,9 @@ partition (or part for short) and bootloader. - - Bootloader functionality and boot partitions are - implemented by the various - ‐‐source - plugins that implement bootloader functionality. - The bootloader command essentially provides a means of - modifying bootloader configuration. - - Future updates will implement more commands and options. If you use anything that is not specifically - supported, results can be unpredictable. + supported, results can be unpredictable. @@ -4364,7 +4367,15 @@ This command specifies how the boot loader should be - and supports the following options: + configured and supports the following options: + + Bootloader functionality and boot partitions are + implemented by the various + ‐‐source + plugins that implement bootloader functionality. + The bootloader command essentially provides a means of + modifying bootloader configuration. + ‐‐timeout: Specifies the number of seconds before the -- cgit v1.2.3-54-g00ecf