mirror of https://github.com/dynup/kpatch
Show just modules (*.ko) in kpatch list:
load --all working just for .ko: for i in "$INSTALLDIR/$(uname -r)"/*.ko; do USUALLY, all modules have .ko extension /var/lib/kpatch can have not only modules, in my case (Yes it just my case) I have list with patches included in module.
This commit is contained in:
parent
e73b2756b8
commit
0240e809b5
|
@ -533,7 +533,7 @@ case "$1" in
|
|||
echo "Installed patch modules:"
|
||||
for kdir in "$INSTALLDIR"/*; do
|
||||
[[ -e "$kdir" ]] || continue
|
||||
for module in "$kdir"/*; do
|
||||
for module in "$kdir"/*.ko; do
|
||||
[[ -e "$module" ]] || continue
|
||||
mod_name "$module"
|
||||
echo "$MODNAME ($(basename "$kdir"))"
|
||||
|
|
Loading…
Reference in New Issue