Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 692c4c8

Browse files
Additions: Linux: rcvboxadd: status-kernel: Do not check for vboxvideo if guest kernel <=3.10.x sinse it was not installed for such kernels, bugref:10359.
svn:sync-xref-src-repo-rev: r169296
1 parent 0528497 commit 692c4c8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎src/VBox/Additions/linux/installer/vboxadd.sh‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/sh
2-
# $Id: vboxadd.sh 109530 2025-05-14 11:57:45Z vadim.galitsyn@oracle.com $
2+
# $Id: vboxadd.sh 109930 2025-06-23 16:36:38Z vadim.galitsyn@oracle.com $
33
## @file
4-
# Linux Additions kernel module init script ($Revision: 109530 $)
4+
# Linux Additions kernel module init script ($Revision: 109930 $)
55
#
66

77
#
@@ -1050,7 +1050,14 @@ check_status_kernel()
10501050
# running VBoxVGA or VBoxSVGA graphics.
10511051
if [ $? -eq 0 ]; then
10521052
gpu_vendor=$(lspci | grep 'VGA compatible controller' | cut -d ' ' -f 5 2>/dev/null)
1053-
if [ "$gpu_vendor" = "InnoTek" ]; then
1053+
1054+
# vboxvideo is not installed for kernels 3.10.x and older.
1055+
have_vboxvideo=
1056+
if [ "$(printf '%s\n%s\n' "3.10" "$(uname -r)" | sort -Vr | head -1)" = "$(uname -r)" ]; then
1057+
have_vboxvideo="1"
1058+
fi
1059+
1060+
if [ -n "$have_vboxvideo" -a "$gpu_vendor" = "InnoTek" ]; then
10541061
check_running_module "vboxvideo"
10551062
else
10561063
# Do not spoil $?.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /