On 8/12/26 5:21 AM, Manuel Ebner wrote:
> lzma is required with HAVE_KERNEL_LZMA set to y
> lzop is required with CRYPTO_LZO set to y
> ip-route2 is mentioned in software-requirements below.
>
> add tools to
> software-requirements.rst
> ver_linux
>
> Signed-off-by: Manuel Ebner <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
> ---
> Documentation/process/software-requirements.rst | 4 ++++
> scripts/ver_linux | 4 ++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/Documentation/process/software-requirements.rst
> b/Documentation/process/software-requirements.rst
> index 69d31a3b5be3..5fdfcf6a0c01 100644
> --- a/Documentation/process/software-requirements.rst
> +++ b/Documentation/process/software-requirements.rst
> @@ -47,9 +47,12 @@ GNU make 4.0 make --version
> GNU tar 1.28 tar --version
> GRUB 0.93 grub --version || grub-install
> --version
> gtags (optional) 6.6.5 gtags --version
> +ip-route2 6.14.0 ip -V
> iptables 1.4.2 iptables -V
> jfsutils 1.1.3 fsck.jfs -V
> kmod 13 kmod -V
> +liblzma 5.8.1 lzma -V
> +lzop 1.04 lzop -V
> mcelog 0.6 mcelog --version
> mkimage (optional) 2017.01 mkimage --version
> nfs-utils 1.0.5 showmount --version
> @@ -66,6 +69,7 @@ squashfs-tools 4.0 mksquashfs -version
> udev 081 udevadm --version
> util-linux 2.10o mount --version
> xfsprogs 2.6.0 xfs_db -V
> +xz 5.8.1 xz -V
> ====================== ===============
> ========================================
>
> .. [#f1] Sphinx is needed only to build the Kernel documentation
> diff --git a/scripts/ver_linux b/scripts/ver_linux
> index 1d860c8a37f3..5e99a5699f1a 100755
> --- a/scripts/ver_linux
> +++ b/scripts/ver_linux
> @@ -37,16 +37,19 @@ BEGIN {
> printversion("GRUB", version("grub-install --version"))
> printversion("gtags", version("gtags --version"))
> printversion("iptables", version("iptables -V"))
> + printversion("ip-route2", version("ip -V"))
> printversion("Isdn4k-utils", version("isdnctrl"))
> printversion("jfsutils", version("fsck.jfs -V"))
> printversion("Kbd", version("loadkeys -V"))
> printversion("kmod", version("kmod -V"))
> + printversion("liblzma", version("lzma -V"))
>
> while ("ldconfig -p 2>/dev/null" | getline > 0)
> if ($NF ~ libc || $NF ~ libcpp)
> if (!seen[ver = version("readlink " $NF)]++)
> printversion("Linux C" ($NF ~ libcpp? "++" :
> "") " Library", ver)
>
> + printversion("lzop", version("lzop --version"))
> printversion("mcelog", version("mcelog --version"))
> printversion("mkimage", version("mkimage --version"))
> printversion("Module-init-tools", version("depmod -V"))
> @@ -69,6 +72,7 @@ BEGIN {
> printversion("util-linux", version("mount --version"))
> printversion("Wireless-tools", version("iwconfig --version"))
> printversion("xfsprogs", version("xfs_db -V"))
> + printversion("xz", version("xz -V"))
>
> while ("sort /proc/modules" | getline > 0) {
> mods = mods sep $1
--
~Randy