فهرست منبع

mklive: force modesetting on musl for now.

intel and radeon drivers are currently broken with musl (segmentation fault
in OsLookupColor()).
Juan RP 10 سال پیش
والد
کامیت
af2fcf925a
2فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 4 0
      data/xorg-modesetting.conf
  2. 5 0
      mklive.sh.in

+ 4 - 0
data/xorg-modesetting.conf

@@ -0,0 +1,4 @@
+Section "Device"
+	Identifier "modesetting"
+	Driver "modesetting"
+EndSection

+ 5 - 0
mklive.sh.in

@@ -115,6 +115,11 @@ install_packages() {
     else
         install -Dm755 /usr/sbin/void-installer $ROOTFS/usr/sbin/void-installer
     fi
+    case "$BASE_ARCH" in
+        *-musl) # XXX force modesetting with musl for now.
+            install -Dm644 data/xorg-modesetting.conf $ROOTFS/usr/share/X11/xorg.conf.d/99-modesetting.conf
+            ;;
+    esac
     # Cleanup and remove useless stuff.
     rm -rf $ROOTFS/var/cache/* $ROOTFS/run/* $ROOTFS/var/run/*
 }