difos/package/base-files/files/lib
Shiji Yang a0fe3cfb62 base-files: introduce a function to get kernel version number
A new function "get_linux_version()" to normalize and print the
kernel version as an integer. In some migration scripts, it is
useful for checking the Linux kernel version.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-14 22:30:20 +02:00
..
functions base-files: introduce a function to get kernel version number 2025-07-14 22:30:20 +02:00
preinit base-files: add ucidef_set_network_device_path_port function 2024-10-19 19:10:56 +02:00
upgrade base-files: add dtb support to emmc_upgrade_tar() 2025-06-22 22:17:20 +02:00
functions.sh base-files: handle packages alternatives when apk removes packages 2025-06-23 09:39:12 +02:00