mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
aa314c87c5
We generate a "version string" that is reported by various tools. This patch changes this version string to use the characters specified for the version string in the Boot Loader Specification. We start using the special characters we have in the spec for this exact purpose and thus fix version comparisons. We also stop using '+' which is not part of the allowed charset and is used for boot attempt counting and should not be part of the version string. The version string is (among other places) used in sd-boot and the comparison result is used by 'bootctl update' to decide whether to install a new binary. Before, because 'nn-rc1' compares higher than 'nn', we would refuse to upgrade pre-release versions. The boot loader is the primary motivation. I'm not aware of programatic version comparisons in other places, but it makes sense to use the same versions string everywhere. (This patch effectively only matters for non-distro builds, because distro builds presumably use -Dversion-tag to set something meaningful. Ideally, those version strings are compatible with our version strings, but this is outside of our control.) |
||
---|---|---|
.. | ||
chromiumos | ||
add-git-hook.sh | ||
analyze-dump-sort.py | ||
catalog-report.py | ||
check-api-docs.sh | ||
check-directives.sh | ||
check-help.sh | ||
check-includes.pl | ||
check-version.sh | ||
coverity.sh | ||
dbus_exporter.py | ||
debug-sd-boot.sh | ||
find-build-dir.sh | ||
find-double-newline.sh | ||
find-tabs.sh | ||
gdb-sd_dump_hashmaps.py | ||
generate-gperfs.py | ||
git-contrib.sh | ||
list-discoverable-partitions.py | ||
make-autosuspend-rules.py | ||
make-directive-index.py | ||
make-man-index.py | ||
meson-build.sh | ||
meson-make-symlink.sh | ||
meson-render-jinja2.py | ||
meson-vcs-tag.sh | ||
oss-fuzz.sh | ||
update-dbus-docs.py | ||
update-hwdb-autosuspend.sh | ||
update-hwdb.sh | ||
update-man-rules.py | ||
update-syscall-tables.sh | ||
xml_helper.py |