Server IP : 192.168.23.10 / Your IP : 3.23.101.231 Web Server : Apache System : Linux echo.premieradvertising.com 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 7 14:54:22 EST 2023 x86_64 User : rrrallyteam ( 1049) PHP Version : 8.1.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /var/../lib/rpm/fileattrs/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
%__kmod_path ^/lib/modules/.*/(modules.builtin|.*\.ko|.*\.ko\.gz|.*\.ko\.bz2|.*\.ko\.xz|.*\.ko\.zst)$ %__kmod_provides() %{lua: function basename(fn) return string.gsub(fn, "(.*/)(.*)", "%2") end function strip_compress_sfx(fn) return string.gsub(fn, "(.*)(\.gz|\.bz2|\.xz|\.zst)?$", "%1") end function printdep(mod) print("kmod("..mod..") ") end local fn = rpm.expand("%{1}") local bn = basename(fn) if bn == "modules.builtin" then for l in io.lines(fn) do local builtin_mod = basename(l) printdep(builtin_mod) if strip_compress_sfx(builtin_mod) ~= builtin_mod then printdep(strip_compress_sfx(builtin_mod)) end end else local mod = string.match(bn, "%g+.ko") if mod then printdep(mod) if strip_compress_sfx(mod) ~= mod then printdep(strip_compress_sfx(mod)) end end end }