aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2025-03-12 04:01:33 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2025-03-22 23:50:58 +0900
commit7e752910b8acd1527af34b51851998feb33cc028 (patch)
treec29d85018bbe88ee222367a0e8a712fa259796fa /scripts/lib/kdoc/kdoc_output.py
parentDocumentation/kbuild: Fix indentation in modules.rst example (diff)
downloadlinux-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