diff options
author | 2025-03-12 04:01:33 +0900 | |
---|---|---|
committer | 2025-03-22 23:50:58 +0900 | |
commit | 7e752910b8acd1527af34b51851998feb33cc028 (patch) | |
tree | c29d85018bbe88ee222367a0e8a712fa259796fa /scripts/lib/kdoc/kdoc_output.py | |
parent | Documentation/kbuild: Fix indentation in modules.rst example (diff) | |
download | linux-rng-7e752910b8acd1527af34b51851998feb33cc028.tar.xz linux-rng-7e752910b8acd1527af34b51851998feb33cc028.zip |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions