os-util: allow matching versioned image with extension-release file
authorLuca Boccassi <bluca@debian.org>
Wed, 21 Feb 2024 19:31:14 +0000 (19:31 +0000)
committerLuca Boccassi <bluca@debian.org>
Thu, 28 Mar 2024 14:20:20 +0000 (14:20 +0000)
commit37543971aff79f3a37646ffc2bb5845c9394797b
treea22d51c100992cde76af203ca1fabeb7240b200e
parente4c7dc94186e3f0e03b933cbcfe0305fc74c1fbd
os-util: allow matching versioned image with extension-release file

Currently app_1.0.raw is refused if it contains extension-release.d/extension-release.app,
which stops one from using versioned images without using the force flag to disable
the check. Relax it so that only the actual name, and not the version, is compared, like
it already happens in other places.
src/basic/os-util.c
src/basic/os-util.h
src/portable/portable.c
test/units/testsuite-29.sh