summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpjday@crashcourse.ca <rpjday@crashcourse.ca>2020-04-03 12:33:17 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-06 15:53:24 (GMT)
commit9a5aa31870ff1b35d19d9e17b57fc40acf4686cb (patch)
tree4065f9f2328a1237fcc6dc2686e7520652e9735c
parent43ad3f54eabc5a7c5086a2a551224cb817c167b8 (diff)
downloadpoky-9a5aa31870ff1b35d19d9e17b57fc40acf4686cb.tar.gz
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>
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index deeb358..2b8868b 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -2019,16 +2019,17 @@
2019 For these cases, you provide a name for each URL as part of 2019 For these cases, you provide a name for each URL as part of
2020 the <filename>SRC_URI</filename> and then reference that name 2020 the <filename>SRC_URI</filename> and then reference that name
2021 in the subsequent checksum statements. 2021 in the subsequent checksum statements.
2022 Here is an example: 2022 Here is an example combining lines from the files
2023 <filename>git.inc</filename> and
2024 <filename>git_2.24.1.bb</filename>:
2023 <literallayout class='monospaced'> 2025 <literallayout class='monospaced'>
2024 SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \ 2026 SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
2025 ${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.diff.gz;name=patch" 2027 ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages"
2026
2027 SRC_URI[tarball.md5sum] = "b1e6309e8331e0f4e6efd311c2d97fa8"
2028 SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5c75a2dbb52332d"
2029 2028
2030 SRC_URI[patch.md5sum] = "57e1b689264ea80f78353519eece0c92" 2029 SRC_URI[tarball.md5sum] = "166bde96adbbc11c8843d4f8f4f9811b"
2031 SRC_URI[patch.sha256sum] = "7905ff96be93d725544d0040e425c42f9c05580db3c272f11cff75b9aa89d430" 2030 SRC_URI[tarball.sha256sum] = "ad5334956301c86841eb1e5b1bb20884a6bad89a10a6762c958220c7cf64da02"
2031 SRC_URI[manpages.md5sum] = "31c2272a8979022497ba3d4202df145d"
2032 SRC_URI[manpages.sha256sum] = "9a7ae3a093bea39770eb96ca3e5b40bff7af0b9f6123f089d7821d0e5b8e1230"
2032 </literallayout> 2033 </literallayout>
2033 </para> 2034 </para>
2034 2035