summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-04-29 20:43:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-01 14:22:53 +0100
commitbaec6b7904b10b9b349ce00d2187144cc8650642 (patch)
tree1cdbbcf2a0e58dd8f3e041c536881ff65300859e
parent0cb7199a8d5b55b624e3862cfbc639ec400ddfc7 (diff)
downloadpoky-baec6b7904b10b9b349ce00d2187144cc8650642.tar.gz
autoconf: set PKGV to avoid version-goes-backwards
I previously upgrade autoconf 2.72e (the fifth release candidate) to the final release 2.72, but unfortunately failed to notice that the version appears to go backwards as the package managers sort 2.72e _after_ 2.72. We could resolve this with an epoch (via PE) but epochs are forever and this mistake is temporary. We could set a convoluted PV but that gets messy as it then means SRC_URI needs to set manually. Instead, set a convoluted PKGV to fix the sorting order in a way that only alters the output packages and nothing else, which can be removed when the next major release is made. [1] oe-core 11ff8dba0ce ("autoconf: upgrade to final 2.72 release") (From OE-Core rev: 58b185b25dff627eecc980919dd44dcce32fbca2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.72.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72.bb b/meta/recipes-devtools/autoconf/autoconf_2.72.bb
index f2d2781fec..b599f270c7 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.72.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.72.bb
@@ -24,6 +24,10 @@ SRC_URI:append:class-native = " file://no-man.patch"
24 24
25SRC_URI[sha256sum] = "afb181a76e1ee72832f6581c0eddf8df032b83e2e0239ef79ebedc4467d92d6e" 25SRC_URI[sha256sum] = "afb181a76e1ee72832f6581c0eddf8df032b83e2e0239ef79ebedc4467d92d6e"
26 26
27# Remove this when upgrading past 2.72, as package managers sort 2.72e (the
28# fifth release candidate) after 2.72.
29PKGV = "2.72e+really${PV}"
30
27RDEPENDS:${PN} = "m4 gnu-config \ 31RDEPENDS:${PN} = "m4 gnu-config \
28 perl \ 32 perl \
29 perl-module-bytes \ 33 perl-module-bytes \