diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2023-12-06 21:55:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-08 16:58:34 +0000 |
commit | dd2fb8f00acedf758f51a5afa7f04e5bc24ad15f (patch) | |
tree | 075f8da4aa59841b9d732f8feb22d287cb0fb714 /meta-selftest/recipes-test/devtool | |
parent | 45d2f8d4bc2ca7c16379334a93ea172a538a6bb2 (diff) | |
download | poky-dd2fb8f00acedf758f51a5afa7f04e5bc24ad15f.tar.gz |
devtool: upgrade: Update all existing checksums for the SRC_URI
In addition to updating the sha256sum and removing the md5sum, update
all other existing checksums. If the only existing checksum is md5sum,
then replace it with the default expected checksums (currently only
sha256sum).
(From OE-Core rev: 8ea8827ee49b7f0443b1c4bd47d1344a689d73a3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/devtool')
4 files changed, 72 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb new file mode 100644 index 0000000000..69c0d351ec --- /dev/null +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Pipe viewer test recipe for devtool upgrade test" | ||
2 | LICENSE = "Artistic-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02" | ||
4 | |||
5 | SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz" | ||
6 | UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml" | ||
7 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | ||
8 | |||
9 | SRC_URI[md5sum] = "9365d86bd884222b4bf1039b5a9ed1bd" | ||
10 | |||
11 | S = "${WORKDIR}/pv-${PV}" | ||
12 | |||
13 | EXCLUDE_FROM_WORLD = "1" | ||
14 | |||
15 | inherit autotools | ||
16 | |||
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded new file mode 100644 index 0000000000..3ce7e85e10 --- /dev/null +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Pipe viewer test recipe for devtool upgrade test" | ||
2 | LICENSE = "Artistic-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02" | ||
4 | |||
5 | SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3" | ||
6 | SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz" | ||
7 | UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml" | ||
8 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | ||
9 | |||
10 | S = "${WORKDIR}/pv-${PV}" | ||
11 | |||
12 | EXCLUDE_FROM_WORLD = "1" | ||
13 | |||
14 | inherit autotools | ||
15 | |||
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb new file mode 100644 index 0000000000..9abf80e6ed --- /dev/null +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Pipe viewer test recipe for devtool upgrade test" | ||
2 | LICENSE = "Artistic-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02" | ||
4 | |||
5 | SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz" | ||
6 | UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml" | ||
7 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | ||
8 | |||
9 | SRC_URI[md5sum] = "9365d86bd884222b4bf1039b5a9ed1bd" | ||
10 | SRC_URI[sha1sum] = "63a0801350e812541c7f8e9ad74e0d6b629d0b39" | ||
11 | SRC_URI[sha256sum] = "681bcca9784bf3cb2207e68236d1f68e2aa7b80f999b5750dc77dcd756e81fbc" | ||
12 | SRC_URI[sha384sum] = "5fff6390465ff23dbf573fcf39dfad3aed2f92074a35e6c02abe58b7678858d90fa6572ff4cb56df8b3e217c739cdbe3" | ||
13 | SRC_URI[sha512sum] = "32efe7071a363f547afc74e96774f711795edda1d2702823a347d0f9953e859b7d8c45b3e63e18ffb9e0d5ed5910be652d7d727c8676e81b6cb3aed0b13aec00" | ||
14 | |||
15 | PR = "r5" | ||
16 | |||
17 | S = "${WORKDIR}/pv-${PV}" | ||
18 | |||
19 | EXCLUDE_FROM_WORLD = "1" | ||
20 | |||
21 | inherit autotools | ||
22 | |||
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded new file mode 100644 index 0000000000..cd2a0842f4 --- /dev/null +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Pipe viewer test recipe for devtool upgrade test" | ||
2 | LICENSE = "Artistic-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02" | ||
4 | |||
5 | SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz" | ||
6 | UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml" | ||
7 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | ||
8 | |||
9 | SRC_URI[sha1sum] = "395ce62f4f3e035b86c77038f04b96c5aa233595" | ||
10 | SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3" | ||
11 | SRC_URI[sha384sum] = "218c8d2d097aeba5310be759bc20573f18ffa0b11701eac6dd2e7e14ddf13c6e0e094ca7ca026eaa05ef92a056402e36" | ||
12 | SRC_URI[sha512sum] = "1cf9d7376fceefcd594d0a8b591afc8e11ce89f7210d10ad74438974ecebe9cc5d9ec4db9cc79e0566bfd2b0278c0cc263c07547803e7536432cd1ffd32d8a45" | ||
13 | |||
14 | S = "${WORKDIR}/pv-${PV}" | ||
15 | |||
16 | EXCLUDE_FROM_WORLD = "1" | ||
17 | |||
18 | inherit autotools | ||
19 | |||