diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2025-03-11 22:01:33 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-03-22 17:50:58 +0300 |
commit | 7e752910b8acd1527af34b51851998feb33cc028 (patch) | |
tree | c29d85018bbe88ee222367a0e8a712fa259796fa /tools/perf/scripts/python/sched-migration.py | |
parent | 82e7a5997170f105dc5452f83f349e6e625e61f5 (diff) | |
download | linux-7e752910b8acd1527af34b51851998feb33cc028.tar.xz |
kbuild: deb-pkg: fix versioning for -rc releases
The version number with -rc should be considered older than the final
release.
For example, 6.14-rc1 should be older than 6.14, but to handle this
correctly (just like Debian kernel), "-rc" must be replace with "~rc".
$ dpkg --compare-versions 6.14-rc1 lt 6.14
$ echo $?
1
$ dpkg --compare-versions 6.14~rc1 lt 6.14
$ echo $?
0
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions