mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-09 20:35:46 +01:00
Currently official build for guest additions will fail due to some unset/wrong set variables. This is an workaround for it - added KERN_VER variable which is set to current kernel version, so this ebuild cannot be run against new kernel version while executed on older/other kernel version.
17 lines
411 B
Desktop File
17 lines
411 B
Desktop File
[Unit]
|
|
Description=VirtualBox Guest Additions
|
|
ConditionVirtualization=oracle
|
|
Before=display-manager.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStartPre=/sbin/modprobe vboxguest
|
|
ExecStartPre=/sbin/modprobe vboxsf
|
|
ExecStart=/usr/sbin/vboxguest-service --foreground
|
|
ExecStopPost=/sbin/modprobe -r vboxsf
|
|
ExecStopPost=/sbin/modprobe -r vboxguest
|
|
PIDFile=/var/run/vboxguest-service.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|