mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
xserver-xf86-config: Disable glamor for the modesetting driver on pi64
Fixes a xorg server crash with musl see details https://github.com/voidlinux/void-packages/issues/6091 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
6c4de0b5fe
commit
f2896b0e5c
|
@ -0,0 +1,6 @@
|
||||||
|
#
|
||||||
|
Section "Device"
|
||||||
|
Identifier "modeset"
|
||||||
|
Driver "modesetting"
|
||||||
|
Option "AccelMethod" "None"
|
||||||
|
EndSection
|
|
@ -4,7 +4,9 @@ SRC_URI_append_rpi = " \
|
||||||
file://xorg.conf.d/98-pitft.conf \
|
file://xorg.conf.d/98-pitft.conf \
|
||||||
file://xorg.conf.d/99-calibration.conf \
|
file://xorg.conf.d/99-calibration.conf \
|
||||||
"
|
"
|
||||||
|
SRC_URI_append_libc-musl_raspberrypi3-64 = " \
|
||||||
|
file://xorg.conf.d/10-noglamor.conf \
|
||||||
|
"
|
||||||
do_install_append_rpi () {
|
do_install_append_rpi () {
|
||||||
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
||||||
if [ "${PITFT}" = "1" ]; then
|
if [ "${PITFT}" = "1" ]; then
|
||||||
|
@ -13,5 +15,8 @@ do_install_append_rpi () {
|
||||||
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
do_install_append_libc-musl_raspberrypi3-64 () {
|
||||||
|
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||||
|
install -m 0644 ${WORKDIR}/xorg.conf.d/10-noglamor.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
|
||||||
|
}
|
||||||
FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
|
FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user