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:
4
data/xorg-modesetting.conf
Normal file
4
data/xorg-modesetting.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Section "Device"
|
||||||
|
Identifier "modesetting"
|
||||||
|
Driver "modesetting"
|
||||||
|
EndSection
|
@@ -115,6 +115,11 @@ install_packages() {
|
|||||||
else
|
else
|
||||||
install -Dm755 /usr/sbin/void-installer $ROOTFS/usr/sbin/void-installer
|
install -Dm755 /usr/sbin/void-installer $ROOTFS/usr/sbin/void-installer
|
||||||
fi
|
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.
|
# Cleanup and remove useless stuff.
|
||||||
rm -rf $ROOTFS/var/cache/* $ROOTFS/run/* $ROOTFS/var/run/*
|
rm -rf $ROOTFS/var/cache/* $ROOTFS/run/* $ROOTFS/var/run/*
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user