Commit 4ffe1104 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm install kernel-module*: skip install if there is no any kernel

parent 1746cd89
...@@ -145,6 +145,9 @@ epm_install_alt_kernel_module() ...@@ -145,6 +145,9 @@ epm_install_alt_kernel_module()
docmd epm update-kernel -t $kf || exit docmd epm update-kernel -t $kf || exit
done done
# skip install modules if there are no installed kernels (may be, a container)
epm installed "kernel-image-$kf" || return 0
# secondly, install module(s) # secondly, install module(s)
epm_install_names $kmplist epm_install_names $kmplist
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment