mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
dev-manual: use "git", not "apmd", to explain checksum names
The apmd recipe is no longer appropriate to demonstrate the use of SRC_URI checksum names as it has only a single SRC_URI URL, so pick a more illuminating recipe. (From yocto-docs rev: 7f391a0656442e7ee2f3dd48b848befb7f461aec) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
43ad3f54ea
commit
9a5aa31870
@@ -2019,16 +2019,17 @@
|
||||
For these cases, you provide a name for each URL as part of
|
||||
the <filename>SRC_URI</filename> and then reference that name
|
||||
in the subsequent checksum statements.
|
||||
Here is an example:
|
||||
Here is an example combining lines from the files
|
||||
<filename>git.inc</filename> and
|
||||
<filename>git_2.24.1.bb</filename>:
|
||||
<literallayout class='monospaced'>
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
|
||||
${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.diff.gz;name=patch"
|
||||
SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
|
||||
${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages"
|
||||
|
||||
SRC_URI[tarball.md5sum] = "b1e6309e8331e0f4e6efd311c2d97fa8"
|
||||
SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5c75a2dbb52332d"
|
||||
|
||||
SRC_URI[patch.md5sum] = "57e1b689264ea80f78353519eece0c92"
|
||||
SRC_URI[patch.sha256sum] = "7905ff96be93d725544d0040e425c42f9c05580db3c272f11cff75b9aa89d430"
|
||||
SRC_URI[tarball.md5sum] = "166bde96adbbc11c8843d4f8f4f9811b"
|
||||
SRC_URI[tarball.sha256sum] = "ad5334956301c86841eb1e5b1bb20884a6bad89a10a6762c958220c7cf64da02"
|
||||
SRC_URI[manpages.md5sum] = "31c2272a8979022497ba3d4202df145d"
|
||||
SRC_URI[manpages.sha256sum] = "9a7ae3a093bea39770eb96ca3e5b40bff7af0b9f6123f089d7821d0e5b8e1230"
|
||||
</literallayout>
|
||||
</para>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user