ALT Linux Bugzilla
– Attachment 7997 Details for
Bug 36035
После обновления на дату 03/02/2019 не стартует xorg в VirtualBox/Windows
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
0001-Fix-preloading-custom-libGL.so.1-and-libEGL.so.1-ALT.patch
0001-Fix-preloading-custom-libGL.so.1-and-libEGL.so.1-ALT.patch (text/plain), 1.82 KB, created by
mikhailnov
on 2019-02-07 11:26:54 MSK
(
hide
)
Description:
0001-Fix-preloading-custom-libGL.so.1-and-libEGL.so.1-ALT.patch
Filename:
MIME Type:
Creator:
mikhailnov
Created:
2019-02-07 11:26:54 MSK
Size:
1.82 KB
patch
obsolete
>From a28169b7294abb3f844f4b703f0779a53a1aaf10 Mon Sep 17 00:00:00 2001 >From: Mikhail Novosyolov <mikhailnov@dumalogiya.ru> >Date: Thu, 7 Feb 2019 00:18:27 +0300 >Subject: [PATCH] Fix preloading custom libGL.so.1 and libEGL.so.1 (ALT#36035) > >--- > virtualbox.spec | 30 ++++++++++++++++++++++-------- > 1 file changed, 22 insertions(+), 8 deletions(-) > >diff --git a/virtualbox.spec b/virtualbox.spec >index 6a71670f5..28654c90f 100644 >--- a/virtualbox.spec >+++ b/virtualbox.spec >@@ -60,7 +60,7 @@ > > Name: virtualbox > Version: 5.2.24 >-Release: alt3 >+Release: alt4 > > Summary: VM VirtualBox OSE - Virtual Machine for x86 hardware > License: GPL >@@ -565,13 +565,22 @@ cd additions >/dev/null > > install -d %buildroot%xdrv_pre_d > cat >%buildroot%xdrv_pre_d/virtualbox <<EOF >-#!/bin/bash >- >-if test -f /proc/bus/pci/devices && grep -q 80eebeef /proc/bus/pci/devices; then >- mkdir -p %ld_so_confdir >- echo %vboxadddir > %ld_so_conf >-else >- rm -f %ld_so_conf >+#!/bin/sh >+ >+if [ -f /proc/bus/pci/devices ] && \ >+ [ -x %_bindir/VBoxClient ] && \ >+ VBoxClient --check3d && \ >+ grep -q 80eebeef /proc/bus/pci/devices; >+ then >+ mkdir -p %ld_so_confdir >+ echo %vboxadddir > %ld_so_conf >+ ldconfig >+ else >+ if [ -f %ld_so_conf ]; then >+ rm -f %ld_so_conf >+ # update /etc/ld.so.cache >+ ldconfig >+ fi > fi > EOF > >@@ -805,6 +814,11 @@ mountpoint -q /dev || { > %vboxdir/sdk/bindings/xpcom/include/VBox/com > > %changelog >+* Thu Feb 07 2019 Mikhail Novosyolov <mikhailnov@altlinux.org> 5.2.24-alt4 >+- Propperly check if 3D acceleration is supported before preloading >+ VirtualBox's libGL.so.1 and libEGL.so.1 and update ldconfig cache >+ after changes to /etc/ld.so.conf.d/*.conf (Closes: 36035) >+ > * Fri Jan 25 2019 Evgeny Sinelnikov <sin@altlinux.org> 5.2.24-alt3 > - Fix rEFInd 0.11.4 icons missing due to inaccessible files on ISO9660 partition (Closes: 34435) > >-- >2.19.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36035
:
7987
|
7992
|
7993
|
7994
|
7995
| 7997