about summary refs log tree commit diff
path: root/mklive.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2015-05-24 08:35:56 +0200
committerJuan RP <xtraeme@voidlinux.eu>2015-05-24 08:35:56 +0200
commitaf2fcf925a0ddd0f43cc6ede164369117cacd928 (patch)
treef9887f3e7799f4030daa9e410afa5cbd2739036f /mklive.sh.in
parentbf37f6f5c61374ea3612fdae8681d9612f82cae4 (diff)
downloadhrmpf-af2fcf925a0ddd0f43cc6ede164369117cacd928.tar.gz
hrmpf-af2fcf925a0ddd0f43cc6ede164369117cacd928.tar.xz
hrmpf-af2fcf925a0ddd0f43cc6ede164369117cacd928.zip
mklive: force modesetting on musl for now.
intel and radeon drivers are currently broken with musl (segmentation fault
in OsLookupColor()).
Diffstat (limited to 'mklive.sh.in')
-rw-r--r--mklive.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/mklive.sh.in b/mklive.sh.in
index 9523c0c..ca39200 100644
--- a/mklive.sh.in
+++ b/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/*
 }