openwrt/package/base-files/files
Shiji Yang 42ca1612a2
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>
(cherry picked from commit a0fe3cfb62)
Link: https://github.com/openwrt/openwrt/pull/20739
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-12 00:08:14 +01:00
..
bin base-files: increase default system log size to 128 kB 2024-10-19 14:14:00 +02:00
etc procd: do not overwrite service data by default 2024-12-17 22:00:37 +01:00
lib base-files: introduce a function to get kernel version number 2025-11-12 00:08:14 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sysupgrade: Add new option -s to perform upgrade on current partition 2025-10-16 11:47:19 +02:00
usr base-files: add SOURCE_DATE_EPOCH as OPENWRT_BUILD_DATE to os-release 2024-10-20 23:30:27 +02:00