mklive: force modesetting on musl for now.

intel and radeon drivers are currently broken with musl (segmentation fault
in OsLookupColor()).
This commit is contained in:
Juan RP 2015-05-24 08:35:56 +02:00
parent bf37f6f5c6
commit af2fcf925a
2 changed files with 9 additions and 0 deletions

View File

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

View File

@ -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/*
}