Only set cma on desktop.sh for sun8i

This commit is contained in:
leeboby
2020-11-27 10:55:50 +08:00
parent 4892644a1e
commit fb1fd091cf

View File

@@ -136,7 +136,7 @@ desktop_postinstall ()
fi
# Compile Turbo Frame buffer for sunxi
if [[ $LINUXFAMILY == sun* && $BRANCH == legacy && $BOARD != orangepizero2 ]]; then
if [[ $LINUXFAMILY == sun8i && $BRANCH == legacy ]]; then
sed 's/name="use_compositing" type="bool" value="true"/name="use_compositing" type="bool" value="false"/' -i "${SDCARD}"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
# enable memory reservations