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

epm play virtualbox: implement kernel module install via epm install kernel-module-*

parent 6373ec1b
......@@ -17,20 +17,10 @@ epm install $PKGNAME || exit
# $SUDO usermod -a -G vboxusers $USER
#fi
[ "$vendor" != "alt" ] && exit
#[ "$vendor" != "alt" ] && exit
get_kernel_vlavour()
{
rrel=$(uname -r)
rflv=${rrel#*-}
rflv=${rflv%-*}
echo "$rflv"
}
flavour=$(get_kernel_vlavour)
epm update-kernel || exit
epm install kernel-modules-virtualbox-$flavour
epm install kernel-module-virtualbox || exit
echo
echo "Note:Add needed users to vboxusers group via # usermod -a -G vboxusers <user>"
echo "If the kernel just updated, you need reboot the system before VirtualBox using."
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