mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d283686dc3
commit
4a226369b7
@@ -1789,13 +1789,25 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Ideally, you should locate these checksums from the upstream
|
Finding proper values for <filename>md5</filename> and
|
||||||
website and use them in your recipe.
|
<filename>sha256</filename> checksums can involve some work.
|
||||||
However, many websites do not provide the checksums.
|
Initially, you should locate any available signatures from
|
||||||
If such is the case, you can use a "build-fail" method that
|
the upstream source (i.e. <filename>md5</filename>,
|
||||||
retrieves the exact strings you need.
|
<filename>sha1</filename>, <filename>sha256</filename>,
|
||||||
To use the "build-fail" method, comment the statements out
|
<filename>GPG</filename>, and so forth).
|
||||||
and then attempt to build the software.
|
Because the OpenEmbedded build system only deals with
|
||||||
|
<filename>sha256sum</filename> and <filename>md5sum</filename>,
|
||||||
|
you should verify all the signatures you find by hand.
|
||||||
|
</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
|
The build will produce an error for each missing checksum
|
||||||
and as part of the error message provide the correct checksum
|
and as part of the error message provide the correct checksum
|
||||||
string.
|
string.
|
||||||
@@ -4206,18 +4218,9 @@
|
|||||||
<filename>partition</filename> (or <filename>part</filename>
|
<filename>partition</filename> (or <filename>part</filename>
|
||||||
for short) and <filename>bootloader</filename>.
|
for short) and <filename>bootloader</filename>.
|
||||||
<note>
|
<note>
|
||||||
<para>
|
|
||||||
Bootloader functionality and boot partitions are
|
|
||||||
implemented by the various
|
|
||||||
<filename>‐‐source</filename>
|
|
||||||
plugins that implement bootloader functionality.
|
|
||||||
The bootloader command essentially provides a means of
|
|
||||||
modifying bootloader configuration.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Future updates will implement more commands and options.
|
Future updates will implement more commands and options.
|
||||||
If you use anything that is not specifically
|
If you use anything that is not specifically
|
||||||
supported, results can be unpredictable.</para>
|
supported, results can be unpredictable.
|
||||||
</note>
|
</note>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -4364,7 +4367,15 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
This command specifies how the boot loader should be
|
This command specifies how the boot loader should be
|
||||||
and supports the following options:
|
configured and supports the following options:
|
||||||
|
<note>
|
||||||
|
Bootloader functionality and boot partitions are
|
||||||
|
implemented by the various
|
||||||
|
<filename>‐‐source</filename>
|
||||||
|
plugins that implement bootloader functionality.
|
||||||
|
The bootloader command essentially provides a means of
|
||||||
|
modifying bootloader configuration.
|
||||||
|
</note>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><emphasis><filename>‐‐timeout</filename>:</emphasis>
|
<listitem><para><emphasis><filename>‐‐timeout</filename>:</emphasis>
|
||||||
Specifies the number of seconds before the
|
Specifies the number of seconds before the
|
||||||
|
|||||||
Reference in New Issue
Block a user