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:
parent
bf37f6f5c6
commit
af2fcf925a
|
@ -0,0 +1,4 @@
|
|||
Section "Device"
|
||||
Identifier "modesetting"
|
||||
Driver "modesetting"
|
||||
EndSection
|
|
@ -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/*
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue