Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
4eff3a32
Commit
4eff3a32
authored
May 07, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play virtualbox: implement kernel module install via epm install kernel-module-*
parent
6373ec1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
virtualbox.sh
play.d/virtualbox.sh
+3
-13
No files found.
play.d/virtualbox.sh
View file @
4eff3a32
...
...
@@ -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."
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment